diff --git a/html/semantics/popovers/popover-light-dismiss.html b/html/semantics/popovers/popover-light-dismiss.html index 0cb13979407e4f..cc28df3be3bbd6 100644 --- a/html/semantics/popovers/popover-light-dismiss.html +++ b/html/semantics/popovers/popover-light-dismiss.html @@ -298,11 +298,10 @@ assert_false(popover3.matches(':popover-open')); popover3.showPopover(); assert_true(popover3.matches(':popover-open')); - assert_true(popover5.matches(':popover-open')); - popover5.hidePopover(); + assert_false(popover5.matches(':popover-open'),'Popover 5 was not invoked from popover3\'s invoker'); + popover3.hidePopover(); assert_false(popover3.matches(':popover-open')); - assert_false(popover5.matches(':popover-open')); - },'An invoking element that was not used to invoke the popover can still be part of the ancestor chain'); + },'An invoking element that was not used to invoke the popover is not part of the ancestor chain');
Inside popover 6 diff --git a/html/semantics/popovers/popover-shadow-dom.html b/html/semantics/popovers/popover-shadow-dom.html index 9279a121bea73d..87293f1e3d56c2 100644 --- a/html/semantics/popovers/popover-shadow-dom.html +++ b/html/semantics/popovers/popover-shadow-dom.html @@ -187,7 +187,7 @@ polyfill_declarative_shadow_dom(test5); const [popover1,popover2] = getPopoverReferences('test5'); popover1.showPopover(); - popover2.showPopover(); + popover1.querySelector('button').click(); // Use invoker to keep 2 visible // Both 1 and 2 should be open at this point. assert_true(popover1.matches(':popover-open'), 'popover1 not open'); assert_true(isElementVisible(popover1)); diff --git a/html/semantics/popovers/popover-target-element-disabled.html b/html/semantics/popovers/popover-target-element-disabled.html index bf1f297148442f..d5c951768c083a 100644 --- a/html/semantics/popovers/popover-target-element-disabled.html +++ b/html/semantics/popovers/popover-target-element-disabled.html @@ -11,6 +11,10 @@ - -
- -
-
popover
-
@@ -69,18 +52,18 @@
@@ -90,18 +73,18 @@
@@ -111,18 +94,18 @@
@@ -132,18 +115,18 @@