Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel=author href="mailto:jarhar@chromium.org">
<link rel=author href="mailto:falken@chromium.org">
<link rel=match href="top-layer-position-ref.html">
<meta name=assert content="Position static computes to absolute in the top layer for dialog elements.">
<style>
dialog {
background-color: green;
height: 50px;
width: 50px;
border: none;
padding: 0;
margin: 0;
position: static;
top: 100px;
left: 100px;
}
</style>
<dialog></dialog>
<script>
document.querySelector('dialog').showModal();
</script>