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

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

Issue 2085523003: Add autocomplete values for CSS contain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 ] }
639 } 642 }
640 643
641 /** 644 /**
642 * @param {string} propertyName 645 * @param {string} propertyName
643 * @return {!WebInspector.CSSMetadata} 646 * @return {!WebInspector.CSSMetadata}
644 */ 647 */
645 WebInspector.CSSMetadata.keywordsForProperty = function(propertyName) 648 WebInspector.CSSMetadata.keywordsForProperty = function(propertyName)
646 { 649 {
647 var acceptedKeywords = ["inherit", "initial"]; 650 var acceptedKeywords = ["inherit", "initial"];
648 var descriptor = WebInspector.CSSMetadata.descriptor(propertyName); 651 var descriptor = WebInspector.CSSMetadata.descriptor(propertyName);
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 * @param {string} longhand 1087 * @param {string} longhand
1085 * @return {?Array.<string>} 1088 * @return {?Array.<string>}
1086 */ 1089 */
1087 shorthands: function(longhand) 1090 shorthands: function(longhand)
1088 { 1091 {
1089 return this._shorthands[longhand]; 1092 return this._shorthands[longhand];
1090 } 1093 }
1091 } 1094 }
1092 1095
1093 WebInspector.CSSMetadata.initializeWithSupportedProperties([]); 1096 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