+
+
diff --git a/html/semantics/popovers/popover-light-dismiss.tentative.html b/html/semantics/popovers/popover-light-dismiss.tentative.html
index 2581ca6fdeea0f..2a101483cb8c8e 100644
--- a/html/semantics/popovers/popover-light-dismiss.tentative.html
+++ b/html/semantics/popovers/popover-light-dismiss.tentative.html
@@ -389,41 +389,6 @@
},'Moving focus back to the anchor element should not dismiss the popover');
-
-
- Inside popover 9 after button
-
-
-
-
-
Popover 1
Anchor
diff --git a/html/semantics/popovers/resources/popover-utils.js b/html/semantics/popovers/resources/popover-utils.js
index 8f66dc0844975d..efc318b3c9fd34 100644
--- a/html/semantics/popovers/resources/popover-utils.js
+++ b/html/semantics/popovers/resources/popover-utils.js
@@ -12,14 +12,33 @@ async function clickOn(element) {
}
async function sendTab() {
await waitForRender();
- await new test_driver.send_keys(document.body,'\uE004'); // Tab
- await waitForRender();
-}
+ const kTab = '\uE004';
+ await new test_driver.send_keys(document.body,kTab);
+ await waitForRender();
+}
+// Waiting for crbug.com/893480:
+// async function sendShiftTab() {
+// await waitForRender();
+// const kShift = '\uE008';
+// const kTab = '\uE004';
+// await new test_driver.Actions()
+// .keyDown(kShift)
+// .keyDown(kTab)
+// .keyUp(kTab)
+// .keyUp(kShift)
+// .send();
+// await waitForRender();
+// }
async function sendEscape() {
await waitForRender();
await new test_driver.send_keys(document.body,'\uE00C'); // Escape
await waitForRender();
}
+async function sendEnter() {
+ await waitForRender();
+ await new test_driver.send_keys(document.body,'\uE007'); // Enter
+ await waitForRender();
+}
function isElementVisible(el) {
return !!(el.offsetWidth || el.offsetHeight || el.getClientRects().length);
}