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

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

Issue 442563002: Fix getComputedStyle() for area element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 643
644 option:-internal-spatial-navigation-focus { 644 option:-internal-spatial-navigation-focus {
645 outline: black dashed 1px; 645 outline: black dashed 1px;
646 outline-offset: -1px; 646 outline-offset: -1px;
647 } 647 }
648 648
649 datalist { 649 datalist {
650 display: none 650 display: none
651 } 651 }
652 652
653 area, param { 653 area {
654 display: none 654 display: inline;
655 }
rwlbuis 2014/08/05 19:36:23 Add an empty line here.
656 param {
657 display: none;
655 } 658 }
656 659
657 input[type="checkbox" i] { 660 input[type="checkbox" i] {
658 -webkit-appearance: checkbox; 661 -webkit-appearance: checkbox;
659 box-sizing: border-box; 662 box-sizing: border-box;
660 } 663 }
661 664
662 input[type="radio" i] { 665 input[type="radio" i] {
663 -webkit-appearance: radio; 666 -webkit-appearance: radio;
664 box-sizing: border-box; 667 box-sizing: border-box;
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 vertical-align: super; 973 vertical-align: super;
971 font-size: smaller 974 font-size: smaller
972 } 975 }
973 976
974 nobr { 977 nobr {
975 white-space: nowrap 978 white-space: nowrap
976 } 979 }
977 980
978 /* states */ 981 /* states */
979 982
980 :focus { 983 :focus {
981 outline: auto 5px -webkit-focus-ring-color 984 outline: auto 5px -webkit-focus-ring-color
982 } 985 }
983 986
984 /* Read-only text fields do not show a focus ring but do still receive focus */ 987 /* Read-only text fields do not show a focus ring but do still receive focus */
985 html:focus, body:focus, input[readonly]:focus { 988 html:focus, body:focus, input[readonly]:focus {
986 outline: none 989 outline: none
987 } 990 }
988 991
989 applet:focus, embed:focus, iframe:focus, object:focus { 992 applet:focus, embed:focus, iframe:focus, object:focus {
990 outline: none 993 outline: none
991 } 994 }
992 995
993 input:focus, textarea:focus, keygen:focus, select:focus { 996 input:focus, textarea:focus, keygen:focus, select:focus {
994 outline-offset: -2px 997 outline-offset: -2px
995 } 998 }
996 999
997 input[type="button" i]:focus, 1000 input[type="button" i]:focus,
998 input[type="checkbox" i]:focus, 1001 input[type="checkbox" i]:focus,
999 input[type="file" i]:focus, 1002 input[type="file" i]:focus,
1000 input[type="hidden" i]:focus, 1003 input[type="hidden" i]:focus,
1001 input[type="image" i]:focus, 1004 input[type="image" i]:focus,
1002 input[type="radio" i]:focus, 1005 input[type="radio" i]:focus,
1003 input[type="reset" i]:focus, 1006 input[type="reset" i]:focus,
1004 input[type="search" i]:focus, 1007 input[type="search" i]:focus,
1005 input[type="submit" i]:focus, 1008 input[type="submit" i]:focus,
1006 input[type="file" i]:focus::-webkit-file-upload-button { 1009 input[type="file" i]:focus::-webkit-file-upload-button {
1007 outline-offset: 0 1010 outline-offset: 0
1008 } 1011 }
1009 1012
1010 a:-webkit-any-link { 1013 a:-webkit-any-link {
1011 color: -webkit-link; 1014 color: -webkit-link;
1012 text-decoration: underline; 1015 text-decoration: underline;
1013 cursor: auto; 1016 cursor: auto;
1014 } 1017 }
1015 1018
1016 a:-webkit-any-link:active { 1019 a:-webkit-any-link:active {
1017 color: -webkit-activelink 1020 color: -webkit-activelink
1018 } 1021 }
1019 1022
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 @page { 1095 @page {
1093 /* FIXME: Define the right default values for page properties. */ 1096 /* FIXME: Define the right default values for page properties. */
1094 size: auto; 1097 size: auto;
1095 margin: auto; 1098 margin: auto;
1096 padding: 0px; 1099 padding: 0px;
1097 border-width: 0px; 1100 border-width: 0px;
1098 } 1101 }
1099 1102
1100 /* noscript is handled internally, as it depends on settings. */ 1103 /* noscript is handled internally, as it depends on settings. */
1101 1104
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698