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/text-wrap-balance-dynamic-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="reference/text-wrap-balance-dynamic-001-ref.html">
<style>
#container {
width: 20ch;
text-wrap: balance;
}
span:hover {
color: red;
}
</style>
<div id="container">
123 567 901 345 789
123 567 901 345 789
123 567 901 345 789
</div>
<script>
document.body.offsetTop;
container.appendChild(document.createTextNode('999'));
</script>