Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Reference: white-space-trim line wrapping</title>
<style>
div { width: 4ch; font: 16px/1 monospace; }
</style>
</head>
<body>
<p>Test passes if the box below renders as a single overflowing line "XYYYYYYYY" (no blank/short first line, no orphaned box).</p>
<div>X<span>YYYYYYYY</span></div>
</body>
</html>