1
0
Fork 0
firefox/testing/web-platform/tests/css/css-inline/change-inline-change-abspos-crash.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

15 lines
526 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1255718">
<div style="display:inline-block; position:relative;">
<div id="abspos" style="position:absolute;"></div>
</div>
<br>
<br>
<div id="troublemaker" style="display:inline-block; width:2px;"></div>
<script>
document.body.offsetTop;
troublemaker.style.width = "1px";
document.body.offsetTop;
abspos.style.paddingLeft = "1px";
</script>