I’m currently using the Adobe UXP Developer Tool Version 1.7.0 (1.7.0.13)
I’m noticing it complaining about errors from comments wrapped in /* */ tags when I’m looking at the Elements view. Here is one example:
uxp://uxp-internal/domjs_scripts.js:2 Uncaught e {name: "CssSyntaxError", reason: "Unknown word", file: "/inline", source: "Declarations to share across the CSS", line: 1, …}
logInternalUncaughtException @ uxp://uxp-internal/r…scripts_loader.js:2
h @ uxp://uxp-internal/domjs_scripts.js:2
parseCSSDeclaration @ uxp://uxp-internal/domjs_scripts.js:2
_getCssProperties @ uxp://uxp-internal/devtools_scripts.js:1
_getCssStyle @ uxp://uxp-internal/devtools_scripts.js:1
get cssStyle @ uxp://uxp-internal/devtools_scripts.js:1
get cssStyle @ uxp://uxp-internal/devtools_scripts.js:1
get cssRule @ uxp://uxp-internal/devtools_scripts.js:1
_getCssRule @ uxp://uxp-internal/devtools_scripts.js:1
(anonymous) @ uxp://uxp-internal/devtools_scripts.js:1
_getMatchedCSSRules @ uxp://uxp-internal/devtools_scripts.js:1
getMatchedStylesForNode @ uxp://uxp-internal/devtools_scripts.js:1
handleMessage @ uxp://uxp-internal/devtools_scripts.js:1
_handleModuleMessage @ uxp://uxp-internal/devtools_scripts.js:1
_executeMethod @ uxp://uxp-internal/devtools_scripts.js:1
_handleJsonMessage @ uxp://uxp-internal/devtools_scripts.js:1
handleMessage @ uxp://uxp-internal/devtools_scripts.js:1
i @ uxp://uxp-internal/devtools_scripts.js:1
That one comes from this entry:
:root {
/* Declarations to share across the CSS */
--bottomOfResultsFontSize: 11px;
--debuggingBorderColor: none;
--themeAware-border-color: var(--uxp-host-border-color);
--themeAware-background-color: var(--uxp-host-background-color);
}
but all will error if I’m looking at the Elements view. Here is a bunch showing the same type of error:
And all of those “unknown word” strings are in /* */ comments in the CSS file.
Besides deleting the comments, any suggestions? Do I need to worry? Is there somewhere else to report bugs?
jsw