border-radius-applies-to-009.htm (1359B)
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: 'Border-radius' should be ignored when in element with 'display' set to 'table-row' when 'border-collapse: collapse'.</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/css3-background/#border-radius" /> 7 <meta name="assert" content="'Border-radius' should be ignored when in element with 'display' set to 'table-row' when 'border-collapse: collapse'." /> 8 <style type="text/css"> 9 #test 10 { 11 border: solid green; 12 border-radius: 10px; 13 display: table-row; 14 } 15 #table 16 { 17 border-collapse: collapse; 18 display: table; 19 } 20 #cell 21 { 22 display: table-cell; 23 height: 1in; 24 width: 1in; 25 } 26 </style> 27 </head> 28 <body> 29 <p>Test passes if there is a box with sharp or rounded corners below.</p> 30 <div id="table"> 31 <div id="test"> 32 <div id="cell"></div> 33 </div> 34 </div> 35 </body> 36 </html>