Bug 1367592 - Test. r=emilio

MozReview-Commit-ID: 1phGEZgyGcC

--HG--
extra : rebase_source : 7cdd5dc3b1b847373ba7c8d98b1c23ea4c611c81
This commit is contained in:
Cameron McCormack 2017-06-03 21:47:12 +08:00
parent 504c700905
commit 3ca924f469
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<!DOCTYPE html>
<style>
:root { font-size: 32px; }
body { font-size: 16px; }
.y { width: 1rem; height: 1rem; background-color: blue; }
</style>
<div><div class=y></div></div>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<style>
:root { font-size: 16px; }
.x:root { font-size: 32px; }
body { font-size: 16px; }
.y { width: 1rem; height: 1rem; background-color: blue; }
</style>
<body onload="document.body.offsetWidth; document.documentElement.className = 'x';">
<div><div class=y></div></div>

View File

@ -2005,3 +2005,4 @@ fails-if(styloVsGecko) == 1322512-1.html 1322512-1-ref.html
== 1364335.html 1364335-ref.html
== 1364360-1.html 1364360-1-ref.html
== 1366144.html 1366144-ref.html
== 1367592-1.html 1367592-1-ref.html