Title: [104543] trunk/LayoutTests
- Revision
- 104543
- Author
- [email protected]
- Date
- 2012-01-10 02:21:29 -0800 (Tue, 10 Jan 2012)
Log Message
block mask overlay test for CSS3 calc
https://bugs.webkit.org/show_bug.cgi?id=75896
Reviewed by Ryosuke Niwa.
Tests for future implementation of CSS3 calc() (see http://webkit.org/b/16662)
These tests are expected to 'fail', and will pass once calc() functionality is landed.
For now, they serve to demonstrate that the current code doesn't crash on these tests.
* css3/calc/block-mask-overlay-image-outset-expected-mismatch.html: Added.
* css3/calc/block-mask-overlay-image-outset.html: Added.
* css3/calc/resources/mask.png: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (104542 => 104543)
--- trunk/LayoutTests/ChangeLog 2012-01-10 10:13:02 UTC (rev 104542)
+++ trunk/LayoutTests/ChangeLog 2012-01-10 10:21:29 UTC (rev 104543)
@@ -1,3 +1,19 @@
+2012-01-10 Mike Lawther <[email protected]>
+
+ block mask overlay test for CSS3 calc
+ https://bugs.webkit.org/show_bug.cgi?id=75896
+
+ Reviewed by Ryosuke Niwa.
+
+ Tests for future implementation of CSS3 calc() (see http://webkit.org/b/16662)
+
+ These tests are expected to 'fail', and will pass once calc() functionality is landed.
+ For now, they serve to demonstrate that the current code doesn't crash on these tests.
+
+ * css3/calc/block-mask-overlay-image-outset-expected-mismatch.html: Added.
+ * css3/calc/block-mask-overlay-image-outset.html: Added.
+ * css3/calc/resources/mask.png: Added.
+
2012-01-10 Kenichi Ishibashi <[email protected]>
WebFonts are re-fetched from the server upon Document::styleSelectorChanged call.
Added: trunk/LayoutTests/css3/calc/block-mask-overlay-image-outset-expected-mismatch.html (0 => 104543)
--- trunk/LayoutTests/css3/calc/block-mask-overlay-image-outset-expected-mismatch.html (rev 0)
+++ trunk/LayoutTests/css3/calc/block-mask-overlay-image-outset-expected-mismatch.html 2012-01-10 10:21:29 UTC (rev 104543)
@@ -0,0 +1,15 @@
+<DOCTYPE html>
+<style>
+ .blockTest {
+ margin: 25px;
+ padding: 50px;
+ color: white;
+ background-color: maroon;
+ -webkit-mask-box-image: url(resources/mask.png) 75 75 75 75 / auto / 100px 0;
+ }
+</style>
+<body>
+ <div class="blockTest" style="height: 0px">
+ <div style="height: 400px; background-color: grey">This content should be masked with a soft glow.</div>
+ </div>
+</body>
Added: trunk/LayoutTests/css3/calc/block-mask-overlay-image-outset.html (0 => 104543)
--- trunk/LayoutTests/css3/calc/block-mask-overlay-image-outset.html (rev 0)
+++ trunk/LayoutTests/css3/calc/block-mask-overlay-image-outset.html 2012-01-10 10:21:29 UTC (rev 104543)
@@ -0,0 +1,15 @@
+<DOCTYPE html>
+<style>
+ .blockTest {
+ margin: 25px;
+ padding: 50px;
+ color: white;
+ background-color: maroon;
+ -webkit-mask-box-image: url(resources/mask.png) 75 75 75 75 / auto / -webkit-calc(100px) 0;
+ }
+</style>
+<body>
+ <div class="blockTest" style="height: 0px">
+ <div style="height: 400px; background-color: grey">This content should be masked with a soft glow.</div>
+ </div>
+</body>
Added: trunk/LayoutTests/css3/calc/resources/mask.png (0 => 104543)
--- trunk/LayoutTests/css3/calc/resources/mask.png (rev 0)
+++ trunk/LayoutTests/css3/calc/resources/mask.png 2012-01-10 10:21:29 UTC (rev 104543)
@@ -0,0 +1,64 @@
+\x89PNG
+
+
+IHDR \xA5 \xA3 A{L KiCCPICC Profile x\x9C\x95Wy4\xD5\xDD\xD7\xDF\xDF{\xAF{\x8D\xD7<O\xD7%\x99\xC7W2\xCF"\xE1\xBA\xE6\xB9{\xCD!\xF1\xA4\xCCC4Ȑ\xA9\x90")\x89
+IR\xC64H\xA2\x92T\xC8\x99\xC2}\xFF\xA0\x9Ew\xBD\xCF\xFA\xAD\xDFz\xF7g}\xCE\xE7\xEC}\xF6\xE7\xECs\xD6:k\xB0\x91BCQ F\xB19\xA0O8\xE4\xE4L\xC0\xBD40'\x80\x89D\xA6\x86\xEAYY\x99\xC1\xB4\xA5\x97\x80 <\x97'\x85\x86\x9Bt \xC0\xE5,\xB9p̟6\xF8\xCFq \x80\xA7rr@\xE4 \x80\xCBg\xEF .\x8F-l \\x91a\xA1a \x88/ p\x91}I\x9E H, \xC8Q\xECl \x90* \xC0\xFBl\xE1; \x80\xF7\xD8\xC2\xDD \x80\x8F \xFB\x84 \xAF\xB0\xC1\x9E~\xC1 \xB8 \xAC\x8E\xA7\x95\x80\x97 OO*9 \x9F
+\x80\xD2
+
+\xF1` \x80\x9D\xE4PJ \xDB
+ Hrr&lIv\x8FPg\xA0k\xFD\x87\xA1 Ի\xA5\xFC\xC3IM\xF0\xD4ԏ\xFF\xC3-\xD8 O?\xD5{\x9F"