mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Don't rely on ahem being loaded sync in offset_properties_inline.html
This commit is contained in:
parent
85996826ab
commit
359ef7b7c3
2 changed files with 3 additions and 1 deletions
|
@ -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": [
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue