WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
23220
Roll layoutDelta into layoutState
https://bugs.webkit.org/show_bug.cgi?id=23220
Summary
Roll layoutDelta into layoutState
Simon Fraser (smfr)
Reported
2009-01-09 16:55:31 PST
RenderView has the notion of "layoutDelta", which is an offset applied to repaint rects to account for objects which have been moved or resized during layout. RenderView also maintains a LayoutState stack, which is a stack of cached offsets and clip rects used to optimize repainting. layoutDelta should be merged with LayoutState. We'd have to figure out what it means to disable layoutState though.
Attachments
Patch, changelog
(18.92 KB, patch)
2009-01-12 12:09 PST
,
Simon Fraser (smfr)
mitz: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2009-01-12 12:09:15 PST
Created
attachment 26639
[details]
Patch, changelog
mitz
Comment 2
2009-01-12 12:19:56 PST
Comment on
attachment 26639
[details]
Patch, changelog
> + RenderView* v; > + if ((v = view()) && v->layoutStateEnabled()) {
Even though it increases the maximum indentation, I am not sure I like this change, because it moves v outside the scope of the if statement. r=me
Simon Fraser (smfr)
Comment 3
2009-01-12 13:42:57 PST
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/rendering/LayoutState.cpp M WebCore/rendering/LayoutState.h M WebCore/rendering/RenderBlock.cpp M WebCore/rendering/RenderBox.cpp M WebCore/rendering/RenderFlexibleBox.cpp M WebCore/rendering/RenderFlow.cpp M WebCore/rendering/RenderLayer.cpp M WebCore/rendering/RenderTableCell.cpp M WebCore/rendering/RenderView.cpp M WebCore/rendering/RenderView.h M WebCore/rendering/bidi.cpp Committed
r39834
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug