Bug 1379041: Reftest. r?heycam
MozReview-Commit-ID: JeO0ZksC8E5
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1379041-ref.html
@@ -0,0 +1,4 @@
+<!doctype html>
+<html style="font-size: 8px">
+<div style="font-size: 2rem; color: black;">Should be 16px black text.</div>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1379041.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<html style="font-size: 8px">
+<div style="font-size: 2rem">Should be 16px black text.</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
+== 1379041.html 1379041-ref.html