Bug 1265715 - Part 5. bg-clip:text transform reftest; draft
authorCJKu <cku@mozilla.com>
Tue, 26 Apr 2016 00:27:15 +0800
changeset 356097 d219839d290c6557f2087832d918799f150719b4
parent 356096 166ad560441e1f4439cfcd25b08dd71dfff36171
child 519327 04ce109cb4e6de6bdecfb2fe9a47a005fe306e58
push id16433
push usercku@mozilla.com
push dateMon, 25 Apr 2016 16:28:06 +0000
bugs1265715
milestone48.0a1
Bug 1265715 - Part 5. bg-clip:text transform reftest; MozReview-Commit-ID: BYswWA9fH2F
layout/reftests/backgrounds/background-clip-text-1e.html
layout/reftests/backgrounds/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/backgrounds/background-clip-text-1e.html
@@ -0,0 +1,31 @@
+<!doctype HTML>
+<html>
+  <head>
+    <title>background-clip: text</title>
+    <style>
+      body {
+        transform: scale(1, 0.5);
+      }
+      div.out {
+        width: 500px;
+        height: 300px;
+        margin: 0px;
+        background-image: linear-gradient(green, green);
+        background-clip: text;
+        color: transparent;
+        font-size: 100px;
+        font-family: serif;
+        position: absolute;
+        left: 100px;
+        top: 100px;
+        transform: translate(-100px, 50px) scale(1, 2);
+      }
+    </style>
+  </head>
+  <body style="margin: 0px;">
+    <div class="out">
+      TEXT clip
+      <div style="display:inline-block; width:0px; height:200px;"/>
+    </div>
+  </body>
+</html>
--- a/layout/reftests/backgrounds/reftest.list
+++ b/layout/reftests/backgrounds/reftest.list
@@ -165,9 +165,10 @@ fuzzy-if(skiaContent,1,8) == background-
 == background-repeat-large-area.html background-repeat-large-area-ref.html
 
 fuzzy(30,474) fuzzy-if(skiaContent,31,474) == background-tiling-zoom-1.html background-tiling-zoom-1-ref.html
 
 pref(layout.css.background-clip-text.enabled,true) fuzzy-if(winWidget,1,44) == background-clip-text-1a.html background-clip-text-1-ref.html
 pref(layout.css.background-clip-text.enabled,true) fuzzy-if(winWidget,1,44) == background-clip-text-1b.html background-clip-text-1-ref.html
 pref(layout.css.background-clip-text.enabled,true) fuzzy-if(winWidget,1,44) == background-clip-text-1c.html background-clip-text-1-ref.html
 pref(layout.css.background-clip-text.enabled,true) fuzzy-if(winWidget,1,44) == background-clip-text-1d.html background-clip-text-1-ref.html
+pref(layout.css.background-clip-text.enabled,true) fuzzy-if(winWidget,1,44) == background-clip-text-1e.html background-clip-text-1-ref.html
 pref(layout.css.background-clip-text.enabled,false) != background-clip-text-1a.html background-clip-text-1-ref.html