Title: [139745] trunk
- Revision
- 139745
- Author
- [email protected]
- Date
- 2013-01-15 08:57:55 -0800 (Tue, 15 Jan 2013)
Log Message
[Chromium] Incorrect opaque region tracking for PlatformContextSkia::drawRRect
https://bugs.webkit.org/show_bug.cgi?id=106898
Reviewed by Stephen White.
Source/WebCore:
Since drawRRect() doesn't cover the whole bounding rect, it needs to pass a didDrawBounded
notification down to the opaque region tracker (instead of didDrawRect as it currently
does).
Test: platform/chromium/compositing/rounded-corners.html
* platform/graphics/skia/PlatformContextSkia.h:
(WebCore::PlatformContextSkia::drawRRect):
Source/WebKit/chromium:
* tests/PlatformContextSkiaTest.cpp:
(WebCore::TEST):
(WebCore):
LayoutTests:
* platform/chromium-linux/platform/chromium/compositing/rounded-corners-expected.png: Added.
* platform/chromium-linux/platform/chromium/compositing/rounded-corners-expected.txt: Added.
* platform/chromium/TestExpectations:
* platform/chromium/compositing/rounded-corners.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (139744 => 139745)
--- trunk/LayoutTests/ChangeLog 2013-01-15 16:35:41 UTC (rev 139744)
+++ trunk/LayoutTests/ChangeLog 2013-01-15 16:57:55 UTC (rev 139745)
@@ -1,3 +1,15 @@
+2013-01-15 Florin Malita <[email protected]>
+
+ [Chromium] Incorrect opaque region tracking for PlatformContextSkia::drawRRect
+ https://bugs.webkit.org/show_bug.cgi?id=106898
+
+ Reviewed by Stephen White.
+
+ * platform/chromium-linux/platform/chromium/compositing/rounded-corners-expected.png: Added.
+ * platform/chromium-linux/platform/chromium/compositing/rounded-corners-expected.txt: Added.
+ * platform/chromium/TestExpectations:
+ * platform/chromium/compositing/rounded-corners.html: Added.
+
2013-01-15 Vsevolod Vlasov <[email protected]>
Unreviewed failing test skip.
Modified: trunk/LayoutTests/platform/chromium/TestExpectations (139744 => 139745)
--- trunk/LayoutTests/platform/chromium/TestExpectations 2013-01-15 16:35:41 UTC (rev 139744)
+++ trunk/LayoutTests/platform/chromium/TestExpectations 2013-01-15 16:57:55 UTC (rev 139745)
@@ -4210,6 +4210,9 @@
webkit.org/b/104489 [ Win ] http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_clearMarks.html [ Failure Pass ]
webkit.org/b/104489 [ Win ] http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_measure_associate_with_navigation_timing.html [ Failure Pass ]
+# Needs platform-specific results
+webkit.org/b/106898 platform/chromium/compositing/rounded-corners.html [ Pass Missing ]
+
# Flaky since r136945
webkit.org/b/94002 [ Win Mac Debug ] inspector/debugger/live-edit-breakpoints.html [ Failure Timeout ]
webkit.org/b/94002 [ Mac Debug ] inspector/debugger/live-edit.html [ Crash Pass Timeout ]
Added: trunk/LayoutTests/platform/chromium/compositing/rounded-corners.html (0 => 139745)
--- trunk/LayoutTests/platform/chromium/compositing/rounded-corners.html (rev 0)
+++ trunk/LayoutTests/platform/chromium/compositing/rounded-corners.html 2013-01-15 16:57:55 UTC (rev 139745)
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+<body>
+ <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=106898 -->
+ <div style="width: 200px; height: 200px; background: green; border-radius: 25%; -webkit-transform: translateZ(0);"></div>
+</body>
+</html>
Added: trunk/LayoutTests/platform/chromium-linux/platform/chromium/compositing/rounded-corners-expected.png (0 => 139745)
--- trunk/LayoutTests/platform/chromium-linux/platform/chromium/compositing/rounded-corners-expected.png (rev 0)
+++ trunk/LayoutTests/platform/chromium-linux/platform/chromium/compositing/rounded-corners-expected.png 2013-01-15 16:57:55 UTC (rev 139745)
@@ -0,0 +1,24 @@
+\x89PNG
+
+
+IHDR X ' )tEXtchecksum fb023a73ef30b97adb409d2d5d7b11ae7/ŋ \xAFIDATx\x9C\xEDݿ\x8Fw\xC7\xE1\xC9\xE9$\xB6\xF3P\xB1\x9D\x87n;\x9B\x8At\xBB\xA9\xAE\x8CS]\xB9\xA6J\xBA\xDD\xFC,e\xAA@w\xA90\xE5U1]\xAE\xC2t\xB9
+\xD3\xEDU\xE9\x86Ω\xB8\xC2
+\x8A\xFB˼=^<\xCF#\x8A\x90H\xF8#\xE5+\xF1\xD2g\xBE;\xFE\xE2ݻw 9\xDB\xF4 \xDBF` \x84 , \x800\x81 &\xB0 \xC2 @\x98\xC0 \xFB\xFB\xA6\xF8\xABfѼ\xFC\xEDe\xDD\xD4uS\xCF\xEA\xD9\xF2_.\xBBɱ>[UYUe\xB5\xFC\xE7\x83\xEA`\xF9\xDB\xC1\xADA\xB9Snt. \xD8f_\\x87\x8D\xD6M\xFD\xFC\xF5\xF3Y=\x9B\xD53!Վ\xAA\xAC\xAA\x83\x83\xEA`\xBF\xBF\xFF\xBE\xC0 \x80\x88MV\xDDԏ\xFE\xFBhz:U\x9BU\x95\xD5hott\xF7Hi@\xC4\xABY4O^>\x99\xCC'\xF37\xF3\x96?\x9A\xF3
+w\x87\xE3\xE1\xF8pp\xE8"