diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/bugs/371041-1.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/bugs/371041-1.html')
-rw-r--r-- | layout/reftests/bugs/371041-1.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/layout/reftests/bugs/371041-1.html b/layout/reftests/bugs/371041-1.html new file mode 100644 index 000000000..c6b4b7d9b --- /dev/null +++ b/layout/reftests/bugs/371041-1.html @@ -0,0 +1,49 @@ +<!DOCTYPE html> +<html> +<head> +<style> + div.source { display: none; font-size: 20px } + div.source2 { font-size: 20px ; height: 0; margin: 0; visibility: hidden; } + div { background: blue; margin: 10px } +</style> +</head> +<body> +<!-- Put all the source divs after the test divs so the test divs can margin-collapse like the reference --> + +<div id="test1"></div> +<div id="test2"></div> +<div id="test3"></div> +<div id="test4"></div> +<div id="test5"></div> +<div id="test6"></div> + +<div id="test7"></div> +<div id="test8"></div> +<div id="test9"></div> +<div id="test10"></div> +<div id="test11"></div> +<div id="test12"></div> + +<div id="source1" class="source">TEST</div> +<div id="source2" class="source" style="line-height: 5px">TEST</div> +<div id="source3" class="source" style="line-height: 2em">TEST</div> +<div id="source4" class="source" style="line-height: normal">TEST</div> +<div id="source5" class="source" style="line-height: 150%">TEST</div> +<div id="source6" class="source" style="line-height: 0.5">TEST</div> + +<div id="source7" class="source2">TEST</div> +<div id="source8" class="source2" style="line-height: 5px">TEST</div> +<div id="source9" class="source2" style="line-height: 2em">TEST</div> +<div id="source10" class="source2" style="line-height: normal">TEST</div> +<div id="source11" class="source2" style="line-height: 150%">TEST</div> +<div id="source12" class="source2" style="line-height: 0.5">TEST</div> + +<script> + var d = document; + for (var i = 1; i <= 12; ++i) { + d.getElementById("test" + i).style.height = + d.defaultView.getComputedStyle(d.getElementById("source" + i), + "").lineHeight; + } +</script> +</html> |