Title: [246959] trunk/LayoutTests
Revision
246959
Author
[email protected]
Date
2019-06-30 19:30:40 -0700 (Sun, 30 Jun 2019)

Log Message

LayoutTests svg/clip-path/clip-hidpi.svg isn't working as expected due to a syntax error
https://bugs.webkit.org/show_bug.cgi?id=199313

Reviewed by Carlos Garcia Campos.

* svg/clip-path/clip-hidpi.svg: Fix the syntax error by replacing '->' with '=>'.
Call testRunner.waitUntilDone() before testRunner.notifyDone().
* svg/clip-path/clip-hidpi-expected.svg: Call testRunner.setBackingScaleFactor().

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (246958 => 246959)


--- trunk/LayoutTests/ChangeLog	2019-07-01 01:21:17 UTC (rev 246958)
+++ trunk/LayoutTests/ChangeLog	2019-07-01 02:30:40 UTC (rev 246959)
@@ -1,3 +1,14 @@
+2019-06-30  Fujii Hironori  <[email protected]>
+
+        LayoutTests svg/clip-path/clip-hidpi.svg isn't working as expected due to a syntax error
+        https://bugs.webkit.org/show_bug.cgi?id=199313
+
+        Reviewed by Carlos Garcia Campos.
+
+        * svg/clip-path/clip-hidpi.svg: Fix the syntax error by replacing '->' with '=>'.
+        Call testRunner.waitUntilDone() before testRunner.notifyDone().
+        * svg/clip-path/clip-hidpi-expected.svg: Call testRunner.setBackingScaleFactor().
+
 2019-06-30  Andres Gonzalez  <[email protected]>
 
         Enhance support of aria-haspopup per ARIA 1.1 specification.

Modified: trunk/LayoutTests/svg/clip-path/clip-hidpi-expected.svg (246958 => 246959)


--- trunk/LayoutTests/svg/clip-path/clip-hidpi-expected.svg	2019-07-01 01:21:17 UTC (rev 246958)
+++ trunk/LayoutTests/svg/clip-path/clip-hidpi-expected.svg	2019-07-01 02:30:40 UTC (rev 246959)
@@ -1,18 +1,15 @@
 <svg xmlns="http://www.w3.org/2000/svg">
-<!-- The FO should be clipped with only the green half visible. -->
-<defs>
-<clipPath id="clip">
-    <rect width="200" height="50"/>
-    <rect width="200" height="50"/>
-</clipPath>
-</defs>
-<foreignObject width="200" height="100" clip-path="url(#clip)" opacity=".5">
+<foreignObject width="200" height="100" opacity=".5">
     <html xmlns="http://www.w3.org/1999/xhtml">
     <body>
         <div style="background: green; height: 50px;"></div>
-        <div style="background: red; height: 50px;"></div>
     </body>
     </html>
 </foreignObject>
+<script>
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.setBackingScaleFactor(2, () => { testRunner.notifyDone() });
+}
+</script>
 </svg>
-

Modified: trunk/LayoutTests/svg/clip-path/clip-hidpi.svg (246958 => 246959)


--- trunk/LayoutTests/svg/clip-path/clip-hidpi.svg	2019-07-01 01:21:17 UTC (rev 246958)
+++ trunk/LayoutTests/svg/clip-path/clip-hidpi.svg	2019-07-01 02:30:40 UTC (rev 246959)
@@ -15,8 +15,10 @@
     </html>
 </foreignObject>
 <script>
-  testRunner.setBackingScaleFactor(2, () -> { testRunner.notifyDone() });
-  testRunner.waitUntilDone();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.setBackingScaleFactor(2, () => { testRunner.notifyDone() });
+}
 </script>
 </svg>
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to