Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLDialogElement / dont-share-style-to-top-layer.html
blob1d0ad7d645091982bbebc6fa9e358ae6d96cd78e
1 <!doctype html>
2 <style>
3 dialog {
4 position: static;
6 </style>
7 <p>Test that a non-top layer element doesn't share style with a top layer
8 element. The test passes if you see two boxes.</p>
9 <dialog open></dialog>
10 <dialog id="modal"></dialog>
11 <script>
12 document.querySelector('#modal').showModal();
13 </script>