Re: [csswg-drafts] [cssom-1] `CSSStyleDeclaration.getPropertyPriority()` for resolved values (#9421)

I think this is how it should work per spec, because https://drafts.csswg.org/cssom-1/#dom-window-getcomputedstyle doesn't set the important flag anywhere:

> decls to a list of all longhand properties that are [supported CSS properties](https://drafts.csswg.org/cssom-1/#supported-css-property), in lexicographical order, with the value being the [resolved value](https://drafts.csswg.org/cssom-1/#resolved-value) computed for obj using the style rules associated with doc. Additionally, append to decls all the [custom properties](https://drafts.csswg.org/css-variables-1/#custom-property) whose [computed value](https://drafts.csswg.org/css-cascade-5/#computed-value) for obj is not the [guaranteed-invalid value](https://drafts.csswg.org/css-variables-2/#guaranteed-invalid-value).

Let me know / reopen if that's somehow not your read as well, or if any further clarification is needed.

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9421#issuecomment-1738916991 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 28 September 2023 10:52:05 UTC