Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/white-space/nowrap-wbr-and-space-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<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>