Skip to content

Commit f1c69d8

Browse files
committed
Add invoker argument to showPopover() in anchor integration test
1 parent 7902cfc commit f1c69d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

html/semantics/popovers/popover-alignment-001.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<div id="p1" popover></div>
2222

2323
<script>
24-
document.querySelector("[popover]").showPopover();
24+
document.querySelector("[popover]").showPopover({ source: document.querySelector("button") });
2525
document.documentElement.removeAttribute("class");
2626
</script>

html/semantics/popovers/popover-alignment-002.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<div id="p3" popover style="position-area: left span-all"></div>
2222

2323
<script>
24-
document.querySelector("[popover]").showPopover();
24+
document.querySelector("[popover]").showPopover({ source: document.querySelector("button") });
2525
document.documentElement.removeAttribute("class");
2626
</script>

0 commit comments

Comments
 (0)