Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / pseudo-element-backdrop-hit-test.html
blobebbaa66a4e26b096b35ad0c0a2adae6e4a0dbfa8
1 <!doctype html>
2 <script src="../../resources/js-test.js"></script>
4 <style>
5 #dialog::backdrop { background-color: green; }
6 </style>
8 <dialog id="target"></dialog>
10 <script>
11 description("Hit testing with ::backdrop style");
13 var dialog = document.getElementById("target");
14 dialog.showModal();
16 shouldBe("document.elementFromPoint(5, 5).id", "'target'");
18 dialog.close();
19 </script>