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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js

Issue 2177693002: DevTools: update list of CSS properties that are color aware (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 * Copyright (C) 2010 Nikita Vasilyev. All rights reserved. 2 * Copyright (C) 2010 Nikita Vasilyev. All rights reserved.
3 * Copyright (C) 2010 Joseph Pecoraro. All rights reserved. 3 * Copyright (C) 2010 Joseph Pecoraro. All rights reserved.
4 * Copyright (C) 2010 Google Inc. All rights reserved. 4 * Copyright (C) 2010 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are 7 * modification, are permitted provided that the following conditions are
8 * met: 8 * met:
9 * 9 *
10 * * Redistributions of source code must retain the above copyright 10 * * Redistributions of source code must retain the above copyright
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 "background-position", "border-spacing", "bottom", "font-size", "height", "l eft", "letter-spacing", "max-height", "max-width", "min-height", 169 "background-position", "border-spacing", "bottom", "font-size", "height", "l eft", "letter-spacing", "max-height", "max-width", "min-height",
170 "min-width", "right", "text-indent", "top", "width", "word-spacing" 170 "min-width", "right", "text-indent", "top", "width", "word-spacing"
171 ]; 171 ];
172 172
173 WebInspector.CSSMetadata._bezierAwareProperties = [ 173 WebInspector.CSSMetadata._bezierAwareProperties = [
174 "animation", "animation-timing-function", "transition", "transition-timing-f unction", "-webkit-animation", "-webkit-animation-timing-function", 174 "animation", "animation-timing-function", "transition", "transition-timing-f unction", "-webkit-animation", "-webkit-animation-timing-function",
175 "-webkit-transition", "-webkit-transition-timing-function" 175 "-webkit-transition", "-webkit-transition-timing-function"
176 ].keySet(); 176 ].keySet();
177 177
178 WebInspector.CSSMetadata._colorAwareProperties = [ 178 WebInspector.CSSMetadata._colorAwareProperties = [
179 "background", "background-color", "background-image", "border", "border-colo r", "border-top", "border-right", "border-bottom", 179 "backdrop-filter", "background", "background-color", "background-image", "bo rder", "border-color", "border-image",
180 "border-left", "border-top-color", "border-right-color", "border-bottom-colo r", "border-left-color", "box-shadow", "color", 180 "border-image-source", "border-bottom", "border-bottom-color", "border-left" , "border-left-color", "border-right",
181 "fill", "outline", "outline-color", "stroke", "text-shadow", "-webkit-box-sh adow", "-webkit-column-rule-color", 181 "border-right-color", "border-top", "border-top-color", "box-shadow", "color ", "column-rule", "column-rule-color", "fill",
182 "-webkit-text-decoration-color", "-webkit-text-emphasis", "-webkit-text-emph asis-color" 182 "list-style", "list-style-image", "outline", "outline-color", "stroke", "tex t-decoration-color", "text-shadow",
183 "-webkit-border-after", "-webkit-border-after-color", "-webkit-border-before ", "-webkit-border-before-color", "-webkit-border-end",
184 "-webkit-border-end-color", "-webkit-border-start", "-webkit-border-start-co lor", "-webkit-box-reflect", "-webkit-box-shadow",
185 "-webkit-column-rule-color", "-webkit-filter", "-webkit-mask", "-webkit-mask -box-image", "-webkit-mask-box-image-source",
186 "-webkit-mask-image", "-webkit-tap-highlight-color", "-webkit-text-decoratio n-color", "-webkit-text-emphasis",
187 "-webkit-text-emphasis-color", "-webkit-text-fill-color", "-webkit-text-stro ke", "-webkit-text-stroke-color"
183 ].keySet(); 188 ].keySet();
184 189
185 WebInspector.CSSMetadata._propertyDataMap = { 190 WebInspector.CSSMetadata._propertyDataMap = {
186 "table-layout": { values: [ 191 "table-layout": { values: [
187 "auto", "fixed" 192 "auto", "fixed"
188 ] }, 193 ] },
189 "visibility": { values: [ 194 "visibility": { values: [
190 "hidden", "visible", "collapse" 195 "hidden", "visible", "collapse"
191 ] }, 196 ] },
192 "background-repeat": { values: [ 197 "background-repeat": { values: [
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 * @param {string} longhand 1092 * @param {string} longhand
1088 * @return {?Array.<string>} 1093 * @return {?Array.<string>}
1089 */ 1094 */
1090 shorthands: function(longhand) 1095 shorthands: function(longhand)
1091 { 1096 {
1092 return this._shorthands[longhand]; 1097 return this._shorthands[longhand];
1093 } 1098 }
1094 } 1099 }
1095 1100
1096 WebInspector.CSSMetadata.initializeWithSupportedProperties([]); 1101 WebInspector.CSSMetadata.initializeWithSupportedProperties([]);
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