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

Side by Side Diff: LayoutTests/fast/events/click-focus-keydown-no-ring-expected.html

Issue 562653002: Do not reset mouse focus flag on keydown at anchor elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add regression test (click-focus-keydown-no-ring) Created 6 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 unified diff | Download patch
« no previous file with comments | « LayoutTests/fast/events/click-focus-keydown-no-ring.html ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 a { color: blue; } 5 a { color: blue; }
6 </style> 6 </style>
7 </head> 7 </head>
8 <body> 8 <body>
9 <p>This test ensures that the focus ring is not drawn for anchors without a tabi ndex that received the focus by mouse.</p> 9 <p>This test ensures that the default focus ring is not drawn on anchors even af ter pressing a key while the anchor is focused.</p>
10 <p><a id="anchor" href="#">Anchor without tabindex</a></p> 10 <p><a id="anchor" href="#">Anchor without tabindex</a></p>
11 11
12 12
13 </body> 13 </body>
14 </html> 14 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/click-focus-keydown-no-ring.html ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698