Clean up css3/filters/backdrop/dynamic-with-clip-path.html
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Feb 2017 20:21:58 +0000 (20:21 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Feb 2017 20:21:58 +0000 (20:21 +0000)
This test used a clip-path that was entirely outside the element, making it confusing.
Move the clipping circle to the center.

* css3/filters/backdrop/dynamic-with-clip-path-expected.html:
* css3/filters/backdrop/dynamic-with-clip-path.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211581 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/css3/filters/backdrop/dynamic-with-clip-path-expected.html
LayoutTests/css3/filters/backdrop/dynamic-with-clip-path.html

index 801d7dc..52de7c2 100644 (file)
@@ -1,3 +1,13 @@
+2017-02-02  Simon Fraser  <simon.fraser@apple.com>
+
+        Clean up css3/filters/backdrop/dynamic-with-clip-path.html
+
+        This test used a clip-path that was entirely outside the element, making it confusing.
+        Move the clipping circle to the center.
+
+        * css3/filters/backdrop/dynamic-with-clip-path-expected.html:
+        * css3/filters/backdrop/dynamic-with-clip-path.html:
+
 2017-02-02  Ryan Haddad  <ryanhaddad@apple.com>
 
         Marking http/tests/inspector/worker/blob-script-with-cross-domain-imported-scripts.html as flaky.
index 2f1e716..6f5bfc8 100644 (file)
@@ -7,12 +7,12 @@
         background-color: green;
     }
     #filter {
-            position: absolute;
-            width: 200px;
-            height: 200px;
-            transform: translatez(0);
-            -webkit-clip-path: circle(25px at 225px);
-            -webkit-backdrop-filter: invert();
+        position: absolute;
+        width: 200px;
+        height: 200px;
+        transform: translateZ(0);
+        -webkit-clip-path: circle(80px at 100px);
+        -webkit-backdrop-filter: invert();
     }
 </style>
 <div id="box"></div>
index 65cd0e9..d9b9f9f 100644 (file)
@@ -10,8 +10,8 @@
         position: absolute;
         width: 200px;
         height: 200px;
-        transform: translatez(0);
-        -webkit-clip-path: circle(25px at 225px);
+        transform: translateZ(0);
+        -webkit-clip-path: circle(80px at 100px);
     }
     .backdrop {
         -webkit-backdrop-filter: invert();