| Index: third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js b/third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js
|
| index c61880a190e146f4713858a678d00dff6ead5fc5..3410517fd645f068484b1ae6729695f14bba1892 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js
|
| @@ -69,7 +69,7 @@ WebInspector.CSSMetadata = function(properties)
|
| }
|
| this._values.sort();
|
| this._valuesSet = new Set(this._values);
|
| -}
|
| +};
|
|
|
| WebInspector.CSSMetadata.VariableRegex = /(var\(--.*?\))/g;
|
| WebInspector.CSSMetadata.URLRegex = /url\(\s*('.+?'|".+?"|[^)]+)\s*\)/g;
|
| @@ -217,7 +217,7 @@ WebInspector.CSSMetadata.prototype = {
|
| }
|
| return index;
|
| }
|
| -}
|
| +};
|
|
|
| /**
|
| * @return {!WebInspector.CSSMetadata}
|
| @@ -227,7 +227,7 @@ WebInspector.cssMetadata = function()
|
| if (!WebInspector.CSSMetadata._instance)
|
| WebInspector.CSSMetadata._instance = new WebInspector.CSSMetadata(WebInspector.CSSMetadata._generatedProperties || []);
|
| return WebInspector.CSSMetadata._instance;
|
| -}
|
| +};
|
|
|
| WebInspector.CSSMetadata._distanceProperties = new Set([
|
| "background-position", "border-spacing", "bottom", "font-size", "height", "left", "letter-spacing", "max-height", "max-width", "min-height",
|
| @@ -708,7 +708,7 @@ WebInspector.CSSMetadata._propertyDataMap = {
|
| "normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light",
|
| "difference", "exclusion", "hue", "saturation", "color", "luminosity", "unset"
|
| ] },
|
| -}
|
| +};
|
|
|
| // Weight of CSS properties based on their usage from https://www.chromestatus.com/metrics/css/popularity
|
| WebInspector.CSSMetadata.Weight = {
|
|
|