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

Side by Side Diff: third_party/WebKit/Source/core/css/html.css

Issue 2532983004: Re-work <dialog>#show*() focus algorithm (Closed)
Patch Set: starting to mess with tests Created 4 years 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
OLDNEW
1 /* 1 /*
2 * The default style sheet used to render HTML. 2 * The default style sheet used to render HTML.
3 * 3 *
4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 white-space: nowrap 962 white-space: nowrap
963 } 963 }
964 964
965 /* states */ 965 /* states */
966 966
967 :focus { 967 :focus {
968 outline: auto 5px -webkit-focus-ring-color 968 outline: auto 5px -webkit-focus-ring-color
969 } 969 }
970 970
971 /* Read-only text fields do not show a focus ring but do still receive focus */ 971 /* Read-only text fields do not show a focus ring but do still receive focus */
972 html:focus, body:focus, input[readonly]:focus { 972 html:focus, body:focus, dialog:focus, input[readonly]:focus {
973 outline: none 973 outline: none
974 } 974 }
975 975
976 embed:focus, iframe:focus, object:focus { 976 embed:focus, iframe:focus, object:focus {
977 outline: none 977 outline: none
978 } 978 }
979 979
980 input:focus, textarea:focus, keygen:focus, select:focus { 980 input:focus, textarea:focus, keygen:focus, select:focus {
981 outline-offset: -2px 981 outline-offset: -2px
982 } 982 }
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 padding: 0px; 1112 padding: 0px;
1113 border-width: 0px; 1113 border-width: 0px;
1114 } 1114 }
1115 1115
1116 /* Allows thead sections to print at the top of each page. */ 1116 /* Allows thead sections to print at the top of each page. */
1117 @media print { 1117 @media print {
1118 thead { break-inside:avoid; } 1118 thead { break-inside:avoid; }
1119 } 1119 }
1120 1120
1121 /* noscript is handled internally, as it depends on settings. */ 1121 /* noscript is handled internally, as it depends on settings. */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698