diff --git a/testing/web-platform/tests/html/semantics/popups/popup-invoking-attribute.tentative.html b/testing/web-platform/tests/html/semantics/popups/popup-invoking-attribute.tentative.html
index db201f391a632..751a0a8d62005 100644
--- a/testing/web-platform/tests/html/semantics/popups/popup-invoking-attribute.tentative.html
+++ b/testing/web-platform/tests/html/semantics/popups/popup-invoking-attribute.tentative.html
@@ -22,11 +22,6 @@
}
return {expectedBehavior, expectedId};
}
-const textLogic = (t,s,h) => {
- // This mimics the expected logic for text field invokers, which can
- // only be shown via the down arrow, and never hidden.
- return {expectedBehavior: (t || s) ? "show" : "none", expectedId: t || s || 1};
-};
const noActivationLogic = (t,s,h) => {
// This does not activate any pop-ups.
return {expectedBehavior: "none", expectedId: 1};
@@ -69,16 +64,7 @@
supported: true,
};
});
-const supportedTextTypes = ['text','email','password','search','tel','url'].map(type => {
- return {
- name: ``,
- makeElement: makeElementWithType('input',type),
- invokeFn: activateTextInputFn('down'),
- getExpectedLogic: textLogic, // Down arrow should work
- supported: true,
- };
-});
-const unsupportedTypes = ['checkbox','radio','range','file','color','date','datetime-local','month','time','week','number'].map(type => {
+const unsupportedTypes = ['text','email','password','search','tel','url','checkbox','radio','range','file','color','date','datetime-local','month','time','week','number'].map(type => {
return {
name: ``,
makeElement: makeElementWithType('input',type),
@@ -90,22 +76,7 @@
const invokers = [
...supportedButtonTypes,
...supportedInputButtonTypes,
- ...supportedTextTypes,
...unsupportedTypes,
- {
- name: ' with right arrow invocation',
- makeElement: makeElementWithType('input','text'),
- invokeFn: activateTextInputFn('right'),
- getExpectedLogic: noActivationLogic, // Right arrow should not work
- supported: false,
- },
- {
- name: ' focus only',
- makeElement: makeElementWithType('input','text'),
- invokeFn: el => el.focus(),
- getExpectedLogic: noActivationLogic, // Just focusing the control should not work
- supported: false,
- },
];
["auto","hint","manual"].forEach(type => {
invokers.forEach(testcase => {