Changeset 169120 in webkit
- Timestamp:
- May 20, 2014 10:38:04 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r169118 r169120 1 2014-05-20 Radu Stavila <stavila@adobe.com> 2 3 REGRESSION: [CSS Regions] Content flowed directly into the flow thread that ends up in the second region is not properly repainted 4 https://bugs.webkit.org/show_bug.cgi?id=133111 5 6 Reviewed by David Hyatt. 7 8 Added test for the correct repaint of an element flowed directly into the second region of a flow thread. 9 10 * fast/regions/hover-element-flowed-second-region-expected.html: Added. 11 * fast/regions/hover-element-flowed-second-region.html: Added. 12 1 13 2014-05-20 Prashant Hiremath <hiremathprashants@gmail.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r169119 r169120 1 2014-05-20 Radu Stavila <stavila@adobe.com> 2 3 REGRESSION: [CSS Regions] Content flowed directly into the flow thread that ends up in the second region is not properly repainted 4 https://bugs.webkit.org/show_bug.cgi?id=133111 5 6 Reviewed by David Hyatt. 7 8 When computing the repaint rect of an element flowed into a flow thread, if the element is flowed directly into 9 the flow thread (meaning its containing block is the flow thread itself), the region's position within the flow 10 must no longer be taken into consideration, because its already included in the element's |topLeft|. 11 12 Test: fast/regions/hover-element-flowed-second-region.html 13 14 * rendering/RenderBox.cpp: 15 (WebCore::RenderBox::computeRectForRepaint): 16 1 17 2014-05-20 Alex Christensen <achristensen@webkit.org> 2 18 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r168993 r169120 2141 2141 // the regions so adding this here and then adding the topLeft again would cause 2142 2142 // us to add the height twice. 2143 if (o->isOutOfFlowRenderFlowThread() && position != AbsolutePosition) { 2143 // The same logic applies for elements flowed directly into the flow thread. Their topLeft member 2144 // will already contain the portion rect of the region. 2145 if (o->isOutOfFlowRenderFlowThread() && position != AbsolutePosition && containingBlock() != flowThreadContainingBlock()) { 2144 2146 RenderRegion* firstRegion = nullptr; 2145 2147 RenderRegion* lastRegion = nullptr;
Note: See TracChangeset
for help on using the changeset viewer.