collapsing-border-model-006.xht (1425B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Table borders overflowing the table container (rtl)</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#collapsing-borders" /> 7 <meta name="assert" content="Borders that spill into a table margin can overflow that table's container." /> 8 <style type="text/css"> 9 table 10 { 11 border-collapse: collapse; 12 } 13 td 14 { 15 background: black; 16 height: 1em 17 } 18 #div1 19 { 20 background: black; 21 direction: rtl; 22 width: 2em; 23 } 24 #cell 25 { 26 border-left: 1em solid black; 27 border-right: 1em solid black; 28 } 29 </style> 30 </head> 31 <body> 32 <p>Test passes if the upper-right corner of the box below is missing.</p> 33 <div id="div1"> 34 <table> 35 <tr> 36 <td></td> 37 </tr> 38 <tr> 39 <td id="cell"></td> 40 </tr> 41 </table> 42 </div> 43 </body> 44 </html>