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 | fc7d9fade54dfbe275c4808dabe30a19415082e0 (patch) | |
tree | ff92eea0fc9df0be321cd4be0e17f653684f4084 /devtools/server/actors | |
parent | 34cdbd1366224f040136c3a747709ae5e92f5956 (diff) | |
parent | f3aeeab64f6a5ae0639805b2c71e13323258e2c1 (diff) | |
download | uxp-fc7d9fade54dfbe275c4808dabe30a19415082e0.tar.gz |
Merge pull request #7 from janekptacijarabaci/devtools_inspector_cssColor4_1
Support for css-color-4 (finish)
Diffstat (limited to 'devtools/server/actors')
-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 d24c133d42..b22d8005fa 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 }; } }); |