inline-box-padding-line-break.html (811B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <link 4 rel="help" 5 href="https://drafts.csswg.org/css2/#inline-formatting" 6 /> 7 <link rel="help" href="https://github.com/servo/servo/pull/32486" /> 8 <link rel="author" href="mrobinson@igalia.com" /> 9 <link rel="author" href="atbrakhi@igalia.com" /> 10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 11 <meta name="assert" content="Inline padding should cause content that follows to wrap." /> 12 <link rel="match" href="inline-box-border-line-break-ref.html" /> 13 <body> 14 15 <div style="width: 80px; outline: solid 1px black; font: 20px/1 Ahem;"> 16 xx 17 <!- The left padding on this span should trigger a line break before the 18 final xx. --> 19 <span style="padding-left: 50px;">x</span> 20 xx 21 </div> 22 23 </body> 24 </html>