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

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

Issue 1958073002: Introduce :-internal-shadow-host-has-appearance pseudo class, and apply it to METER element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove null host check Created 4 years, 7 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 833 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 display: inline-block; 844 display: inline-block;
845 height: 1em; 845 height: 1em;
846 width: 5em; 846 width: 5em;
847 vertical-align: -0.2em; 847 vertical-align: -0.2em;
848 -webkit-user-modify: read-only !important; 848 -webkit-user-modify: read-only !important;
849 } 849 }
850 850
851 meter::-webkit-meter-inner-element { 851 meter::-webkit-meter-inner-element {
852 -webkit-appearance: inherit; 852 -webkit-appearance: inherit;
853 box-sizing: inherit; 853 box-sizing: inherit;
854 display: none;
854 -webkit-user-modify: read-only !important; 855 -webkit-user-modify: read-only !important;
855 height: 100%; 856 height: 100%;
856 width: 100%; 857 width: 100%;
857 } 858 }
858 859
860 meter::-webkit-meter-inner-element:-internal-shadow-host-has-appearance {
861 display: block;
862 }
863
864 meter::-internal-fallback:-internal-shadow-host-has-appearance {
865 display: none;
866 }
867
859 meter::-webkit-meter-bar { 868 meter::-webkit-meter-bar {
860 background: linear-gradient(to bottom, #ddd, #eee 20%, #ccc 45%, #ccc 55%, # ddd); 869 background: linear-gradient(to bottom, #ddd, #eee 20%, #ccc 45%, #ccc 55%, # ddd);
861 height: 100%; 870 height: 100%;
862 width: 100%; 871 width: 100%;
863 -webkit-user-modify: read-only !important; 872 -webkit-user-modify: read-only !important;
864 box-sizing: border-box; 873 box-sizing: border-box;
865 } 874 }
866 875
867 meter::-webkit-meter-optimum-value { 876 meter::-webkit-meter-optimum-value {
868 background: linear-gradient(to bottom, #ad7, #cea 20%, #7a3 45%, #7a3 55%, # ad7); 877 background: linear-gradient(to bottom, #ad7, #cea 20%, #7a3 45%, #7a3 55%, # ad7);
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 @page { 1126 @page {
1118 /* FIXME: Define the right default values for page properties. */ 1127 /* FIXME: Define the right default values for page properties. */
1119 size: auto; 1128 size: auto;
1120 margin: auto; 1129 margin: auto;
1121 padding: 0px; 1130 padding: 0px;
1122 border-width: 0px; 1131 border-width: 0px;
1123 } 1132 }
1124 1133
1125 /* noscript is handled internally, as it depends on settings. */ 1134 /* noscript is handled internally, as it depends on settings. */
1126 1135
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/SelectorChecker.cpp ('k') | third_party/WebKit/Source/core/css/parser/CSSParserSelector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698