blob: 1d0ad7d645091982bbebc6fa9e358ae6d96cd78e [file] [log] [blame]
<!doctype html>
<style>
dialog {
position: static;
}
</style>
<p>Test that a non-top layer element doesn't share style with a top layer
element. The test passes if you see two boxes.</p>
<dialog open></dialog>
<dialog id="modal"></dialog>
<script>
document.querySelector('#modal').showModal();
</script>