1
0
Fork 0
firefox/testing/web-platform/tests/css/css-position/position-absolute-crash-chrome-013.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

19 lines
611 B
HTML

<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://crbug.com/1021676">
<div id="tfoot" style="display: table-footer-group; transform: scale(2);">
<div id="oof" style="position: absolute;">text</div>
</div>
<script>
test(() => {
document.body.offsetTop;
// Make the ICB the containing-block.
document.getElementById('tfoot').style.transform = '';
document.body.offsetTop;
document.getElementById('oof').innerText = '';
document.body.offsetTop;
}, 'test passes if it does not crash');
</script>