caption-sibling-1-noref2.html (571B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <!-- dbaron thinks the validity of this test is questionable, see 5 https://bugzilla.mozilla.org/show_bug.cgi?id=477462#c20 and #c21 --> 6 <style type="text/css"> 7 #table { 8 width: 100px; 9 } 10 #caption1 { 11 height: 20px; 12 background-color: red; 13 margin-bottom: 40px; 14 } 15 #caption2 { 16 height: 20px; 17 background-color: blue; 18 margin-bottom: 40px; 19 } 20 #caption3 { 21 height: 20px; 22 background-color: green; 23 } 24 </style> 25 </head> 26 <body> 27 <div id="table"> 28 <div id="caption1"></div> 29 <div id="caption2"></div> 30 <div id="caption3"></div> 31 </div> 32 </body> 33 </html>