Bug 645647 part 2 - Reftests.
authorMats Palmgren <mats@mozilla.com>
Thu, 14 Apr 2016 01:32:12 +0200
changeset 316907 812c15b34793ac1c0bdd5560af46461f1b5ac5a4
parent 316906 8ba874ed8bf874a6f810065df09ad552137be8d3
child 316908 78e9d3a39ae86af507b4a8aaa31293edd0d270fc
push id9480
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 17:12:58 +0000
treeherdermozilla-aurora@0d6a91c76a9e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs645647
milestone48.0a1
Bug 645647 part 2 - Reftests.
layout/reftests/bugs/645647-1-ref.html
layout/reftests/bugs/645647-1.html
layout/reftests/bugs/645647-2-ref.html
layout/reftests/bugs/645647-2.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/645647-1-ref.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<body>
+    <div style="border: 1px solid green; width: -moz-fit-content">Some text</div>
+    <div style="border: 1px solid green; width: -moz-fit-content">Some text</div>
+</body>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/645647-1.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<body>
+    <div style="display: list-item; list-style-type: none;
+               list-style-position: inside;
+               border: 1px solid green; width: -moz-fit-content">Some text</div>
+    <div style="display: list-item; list-style-type: none;
+               list-style-position: outside;
+               border: 1px solid green; width: -moz-fit-content">Some text</div>
+</body>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/645647-2-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<htm><head>
+<style>
+.li {
+  background: red;
+  float: left;
+  line-height: 0;
+}
+
+.ul {
+  list-style-type: none;
+  list-style-position: inside;
+}
+</style>
+</head>
+<body>
+
+<pre>There should be no red areas.</pre>
+
+<div class="ul">
+    <div class="li"><a href="#">
+          <img src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=" height="75" width="75">
+        </a></div>
+</div>
+
+
+</body></html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/645647-2.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<htm><head>
+<style>
+.li {
+  display: list-item;
+  background: red;
+  float: left;
+  line-height: 0;
+}
+
+.ul {
+  list-style-type: none;
+  list-style-position: inside;
+}
+</style>
+</head>
+<body>
+
+<pre>There should be no red areas.</pre>
+
+<div class="ul">
+    <div class="li"><a href="#">
+          <img src="data:image/gif;base64,R0lGODlhAQABAIABAAD/AP///ywAAAAAAQABAAACAkQBADs=" height="75" width="75">
+        </a></div>
+</div>
+
+
+</body></html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1665,16 +1665,18 @@ HTTP(..) == 635639-1.html 635639-1-ref.h
 HTTP(..) == 635639-2.html 635639-2-ref.html
 random == 637597-1.html 637597-1-ref.html # bug 637597 was never really fixed!
 fuzzy-if(Android,8,500) == 637852-1.html 637852-1-ref.html
 fuzzy-if(Android,8,500) == 637852-2.html 637852-2-ref.html
 fuzzy-if(Android,8,500) == 637852-3.html 637852-3-ref.html
 skip-if(B2G||Mulet) == 641770-1.html 641770-1-ref.html # Initial mulet triage: parity with B2G/B2G Desktop
 == 641856-1.html 641856-1-ref.html
 == 645491-1.html 645491-1-ref.html
+== 645647-1.html 645647-1-ref.html
+== 645647-2.html 645647-2-ref.html
 == 645768-1.html 645768-1-ref.html
 fails-if(layersGPUAccelerated&&cocoaWidget) fuzzy-if(!layersGPUAccelerated,41,260) fuzzy-if(skiaContent,2,11000) == 650228-1.html 650228-1-ref.html # Quartz alpha blending doesn't match GL alpha blending
 needs-focus == 652301-1a.html 652301-1-ref.html
 needs-focus == 652301-1b.html 652301-1-ref.html
 fuzzy-if(skiaContent,2,5) == 652775-1.html 652775-1-ref.html
 fuzzy-if(skiaContent,1,5) == 653930-1.html 653930-1-ref.html
 HTTP(..) == 654057-1.html 654057-1-ref.html
 fails-if(layersGPUAccelerated&&cocoaWidget&&!skiaContent) == 654950-1.html 654950-1-ref.html # Quartz alpha blending doesn't match GL alpha blending