424236-8-ref.html (813B)
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 * { -moz-outline-offset: 3px; outline-offset: 3px; } 11 body > span { outline: 1px dotted black; } 12 /* can't compare to border combined with negative margin because of 13 margin collapsing */ 14 body > div { display: block; outline: 1px dotted black; } 15 body > div { width: 10em; } 16 body > div + span + div { width: 15em } 17 18 </style> 19 </head> 20 <body> 21 22 <div>text</div><span>text</span><div>text</div> 23 24 </body> 25 </html>