mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
37 lines
No EOL
910 B
HTML
37 lines
No EOL
910 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
|
<title>CSS Reftest Reference</title>
|
|
<link href="mailto:badea@adobe.com" rel="author" title="Catalin Badea" />
|
|
<style>
|
|
#content {
|
|
position: static;
|
|
display: block;
|
|
width: 30px;
|
|
height: 30px;
|
|
margin: 0px;
|
|
background-color: green;
|
|
}
|
|
#region {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: gray;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<ol>
|
|
<li>Test passes if you see a green square inside a gray square.</li>
|
|
<li>You shouldn't see any red.</li>
|
|
</ol>
|
|
<div id="region">
|
|
<dialog id="content"></dialog>
|
|
</div>
|
|
|
|
<script>
|
|
document.addEventListener("DOMContentLoaded", function() {
|
|
var dialog = document.getElementsByTagName('dialog')[0];
|
|
dialog.show();
|
|
});
|
|
</script>
|
|
|
|
</body></html> |