424236-9.html (830B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 2 "http://www.w3.org/TR/html4/strict.dtd"> 3 <html lang="en-US"> 4 <head> 5 <title>reftest, bug 424236</title> 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7 <meta http-equiv="Content-Style-Type" content="text/css"> 8 <style type="text/css"> 9 10 body { font-size: 16px; } 11 * { -moz-outline-offset: -1px; outline-offset: -1px; } 12 body > span { outline: 1px dotted black; } 13 body > span > span { display: block; width: 10em; } 14 body > span > span + span { display:inline; } 15 body > span > span + span + span { display: block; width: 5em; } 16 17 </style> 18 </head> 19 <body> 20 21 <span><span>text</span><span>Some words that must be wider than 10em</span><span>text</span></span> 22 23 </body> 24 </html>