mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
24 lines
No EOL
1,009 B
HTML
24 lines
No EOL
1,009 B
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 'none'.</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' property is applied to elements with a display of 'none' then it continues to not have a layout." name="assert">
|
|
<style type="text/css">
|
|
div
|
|
{
|
|
border: solid red;
|
|
color: red;
|
|
border-radius: 10px;
|
|
display: none;
|
|
height: 1in;
|
|
width: 1in;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if there is no red visible on the page.</p>
|
|
<div>FAIL</div>
|
|
|
|
</body></html> |