Title: [107988] trunk
- Revision
- 107988
- Author
- [email protected]
- Date
- 2012-02-16 15:51:00 -0800 (Thu, 16 Feb 2012)
Log Message
[chromium] Clipping/Transforms applied in wrong order in opaque paint tracking
https://bugs.webkit.org/show_bug.cgi?id=78775
Patch by Dana Jansens <[email protected]> on 2012-02-16
Reviewed by Stephen White.
Source/WebCore:
The clip was being applied in device coordinates, before transforming the painted
rect into device coordinates. This made any translations get doubly represented,
and gave incorrect paint tracking results.
Test: compositing/culling/unscrolled-within-boxshadow.html
Unit test: PlatformContextSkiaTest.cpp
* platform/graphics/skia/OpaqueRegionSkia.cpp:
(WebCore::OpaqueRegionSkia::didDraw):
Source/WebKit/chromium:
* tests/PlatformContextSkiaTest.cpp:
(WebCore::TEST):
LayoutTests:
* compositing/culling/unscrolled-within-boxshadow-expected.png: Added.
* compositing/culling/unscrolled-within-boxshadow-expected.txt: Added.
* compositing/culling/unscrolled-within-boxshadow.html: Added.
* compositing/overflow/clip-content-under-overflow-controls-expected.png:
* compositing/scrollbar-painting-expected.png:
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (107987 => 107988)
--- trunk/LayoutTests/ChangeLog 2012-02-16 23:35:17 UTC (rev 107987)
+++ trunk/LayoutTests/ChangeLog 2012-02-16 23:51:00 UTC (rev 107988)
@@ -1,3 +1,16 @@
+2012-02-16 Dana Jansens <[email protected]>
+
+ [chromium] Clipping/Transforms applied in wrong order in opaque paint tracking
+ https://bugs.webkit.org/show_bug.cgi?id=78775
+
+ Reviewed by Stephen White.
+
+ * compositing/culling/unscrolled-within-boxshadow-expected.png: Added.
+ * compositing/culling/unscrolled-within-boxshadow-expected.txt: Added.
+ * compositing/culling/unscrolled-within-boxshadow.html: Added.
+ * compositing/overflow/clip-content-under-overflow-controls-expected.png:
+ * compositing/scrollbar-painting-expected.png:
+
2012-02-16 Abhishek Arya <[email protected]>
Crash with tables in multi-column layout.
Added: trunk/LayoutTests/compositing/culling/unscrolled-within-boxshadow-expected.png (0 => 107988)
--- trunk/LayoutTests/compositing/culling/unscrolled-within-boxshadow-expected.png (rev 0)
+++ trunk/LayoutTests/compositing/culling/unscrolled-within-boxshadow-expected.png 2012-02-16 23:51:00 UTC (rev 107988)
@@ -0,0 +1,8 @@
+\x89PNG
+
+
+IHDR X ' )tEXtchecksum 1964d3ffa0c02063db457594afb2073aR\x8C)
+\x88IDATx\x9C\xEDܱn\xDBh@Q\x92cÁ\x81q\xDEg\xBA\xA9\xF7a\xB7\x9En\xDE'`$\x90#\x89܂A\xBAF\xDA\xEBU<8\xA7\xFA\xF8*\xE3\xE2\xE3O\x8E\xEB\xBA t\xA6[ \xF0O#\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b &\xB0 b\xFB\xEB~\xB6\xEB0\xEB\xBA\xFE<\x94Cp#\xE38\xC30\xE3\xCFí'\x82w\xE9\x9A\xC0Z\x87uY\x97e]\xCE\xEBy;\xAC[k\xF0\x9E\x8D\xE38\xE34N\xD38\xED\xC6\xDDv\xD0Xp\x85\x8Bk\xD6\xF3r>\xAD\xA7\xE3r\xFC~\xFE~\\x8E\xC7\xE5\xB8˲.o1 \xFF7\xD38M\xC34O\xF3<\xCDv\xE6iޏ\xFBݴ\xD3Xp\xA9\xCBk\xDB]\x9D\xD6\xD3\xE1|\xF8v\xFA\xF6\xF5\xF8\xF5\xDB\xE9\xDB\xE1|8.\xC7\xF3z\xB6\xC4x\xBF\xC6q܍\xBBy\x9A\xEFw\xF7\xFB\x87\x8F\xF3LJ\xFD\xC3\xFD\xEE~\G{,\xB8\xD4\xC5\xACe]\x8E\xCB\xF1\xDB\xE9ۗ\xD7/\x9F_??\xBF>\xBF_\xE7\xC3i9Yb\xBC_\xD38\xED\xA7\xFD\xFD\xEE\xFEq~|\xBA{\xFA\xB4|\x86a7\xEE\xB6g\x85\xB7\x9Eޙ7X\xEBz^\xCF\xDF\xCF߿\xBF~~\xFD\xFC\xFB\xBF\xA3\xB1 \xB8\xAD\xBF\xFE\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xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @L` \xC4 @\xEC\xCA\xC0\xC7q\xC5\xC0?\xD64N\xE38\xDEz
+x\xAF.\x8E\xA4-\xADv\xE3n?\xED\xDFb ~\xFBi\xBFw2\xAEsY`\x8D\xE38\xE34L\xF34\xDF\xEF\xEE\xDFh&