mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
34 lines
No EOL
902 B
HTML
34 lines
No EOL
902 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 {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: green;
|
|
}
|
|
#region {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: gray;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<ol>
|
|
<li>Test passes if you see a green square in the gray box.</li>
|
|
<li>You should see no red.</li>
|
|
</ol>
|
|
<dialog id="region">
|
|
<div id="content"></div>
|
|
</dialog>
|
|
|
|
<script>
|
|
document.addEventListener("DOMContentLoaded", function() {
|
|
var dialog = document.getElementsByTagName('dialog')[0];
|
|
dialog.showModal();
|
|
});
|
|
</script>
|
|
|
|
</body></html> |