diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-text/white-space/nowrap-wbr-and-space-crash.html')
-rw-r--r-- | testing/web-platform/tests/css/css-text/white-space/nowrap-wbr-and-space-crash.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/white-space/nowrap-wbr-and-space-crash.html b/testing/web-platform/tests/css/css-text/white-space/nowrap-wbr-and-space-crash.html new file mode 100644 index 0000000000..6a58083e35 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/nowrap-wbr-and-space-crash.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=950209"> +<link rel="author" title="Koji Ishii" href="kojii@chromium.org"> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<style> +div { + white-space: nowrap; + width: 3ch; +} +</style> +<body> + <div>12345<wbr> 678</div> +<script> +test(() => { + document.body.offsetTop; +}); +</script> +</body> |