402950-1.html (759B)
1 <!DOCTYPE HTML> 2 <html><head> 3 <style> 4 p { width: 13em; border: 1px solid black; } 5 p span { white-space: nowrap; } 6 a { color:pink; } 7 </style> 8 </head> 9 <body> 10 <!-- We should be able to break even when the only break opportunity is within a span 11 that overflows the line width (the break opportunity after the whitespace is treated 12 as a break before the first character of the second span) --> 13 <p><span>mmmmmmmmmm</span> 14 <span>mmmmm<a>mmmmm</a></span></p> 15 <!-- A span that overflows the line width should be allowed to fit, it might have a break 16 opportunity inside it (the break opportunity after the whitespace is treated 17 as a break before the first character of the second span) --> 18 <p>m <span>mmmmmmmmmm</span> 19 <span>m<a>mmmmmmmmm</a></span></p> 20 </body> 21 </html>