Changeset 118612 in webkit
- Timestamp:
- May 26, 2012, 1:15:56 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/layers/clip-rects-assertion-expected.txt (added)
-
LayoutTests/fast/layers/clip-rects-assertion.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderLayer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r118609 r118612 1 2012-05-26 Simon Fraser <simon.fraser@apple.com> 2 3 Clip rects assertion when hovering div with transform 4 https://bugs.webkit.org/show_bug.cgi?id=87580 5 6 Reviewed by Eric Seidel. 7 8 Test that changes transform on hover style, testing for clipRect-related 9 assertions. 10 11 * fast/layers/clip-rects-assertion-expected.txt: Added. 12 * fast/layers/clip-rects-assertion.html: Added. 13 1 14 2012-05-26 Rob Buis <rwlbuis@webkit.org> 2 15 -
trunk/Source/WebCore/ChangeLog
r118611 r118612 1 2012-05-26 Simon Fraser <simon.fraser@apple.com> 2 3 Clip rects assertion when hovering div with transform 4 https://bugs.webkit.org/show_bug.cgi?id=87580 5 6 Reviewed by Eric Seidel. 7 8 Hit testing used to use temporary clip rects in composited documents, 9 until r118562. Now that we cache clip rects for hit testing, we need 10 to clear the cache on descendant layers when a layer gains or loses 11 a transform. 12 13 Test: fast/layers/clip-rects-assertion.html 14 15 * rendering/RenderLayer.cpp: 16 (WebCore::RenderLayer::updateTransform): 17 1 18 2012-05-25 Dan Bernstein <mitz@apple.com> 2 19 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r118562 r118612 509 509 else 510 510 m_transform.clear(); 511 512 // Layers with transforms act as clip rects roots, so clear the cached clip rects here. 513 clearClipRectsIncludingDescendants(); 511 514 } 512 515
Note:
See TracChangeset
for help on using the changeset viewer.