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/pre-with-whitespace-crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<html>
<head>
<title>pre(white-space's one of values) crash if there is no available width</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>test(()=>{})</script>
</head>
<body>
abc<b style="margin-left: 100%; white-space: pre;">def</b>
<div>
<li>
<a href="dummy">success if does not crash</a>
</li>
</div>
</body>
</html>