Don't rely on ahem being loaded sync in offset_properties_inline.html

This commit is contained in:
Emilio Cobos Álvarez 2017-08-19 19:27:33 +02:00
parent 85996826ab
commit 359ef7b7c3
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 3 additions and 1 deletions

View file

@ -24766,7 +24766,7 @@
"support" "support"
], ],
"css/offset_properties_inline.html": [ "css/offset_properties_inline.html": [
"e879ede3d52eed5ebdd90e988380ba4fa365817a", "ed9cf0062ff6b08dc0cc578a0ae6acce146bec10",
"testharness" "testharness"
], ],
"css/ol_japanese_iroha_a.html": [ "css/ol_japanese_iroha_a.html": [

View file

@ -30,6 +30,7 @@
--> -->
</div> </div>
<script> <script>
window.onload = function() {
var realOffsetParent = document.getElementById('real-offset-parent'); var realOffsetParent = document.getElementById('real-offset-parent');
var inline1 = document.getElementById('inline-1'); var inline1 = document.getElementById('inline-1');
var inline2 = document.getElementById('inline-2'); var inline2 = document.getElementById('inline-2');
@ -79,5 +80,6 @@
assert_equals(inline3.offsetHeight, 10, assert_equals(inline3.offsetHeight, 10,
"offsetHeight of #inline-3 should be 10."); "offsetHeight of #inline-3 should be 10.");
}, "offsetHeight"); }, "offsetHeight");
}
</script> </script>
</body> </body>