Bug 971720 - Add tests. r=roc, a=lsblakk
authorMatt Woodrow <mwoodrow@mozilla.com>
Sat, 01 Mar 2014 08:52:57 +1300
changeset 176445 4371d42a8b3199470c808d2e4420f36da547923f
parent 176444 dcc1d457658ab157feda6a23c2aec2ac83101f66
child 176446 516f5599024db62f0d8fa0238a9ded3e64f57d97
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc, lsblakk
bugs971720
milestone28.0
Bug 971720 - Add tests. r=roc, a=lsblakk
layout/reftests/border-radius/clipping-6-ref.html
layout/reftests/border-radius/clipping-6.html
layout/reftests/border-radius/clipping-7-ref.html
layout/reftests/border-radius/clipping-7.html
layout/reftests/border-radius/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/border-radius/clipping-6-ref.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+</head>
+<body>
+    <div style="overflow:hidden; border-radius:25px; border:3px solid #f00; padding:1px; height:180px;">
+        <div style="transform: perspective(1px)">
+            <div style="height:100px; width:100px; background-color:lime"></div>
+            <div style="height:100px; width: 50px; background-color:red; position:relative; top: -20px;">Hi</div>
+        </div>
+    </div>
+    <div
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/border-radius/clipping-6.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+</head>
+<body>
+    <div style="overflow:hidden; border-radius:25px; border:3px solid #f00; padding:1px; height:180px;">
+        <div style="height:100px; width:100px; transform:perspective(1px); background-color:lime"></div>
+        <div style="height:100px; width: 50px; background-color:red; position:relative; top: -20px;">Hi</div>
+    </div>
+    <div
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/border-radius/clipping-7-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+</head>
+<body>
+    <div style="overflow:hidden; border-radius:25px; border:3px solid #f00; padding:1px; height:180px;">
+        <div style="height:100px; width:100px; background-color:lime"></div>
+        <div style="height:100px; width: 50px; background-color:red; position:relative; top: -20px;"></div>
+    </div>
+    <div
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/border-radius/clipping-7.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+</head>
+<body>
+    <div style="overflow:hidden; border-radius:25px; border:3px solid #f00; padding:1px; height:180px;">
+        <div style="height:100px; width:100px; transform:perspective(1px); background-color:lime"></div>
+        <div style="height:100px; width: 50px; background-color:red; position:relative; top: -20px;"></div>
+    </div>
+    <div
+</body>
+</html>
--- a/layout/reftests/border-radius/reftest.list
+++ b/layout/reftests/border-radius/reftest.list
@@ -44,16 +44,18 @@ fuzzy-if(Android&&AndroidVersion<15,9,73
 fuzzy-if(true,1,20) fuzzy-if(cocoaWidget,1,180) fuzzy-if(Android&&browserIsRemote,7,169) fuzzy-if(Android&&!browserIsRemote,140,237) == clipping-4-canvas.html clipping-4-ref.html # bug 732535
 fuzzy-if(Android,5,54) fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,10) == clipping-4-image.html clipping-4-ref.html
 fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,10) == clipping-4-overflow-hidden.html clipping-4-ref.html
 == clipping-5-canvas.html clipping-5-refc.html
 fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,5) == clipping-5-image.html clipping-5-refi.html
 fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,5) == clipping-5-overflow-hidden.html clipping-5-ref.html
 fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,5) fuzzy-if(Android,5,21) == clipping-5-refi.html clipping-5-ref.html
 fuzzy-if(true,1,7) fuzzy-if(cocoaWidget,1,99) fuzzy-if(Android&&browserIsRemote,7,89) fuzzy-if(Android&&!browserIsRemote,99,115) == clipping-5-refc.html clipping-5-ref.html # bug 732535
+fuzzy-if(winWidget,105,71) fuzzy-if(Android,8,464) == clipping-6.html clipping-6-ref.html # ThebesLayer and MaskLayer with transforms that aren't identical
+fuzzy-if(true,1,29) fuzzy-if(Android&&AndroidVersion<15,12,81) fuzzy-if(Android&&AndroidVersion>=15,255,586) == clipping-7.html clipping-7-ref.html # ColorLayer and MaskLayer with transforms that aren't identical. Reference image rendered without using layers (which causes fuzzy failures).
 fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,5) == clipping-and-zindex-1.html clipping-and-zindex-1-ref.html
 fuzzy-if(cocoaWidget,1,4) == intersecting-clipping-1-canvas.html intersecting-clipping-1-refc.html
 == intersecting-clipping-1-image.html intersecting-clipping-1-refi.html
 == intersecting-clipping-1-overflow-hidden.html intersecting-clipping-1-ref.html
 fuzzy-if(Android,5,105) fuzzy-if(d2d,1,20) == intersecting-clipping-1-refi.html intersecting-clipping-1-ref.html
 fuzzy-if(true,1,33) fuzzy-if(cocoaWidget,1,332) fuzzy-if(Android&&browserIsRemote,7,310) fuzzy-if(Android&&!browserIsRemote,124,440) == intersecting-clipping-1-refc.html intersecting-clipping-1-ref.html # bug 732535
 
 # Inheritance