OLD | NEW |
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 Loading... |
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 Loading... |
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([]); |
OLD | NEW |