Bug 1366144: Test. r=heycam
authorEmilio Cobos Álvarez <emilio@crisal.io>
Sat, 20 May 2017 03:42:15 +0200
changeset 359781 c34ff92df5c30bab05cdf834663c502e140555c2
parent 359780 61018db8d66ea9f098293fb3291cfffd013faf4c
child 359782 008cb503f35e0576d22e63b9aa3186ee064f6020
push id43069
push userecoal95@gmail.com
push dateSat, 20 May 2017 20:23:38 +0000
treeherderautoland@c34ff92df5c3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1366144
milestone55.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 1366144: Test. r=heycam MozReview-Commit-ID: Dx1rFw0BZHm
layout/reftests/bugs/1366144-ref.html
layout/reftests/bugs/1366144.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1366144-ref.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<style>
+  div::after { color: green; content: "Bar"; }
+</style>
+<div></div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1366144.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<style>
+  div::after { color: green }
+  div.foo::after { content: "Bar" }
+</style>
+<div></div>
+<script>
+  onload = function() {
+    document.querySelector('div').classList.add('foo');
+  }
+</script>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1999,8 +1999,9 @@ fails-if(stylo) == 1348481-3.html 134848
 == 1358375-1.html 1358375-ref.html
 == 1358375-2.html 1358375-ref.html
 == 1358375-3.html 1358375-ref.html
 == 1364280-1.html 1364280-1-ref.html
 == 1364280-2a.html 1364280-2-ref.html
 == 1364280-2b.html 1364280-2-ref.html
 == 1364280-2c.html 1364280-2-ref.html
 == 1364335.html 1364335-ref.html
+== 1366144.html 1366144-ref.html