Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(964)

Unified Diff: third_party/WebKit/LayoutTests/accessibility/press-works-on-control-types.html

Issue 2206323002: List items should not be clickable unless they have a mouse listener attached. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed blank line in test expectations file. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/accessibility/press-works-on-control-types-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/accessibility/press-works-on-control-types.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/press-works-on-control-types.html b/third_party/WebKit/LayoutTests/accessibility/press-works-on-control-types.html
index 0db05b73ef968be29b9ea6aebe5d7d7275c20cae..979271c5c0da6bd7f369a8d9ef276ee028bb67c3 100644
--- a/third_party/WebKit/LayoutTests/accessibility/press-works-on-control-types.html
+++ b/third_party/WebKit/LayoutTests/accessibility/press-works-on-control-types.html
@@ -14,7 +14,6 @@
<div role="menuitem" id="menuitem" tabindex="0">menu item</div>
<div role="menuitemcheckbox" id="menuitemcheckbox" tabindex="0">menu item checkbox</div>
<div role="menuitemradio" id="menuitemradio" tabindex="0">menu item radio</div>
- <div role="listitem" id="listitem" tabindex="0">list item</div>
</div>
<p id="description"></p>
@@ -47,8 +46,6 @@
shouldBeTrue("eventSrcElement == document.getElementById('menuitemcheckbox')");
else if (pressCount == 7)
shouldBeTrue("eventSrcElement == document.getElementById('menuitemradio')");
- else if (pressCount == 8)
- shouldBeTrue("eventSrcElement == document.getElementById('listitem')");
pressCount++;
}
@@ -57,7 +54,7 @@
if (window.accessibilityController) {
- var items = new Array("group", "button", "tab", "radio", "checkbox", "menuitem", "menuitemcheckbox", "menuitemradio", "listitem");
+ var items = new Array("group", "button", "tab", "radio", "checkbox", "menuitem", "menuitemcheckbox", "menuitemradio");
for (var k = 0; k < items.length; k++) {
document.getElementById(items[k]).focus();
accessibilityController.focusedElement.press();
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/accessibility/press-works-on-control-types-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698