mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
34 lines
No EOL
769 B
HTML
34 lines
No EOL
769 B
HTML
<!DOCTYPE html>
|
|
<html><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> |