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

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

Issue 2101083002: Revert of Add autocomplete values for CSS contain (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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 "none", "objects", "spaces", "ink", "edges", "box-decoration" 629 "none", "objects", "spaces", "ink", "edges", "box-decoration"
630 ] }, 630 ] },
631 "mix-blend-mode": { values: [ 631 "mix-blend-mode": { values: [
632 "normal", "multiply", "screen", "overlay", "darken", "lighten", "color-d odge", "color-burn", "hard-light", "soft-light", 632 "normal", "multiply", "screen", "overlay", "darken", "lighten", "color-d odge", "color-burn", "hard-light", "soft-light",
633 "difference", "exclusion", "hue", "saturation", "color", "luminosity", " unset" 633 "difference", "exclusion", "hue", "saturation", "color", "luminosity", " unset"
634 ] }, 634 ] },
635 "background-blend-mode": { values: [ 635 "background-blend-mode": { values: [
636 "normal", "multiply", "screen", "overlay", "darken", "lighten", "color-d odge", "color-burn", "hard-light", "soft-light", 636 "normal", "multiply", "screen", "overlay", "darken", "lighten", "color-d odge", "color-burn", "hard-light", "soft-light",
637 "difference", "exclusion", "hue", "saturation", "color", "luminosity", " unset" 637 "difference", "exclusion", "hue", "saturation", "color", "luminosity", " unset"
638 ] }, 638 ] },
639 "contain": { values: [
640 "none", "strict", "content", "size", "layout", "style", "paint"
641 ] }
642 } 639 }
643 640
644 /** 641 /**
645 * @param {string} propertyName 642 * @param {string} propertyName
646 * @return {!WebInspector.CSSMetadata} 643 * @return {!WebInspector.CSSMetadata}
647 */ 644 */
648 WebInspector.CSSMetadata.keywordsForProperty = function(propertyName) 645 WebInspector.CSSMetadata.keywordsForProperty = function(propertyName)
649 { 646 {
650 var acceptedKeywords = ["inherit", "initial"]; 647 var acceptedKeywords = ["inherit", "initial"];
651 var descriptor = WebInspector.CSSMetadata.descriptor(propertyName); 648 var descriptor = WebInspector.CSSMetadata.descriptor(propertyName);
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 * @param {string} longhand 1084 * @param {string} longhand
1088 * @return {?Array.<string>} 1085 * @return {?Array.<string>}
1089 */ 1086 */
1090 shorthands: function(longhand) 1087 shorthands: function(longhand)
1091 { 1088 {
1092 return this._shorthands[longhand]; 1089 return this._shorthands[longhand];
1093 } 1090 }
1094 } 1091 }
1095 1092
1096 WebInspector.CSSMetadata.initializeWithSupportedProperties([]); 1093 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