mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Update web-platform-tests to revision aef9da08fe2fa0b9fa473e2e126cb3cf29fae43e
This commit is contained in:
parent
d93e67a0bf
commit
1bc0233011
69 changed files with 1218 additions and 85 deletions
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Chaning positioned objects in inline-block should not crash</title>
|
||||
<link rel="author" href="mailto:kojii@chromium.org">
|
||||
<link rel="help" href="https://crbug.com/1102128">
|
||||
<style>
|
||||
#container {
|
||||
width: 5ch;
|
||||
}
|
||||
#inline-block {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 3ch;
|
||||
}
|
||||
#abs {
|
||||
position: absolute;
|
||||
}
|
||||
</style>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<body>
|
||||
<div id="container">
|
||||
<span>
|
||||
<span id="inline-block">
|
||||
<span id="abs"></span>
|
||||
</span>
|
||||
</span>
|
||||
1234
|
||||
</div>
|
||||
<script>
|
||||
test(() => {
|
||||
document.body.offsetTop;
|
||||
abs.style.top = '10px';
|
||||
document.body.offsetTop;
|
||||
}, 'No crash');
|
||||
</script>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue