Bug 1379041: Reftest. r?heycam draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Fri, 07 Jul 2017 20:37:52 +0200
changeset 605447 0fb3365053c18962a58fa96c45f6f67488243159
parent 605444 231bb86bd99242194dcc94d327f20a6f10d03dba
child 636492 7e10ebbfd01db1ea1aa0a23abf56fb89aefbb44b
push id67408
push userbmo:emilio+bugs@crisal.io
push dateFri, 07 Jul 2017 18:45:25 +0000
reviewersheycam
bugs1379041
milestone56.0a1
Bug 1379041: Reftest. r?heycam MozReview-Commit-ID: JeO0ZksC8E5
layout/reftests/bugs/1376897-ref.html
layout/reftests/bugs/1376897.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1376897-ref.html
@@ -0,0 +1,4 @@
+<!doctype html>
+<html style="font-size: 8px">
+<div style="font-size: 2rem; color: black;">Should be the default font-size wide.</div>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1376897.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<html style="font-size: 8px">
+<div style="font-size: 2rem">Should be the default font-size wide.</div>
+<script>
+window.onload = function() {
+  let div = document.querySelector('div');
+  window.getDefaultComputedStyle(div).color;
+  div.style.color = "black";
+}
+</script>
+</html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -2029,8 +2029,9 @@ fails-if(!stylo||styloVsGecko) == 136516
 == 1375315-12.html 1375315-12-ref.html
 == 1374062.html 1374062-ref.html
 == 1375513.html 1375513-ref.html
 == 1375674.html 1375674-ref.html
 == 1372041.html 1372041-ref.html
 == 1376092.html 1376092-ref.html
 needs-focus == 1377447-1.html 1377447-1-ref.html
 needs-focus != 1377447-1.html 1377447-2.html
+== 1376897.html 1376897-ref.html