Bug 1729777 [wpt PR 30405] - Parsing for contain-intrinsic-size: auto <length>, a...
[gecko.git] / testing / web-platform / tests / css / css-backgrounds / border-radius-applies-to-006.htm
blobb19bc4a0d81d32944882d748d8a30acbe46458fe
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' applied to element with 'display' set to 'table'.</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="flags" content="" />
8 <meta name="assert" content="When 'border-radius' is applied to an element with 'displaye: table' it produces rounded corners." />
9 <style type="text/css">
10 #table
12 border: solid green;
13 border-radius: 10px;
14 display: table;
16 #row
18 display: table-row;
20 #cell
22 display: table-cell;
23 height: 1in;
24 width: 1in;
26 </style>
27 </head>
28 <body>
29 <p>Test passes if there is a box with rounded corners below.</p>
30 <div id="table">
31 <div id="row">
32 <div id="cell"></div>
33 </div>
34 </div>
35 </body>
36 </html>