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