Bug 1202512 - Part 4: Reftests. r=bzbarsky
authorCameron McCormack <cam@mcc.id.au>
Sat, 12 Sep 2015 19:08:11 +1000
changeset 294763 0105583c5ffd21c11f0e9f7afbba83e3a9b59653
parent 294762 ab69f1450786e0bee780b9160b05f641ccf76258
child 294764 f3c4899a67e48acc764993a368402b21f2745192
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbzbarsky
bugs1202512
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1202512 - Part 4: Reftests. r=bzbarsky
layout/reftests/bugs/1202512-1-ref.html
layout/reftests/bugs/1202512-1.html
layout/reftests/bugs/1202512-2-ref.html
layout/reftests/bugs/1202512-2.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1202512-1-ref.html
@@ -0,0 +1,2 @@
+<!DOCTYPE html>
+<p><span><i>hello</i></span></p>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1202512-1.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html class=reftest-wait>
+<style>
+.x .y { background-color: red; }
+</style>
+<p class=x><span><i class=y>hello</i></span></p>
+<script>
+addEventListener("MozReftestInvalidate", function() {
+  document.querySelector("p").classList.toggle("x");
+  document.querySelector("i").classList.toggle("y");
+  document.documentElement.className = "";
+}, false);
+</script>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1202512-2-ref.html
@@ -0,0 +1,2 @@
+<!DOCTYPE html>
+<p><span><input required value=hello></input></span></p>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1202512-2.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html class=reftest-wait>
+<style>
+.x input:required { color: red; }
+</style>
+<p class=x><span><input required value=hello></input></span></p>
+<script>
+addEventListener("MozReftestInvalidate", function() {
+  document.querySelector("p").classList.toggle("x");
+  document.querySelector("input").required = false;
+  document.documentElement.className = "";
+}, false);
+</script>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1928,8 +1928,10 @@ skip-if(B2G||Mulet) == 1150021-1.xul 115
 == 1153845-1.html 1153845-1-ref.html
 == 1155828-1.html 1155828-1-ref.html
 == 1156129-1.html 1156129-1-ref.html
 == 1169331-1.html 1169331-1-ref.html
 fuzzy(1,74) fuzzy-if(gtkWidget,6,79) == 1174332-1.html 1174332-1-ref.html
 == 1179078-1.html 1179078-1-ref.html
 == 1179288-1.html 1179288-1-ref.html
 == 1190635-1.html 1190635-1-ref.html
+== 1202512-1.html 1202512-1-ref.html
+== 1202512-2.html 1202512-2-ref.html