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

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: Fix test case 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
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 }
656
657 param {
658 display: none;
655 } 659 }
656 660
657 input[type="checkbox" i] { 661 input[type="checkbox" i] {
658 -webkit-appearance: checkbox; 662 -webkit-appearance: checkbox;
659 box-sizing: border-box; 663 box-sizing: border-box;
660 } 664 }
661 665
662 input[type="radio" i] { 666 input[type="radio" i] {
663 -webkit-appearance: radio; 667 -webkit-appearance: radio;
664 box-sizing: border-box; 668 box-sizing: border-box;
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 vertical-align: super; 974 vertical-align: super;
971 font-size: smaller 975 font-size: smaller
972 } 976 }
973 977
974 nobr { 978 nobr {
975 white-space: nowrap 979 white-space: nowrap
976 } 980 }
977 981
978 /* states */ 982 /* states */
979 983
980 :focus { 984 :focus {
981 outline: auto 5px -webkit-focus-ring-color 985 outline: auto 5px -webkit-focus-ring-color
982 } 986 }
983 987
984 /* Read-only text fields do not show a focus ring but do still receive focus */ 988 /* Read-only text fields do not show a focus ring but do still receive focus */
985 html:focus, body:focus, input[readonly]:focus { 989 html:focus, body:focus, input[readonly]:focus {
986 outline: none 990 outline: none
987 } 991 }
988 992
989 applet:focus, embed:focus, iframe:focus, object:focus { 993 applet:focus, embed:focus, iframe:focus, object:focus {
990 outline: none 994 outline: none
991 } 995 }
992 996
993 input:focus, textarea:focus, keygen:focus, select:focus { 997 input:focus, textarea:focus, keygen:focus, select:focus {
994 outline-offset: -2px 998 outline-offset: -2px
995 } 999 }
996 1000
997 input[type="button" i]:focus, 1001 input[type="button" i]:focus,
998 input[type="checkbox" i]:focus, 1002 input[type="checkbox" i]:focus,
999 input[type="file" i]:focus, 1003 input[type="file" i]:focus,
1000 input[type="hidden" i]:focus, 1004 input[type="hidden" i]:focus,
1001 input[type="image" i]:focus, 1005 input[type="image" i]:focus,
1002 input[type="radio" i]:focus, 1006 input[type="radio" i]:focus,
1003 input[type="reset" i]:focus, 1007 input[type="reset" i]:focus,
1004 input[type="search" i]:focus, 1008 input[type="search" i]:focus,
1005 input[type="submit" i]:focus, 1009 input[type="submit" i]:focus,
1006 input[type="file" i]:focus::-webkit-file-upload-button { 1010 input[type="file" i]:focus::-webkit-file-upload-button {
1007 outline-offset: 0 1011 outline-offset: 0
1008 } 1012 }
1009 1013
1010 a:-webkit-any-link { 1014 a:-webkit-any-link {
maheshkk 2014/08/06 21:44:11 are these unintended whitespace changes?
zhaoze.zhou 2014/08/07 15:09:19 sublime-text settings have "trim_trailing_white_sp
1011 color: -webkit-link; 1015 color: -webkit-link;
1012 text-decoration: underline; 1016 text-decoration: underline;
1013 cursor: auto; 1017 cursor: auto;
1014 } 1018 }
1015 1019
1016 a:-webkit-any-link:active { 1020 a:-webkit-any-link:active {
1017 color: -webkit-activelink 1021 color: -webkit-activelink
1018 } 1022 }
1019 1023
1020 /* HTML5 ruby elements */ 1024 /* HTML5 ruby elements */
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 @page { 1096 @page {
1093 /* FIXME: Define the right default values for page properties. */ 1097 /* FIXME: Define the right default values for page properties. */
1094 size: auto; 1098 size: auto;
1095 margin: auto; 1099 margin: auto;
1096 padding: 0px; 1100 padding: 0px;
1097 border-width: 0px; 1101 border-width: 0px;
1098 } 1102 }
1099 1103
1100 /* noscript is handled internally, as it depends on settings. */ 1104 /* noscript is handled internally, as it depends on settings. */
1101 1105
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698