Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/normal-flow/inline-box-border-line-break.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html lang="en">
<link
rel="help"
/>
<link rel="author" href="mrobinson@igalia.com" />
<link rel="author" href="atbrakhi@igalia.com" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<meta name="assert" content="Inline borders should cause content that follows to wrap." />
<link rel="match" href="inline-box-border-line-break-ref.html" />
<body>
<div style="width: 80px; outline: solid 1px black; font: 20px/1 Ahem;">
xx
<!- The left border on this span should trigger a line break before the
final xx. -->
<span style="border-left: 50px solid transparent">x</span>
xx
</div>
</body>
</html>