You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
<meta name="assert" content="Preserved spaces at the end of the line do affect the intrinsic max-content size when white-space is pre-wrap, as spaces before a forced break, at the end of un unwrapped line, only hanging conditionally, which does not prevent contributing to the max-content size. The value of overflow-wrap makes no difference.">
<style>
aside {
float: left;
white-space: pre-wrap;
background: green;
}
aside:last-of-type { overflow-wrap: break-word; }
div {
background: red;
color: transparent;
font-family: monospace;
font-size: 50px;
width: 3ch;
line-height: 1;
}
</style>
<p>Test passes if there is a single green rectangle below and no red.