WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
66254
[CSSRegions] Make regions repaint properly.
https://bugs.webkit.org/show_bug.cgi?id=66254
Summary
[CSSRegions] Make regions repaint properly.
Dave Hyatt
Reported
2011-08-15 14:40:11 PDT
Make sure regions do proper repainting when their content changes.
Attachments
Work in progress (just need tests)
(7.13 KB, patch)
2011-08-15 14:40 PDT
,
Dave Hyatt
no flags
Details
Formatted Diff
Diff
Patch
(322.42 KB, patch)
2011-08-16 11:39 PDT
,
Dave Hyatt
simon.fraser
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Dave Hyatt
Comment 1
2011-08-15 14:40:58 PDT
Created
attachment 103957
[details]
Work in progress (just need tests)
Simon Fraser (smfr)
Comment 2
2011-08-15 14:44:53 PDT
Comment on
attachment 103957
[details]
Work in progress (just need tests) View in context:
https://bugs.webkit.org/attachment.cgi?id=103957&action=review
> Source/WebCore/rendering/RenderView.h:251 > bool m_pageLogicalHeightChanged; > LayoutState* m_layoutState; > unsigned m_layoutStateDisableCount; > + bool m_hasRenderFlowThreads;
Put this next to the other bools to reduce padding.
Mihnea Ovidenie
Comment 3
2011-08-16 10:52:53 PDT
This will likely also fix
https://bugs.webkit.org/show_bug.cgi?id=66199
.
Dave Hyatt
Comment 4
2011-08-16 11:39:25 PDT
Created
attachment 104073
[details]
Patch
Simon Fraser (smfr)
Comment 5
2011-08-16 11:45:42 PDT
Comment on
attachment 104073
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=104073&action=review
> Source/WebCore/rendering/RenderFlowThread.cpp:305 > + // We only have to issue a repaint in this region if the region rect intersects the repaint rect. > + LayoutRect flippedRegionRect(region->regionRect()); > + flipForWritingMode(flippedRegionRect); // Put the region rect into physical coordinates.
Can we assume that the rect will only intersect some contiguous set of regions? That might avoid having to iterate through all regions for each repaint, which is not terribly efficient.
> LayoutTests/platform/mac/fast/repaint/line-flow-with-floats-in-regions-expected.txt:1 > +layer at (0,0) size 800x600
Can the tests avoid the use of so much text, to reduce spurious pixel diffs?
Dave Hyatt
Comment 6
2011-09-23 13:25:01 PDT
Fixed ages ago. Just forgot to close.
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