blob: 0a1060bf9ceb1587e4652f492eb355d71fde5d45 [file] [log] [blame] [edit]
<!DOCTYPE html>
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Catalin Badea" href="mailto:badea@adobe.com">
<style>
#content {
background-color: green;
width: 100px;
height: 100px;
}
#region {
width: 150px;
height: 150px;
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>
</body>
<script>
document.addEventListener("DOMContentLoaded", function() {
var dialog = document.getElementsByTagName('dialog')[0];
dialog.show();
});
</script>
</html>