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

Unified Diff: LayoutTests/fast/events/frame-tab-focus.html

Issue 15238002: Disallow tabsToLinks setting to prevent tabbing to anchor with tabIndex. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Actually add new test Created 7 years, 3 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
Index: LayoutTests/fast/events/frame-tab-focus.html
diff --git a/LayoutTests/fast/events/frame-tab-focus.html b/LayoutTests/fast/events/frame-tab-focus.html
index 477f07a6a334ee8ac0b24a6b515a6acb0a6e331b..e832c21fcb93e505e87cac0f45b4168ba4ea3761 100644
--- a/LayoutTests/fast/events/frame-tab-focus.html
+++ b/LayoutTests/fast/events/frame-tab-focus.html
@@ -17,7 +17,6 @@ function log(msg)
function windowFocused(win, name)
{
return function() {
- win.document.body.style.background = "green";
log(name + ': window focused');
}
}
@@ -124,6 +123,7 @@ function test()
log('\nOption-tabbing backward...\n');
for (var i = 0; i < 12; ++i) {
dispatchTabPress(document, true, true);
+ dispatchTabPress(document, true, false);
}
lastFocusedElement.blur();

Powered by Google App Engine
This is Rietveld 408576698