mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
35 lines
No EOL
1.2 KiB
HTML
35 lines
No EOL
1.2 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
|
<title>CSS Test: 'Border-radius' applied to element with a display of 'inline-table'.</title>
|
|
<link href="http://www.microsoft.com/" rel="author" title="Microsoft">
|
|
<link href="http://www.w3.org/TR/css3-background/#border-radius" rel="help">
|
|
<meta content="" name="flags">
|
|
<meta content="When 'border-radius' is applied to an element with 'displaye: inline-table' it produces rounded corners." name="assert">
|
|
<style type="text/css">
|
|
#test
|
|
{
|
|
border: solid green;
|
|
border-radius: 10px;
|
|
display: inline-table;
|
|
}
|
|
#row
|
|
{
|
|
display: table-row;
|
|
}
|
|
#cell
|
|
{
|
|
display: table-cell;
|
|
width: 1in;
|
|
height: 1in;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if there is a box with rounded corners below.</p>
|
|
<div id="test">
|
|
<div id="row">
|
|
<div id="cell"></div>
|
|
</div>
|
|
</div>
|
|
|
|
</body></html> |