diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-inline/change-inline-change-abspos-crash.html')
-rw-r--r-- | testing/web-platform/tests/css/css-inline/change-inline-change-abspos-crash.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-inline/change-inline-change-abspos-crash.html b/testing/web-platform/tests/css/css-inline/change-inline-change-abspos-crash.html new file mode 100644 index 0000000000..7752cc6592 --- /dev/null +++ b/testing/web-platform/tests/css/css-inline/change-inline-change-abspos-crash.html @@ -0,0 +1,15 @@ +<!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> |