diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-02-04 19:51:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-04 19:51:18 +0100 |
commit | e42f19932e5f54613741d7b9d1549dc652384259 (patch) | |
tree | ff92eea0fc9df0be321cd4be0e17f653684f4084 /devtools/server | |
parent | a8f6d67a2308d43d88e12f09f8b8847a24b1c1ad (diff) | |
parent | beb2d0f0d3590d9fee1519b97151672c4d255bad (diff) | |
download | aura-central-e42f19932e5f54613741d7b9d1549dc652384259.tar.gz |
Merge pull request %7 from janekptacijarabaci/devtools_inspector_cssColor4_1
Support for css-color-4 (finish)
Diffstat (limited to 'devtools/server')
-rw-r--r-- | devtools/server/actors/css-properties.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devtools/server/actors/css-properties.js b/devtools/server/actors/css-properties.js index d24c133d4..b22d8005f 100644 --- a/devtools/server/actors/css-properties.js +++ b/devtools/server/actors/css-properties.js @@ -31,8 +31,12 @@ exports.CssPropertiesActor = ActorClassWithSpec(cssPropertiesSpec, { getCSSDatabase() { const properties = generateCssProperties(); const pseudoElements = DOMUtils.getCSSPseudoElementNames(); + const supportedFeature = { + // checking for css-color-4 color function support. + "css-color-4-color-function": DOMUtils.isValidCSSColor("rgb(1 1 1 / 100%)"), + }; - return { properties, pseudoElements }; + return { properties, pseudoElements, supportedFeature }; } }); |