diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-inline/float-becomes-inflow-crash.html')
-rw-r--r-- | testing/web-platform/tests/css/css-inline/float-becomes-inflow-crash.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-inline/float-becomes-inflow-crash.html b/testing/web-platform/tests/css/css-inline/float-becomes-inflow-crash.html new file mode 100644 index 0000000000..c820b093ce --- /dev/null +++ b/testing/web-platform/tests/css/css-inline/float-becomes-inflow-crash.html @@ -0,0 +1,11 @@ +<!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=1331189"> +<div id="elm" style="float:left;"></div> +x +<script> + document.body.offsetTop; + elm.style.cssFloat = "none"; + getComputedStyle(elm).cssFloat; + elm.style.display = "none"; +</script> |