Title: [164946] trunk/LayoutTests
Revision
164946
Author
[email protected]
Date
2014-03-02 11:52:16 -0800 (Sun, 02 Mar 2014)

Log Message

Reactivate SVG mask-type tests for Mac
https://bugs.webkit.org/show_bug.cgi?id=129577

Reviewed by Darin Adler.

Reduce mask-type tests to the minimum to test the feature.

* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:
* svg/masking/mask-type-alpha-expected.svg:
* svg/masking/mask-type-alpha.svg:
* svg/masking/mask-type-luminance-expected.svg:
* svg/masking/mask-type-luminance.svg:
* svg/masking/mask-type-not-set-expected.svg:
* svg/masking/mask-type-not-set.svg:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (164945 => 164946)


--- trunk/LayoutTests/ChangeLog	2014-03-02 19:36:12 UTC (rev 164945)
+++ trunk/LayoutTests/ChangeLog	2014-03-02 19:52:16 UTC (rev 164946)
@@ -1,5 +1,23 @@
 2014-03-02  Dirk Schulze  <[email protected]>
 
+        Reactivate SVG mask-type tests for Mac
+        https://bugs.webkit.org/show_bug.cgi?id=129577
+
+        Reviewed by Darin Adler.
+
+        Reduce mask-type tests to the minimum to test the feature.
+
+        * platform/mac-wk2/TestExpectations:
+        * platform/mac/TestExpectations:
+        * svg/masking/mask-type-alpha-expected.svg:
+        * svg/masking/mask-type-alpha.svg:
+        * svg/masking/mask-type-luminance-expected.svg:
+        * svg/masking/mask-type-luminance.svg:
+        * svg/masking/mask-type-not-set-expected.svg:
+        * svg/masking/mask-type-not-set.svg:
+
+2014-03-02  Dirk Schulze  <[email protected]>
+
         Remove path to non-existent SVG clip-path test from TestExpectations
         https://bugs.webkit.org/show_bug.cgi?id=129574
 

Modified: trunk/LayoutTests/platform/mac/TestExpectations (164945 => 164946)


--- trunk/LayoutTests/platform/mac/TestExpectations	2014-03-02 19:36:12 UTC (rev 164945)
+++ trunk/LayoutTests/platform/mac/TestExpectations	2014-03-02 19:52:16 UTC (rev 164946)
@@ -1215,8 +1215,6 @@
 webkit.org/b/123369 svg/css/root-shadow-offscreen.svg [ ImageOnlyFailure ]
 webkit.org/b/123369 [ MountainLion ] svg/css/root-shadow-offscreen.svg [ Pass ]
 webkit.org/b/123369 [ Mavericks ] svg/filters/feSpecularLight-premultiplied.svg [ ImageOnlyFailure ]
-webkit.org/b/123369 [ Mavericks ] svg/masking/mask-type-luminance.svg [ ImageOnlyFailure ]
-webkit.org/b/123369 [ Mavericks ] svg/masking/mask-type-not-set.svg [ ImageOnlyFailure ]
 webkit.org/b/123369 [ Mavericks ] svg/repaint/buffered-rendering-static-image.html [ ImageOnlyFailure ]
 
 webkit.org/b/123489 [ Mavericks ] inspector-protocol/debugger/call-frame-this-strict.html [ Pass Failure ]

Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (164945 => 164946)


--- trunk/LayoutTests/platform/mac-wk2/TestExpectations	2014-03-02 19:36:12 UTC (rev 164945)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations	2014-03-02 19:52:16 UTC (rev 164946)
@@ -331,8 +331,6 @@
 # Color space issues from switching to tiled drawing.
 webkit.org/b/122234 fast/css/computed-image-width-with-percent-height.html [ ImageOnlyFailure ]
 webkit.org/b/122234 svg/filters/color-space-conversion.svg  [ ImageOnlyFailure ]
-webkit.org/b/122234 svg/masking/mask-type-luminance.svg  [ ImageOnlyFailure ]
-webkit.org/b/122234 svg/masking/mask-type-not-set.svg  [ ImageOnlyFailure ]
 webkit.org/b/122234 svg/filters/feSpecularLight-premultiplied.svg [ ImageOnlyFailure ]
 webkit.org/b/122234 svg/filters/filter-cycle.html [ ImageOnlyFailure ]
 webkit.org/b/122234 css3/filters/null-effect-check.html [ ImageOnlyFailure ]

Modified: trunk/LayoutTests/svg/masking/mask-type-alpha-expected.svg (164945 => 164946)


--- trunk/LayoutTests/svg/masking/mask-type-alpha-expected.svg	2014-03-02 19:36:12 UTC (rev 164945)
+++ trunk/LayoutTests/svg/masking/mask-type-alpha-expected.svg	2014-03-02 19:52:16 UTC (rev 164946)
@@ -1,4 +1,3 @@
 <svg xmlns="http://www.w3.org/2000/svg">
-    <rect width="100" height="100" fill="green"/>
-    <rect x="100" y="100" width="100" height="100" fill="green"/>
+<rect x="50" y="50" width="100" height="100" fill="green"/>
 </svg>

Modified: trunk/LayoutTests/svg/masking/mask-type-alpha.svg (164945 => 164946)


--- trunk/LayoutTests/svg/masking/mask-type-alpha.svg	2014-03-02 19:36:12 UTC (rev 164945)
+++ trunk/LayoutTests/svg/masking/mask-type-alpha.svg	2014-03-02 19:52:16 UTC (rev 164946)
@@ -1,10 +1,7 @@
 <svg xmlns="http://www.w3.org/2000/svg">
-<defs>
-        <mask id="mask" mask-type="alpha">
-                <rect width="200" height="200" fill="black" opacity="0"/>
-                <rect width="100" height="100" fill="black"/>
-                <rect x="100" y="100" width="100" height="100" fill="black"/>
-        </mask>
-</defs>
+<mask id="mask" mask-type="alpha">
+    <rect width="200" height="200" fill="black" opacity="0"/>
+    <rect x="50" y="50" width="100" height="100" fill="black"/>
+</mask>
 <rect width="200" height="200" fill="green" mask="url(#mask)"/>
 </svg>

Modified: trunk/LayoutTests/svg/masking/mask-type-luminance-expected.svg (164945 => 164946)


--- trunk/LayoutTests/svg/masking/mask-type-luminance-expected.svg	2014-03-02 19:36:12 UTC (rev 164945)
+++ trunk/LayoutTests/svg/masking/mask-type-luminance-expected.svg	2014-03-02 19:52:16 UTC (rev 164946)
@@ -1,4 +1,3 @@
 <svg xmlns="http://www.w3.org/2000/svg">
-    <rect width="100" height="100" fill="#7FFF7F"/>
-    <rect x="100" y="100" width="100" height="100" fill="#7FFF7F"/>
+<rect x="50" y="50" width="100" height="100" fill="green"/>
 </svg>

Modified: trunk/LayoutTests/svg/masking/mask-type-luminance.svg (164945 => 164946)


--- trunk/LayoutTests/svg/masking/mask-type-luminance.svg	2014-03-02 19:36:12 UTC (rev 164945)
+++ trunk/LayoutTests/svg/masking/mask-type-luminance.svg	2014-03-02 19:52:16 UTC (rev 164946)
@@ -1,11 +1,7 @@
 <svg xmlns="http://www.w3.org/2000/svg">
-<defs>
-        <mask id="mask" mask-type="luminance">
-                <rect width="200" height="200" fill="black"/>
-                <!-- rgb #808080 yields a 50% luminance -> 50% output color -->
-                <rect width="100" height="100" fill="#808080"/>
-                <rect x="100" y="100" width="100" height="100" fill="#808080"/>
-        </mask>
-</defs>
-<rect width="200" height="200" fill="#00ff00" mask="url(#mask)"/>
+<mask id="mask" mask-type="luminance">
+    <rect width="200" height="200" fill="black"/>
+    <rect x="50" y="50" width="100" height="100" fill="white"/>
+</mask>
+<rect width="200" height="200" fill="green" mask="url(#mask)"/>
 </svg>

Modified: trunk/LayoutTests/svg/masking/mask-type-not-set-expected.svg (164945 => 164946)


--- trunk/LayoutTests/svg/masking/mask-type-not-set-expected.svg	2014-03-02 19:36:12 UTC (rev 164945)
+++ trunk/LayoutTests/svg/masking/mask-type-not-set-expected.svg	2014-03-02 19:52:16 UTC (rev 164946)
@@ -1,4 +1,3 @@
 <svg xmlns="http://www.w3.org/2000/svg">
-    <rect width="100" height="100" fill="#7FFF7F"/>
-    <rect x="100" y="100" width="100" height="100" fill="#7FFF7F"/>
+<rect x="50" y="50" width="100" height="100" fill="green"/>
 </svg>

Modified: trunk/LayoutTests/svg/masking/mask-type-not-set.svg (164945 => 164946)


--- trunk/LayoutTests/svg/masking/mask-type-not-set.svg	2014-03-02 19:36:12 UTC (rev 164945)
+++ trunk/LayoutTests/svg/masking/mask-type-not-set.svg	2014-03-02 19:52:16 UTC (rev 164946)
@@ -1,11 +1,7 @@
 <svg xmlns="http://www.w3.org/2000/svg">
-<defs>
-        <mask id="mask">
-                <rect width="200" height="200" fill="black"/>
-                <!-- rgb #808080 yields a 50% luminance -> 50% output color -->
-                <rect width="100" height="100" fill="#808080"/>
-                <rect x="100" y="100" width="100" height="100" fill="#808080"/>
-        </mask>
-</defs>
-<rect width="200" height="200" fill="#00FF00" mask="url(#mask)"/>
+<mask id="mask">
+    <rect width="200" height="200" fill="black"/>
+    <rect x="50" y="50" width="100" height="100" fill="white"/>
+</mask>
+<rect width="200" height="200" fill="green" mask="url(#mask)"/>
 </svg>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to