[csswg-drafts] [cssom] Add resolved value special case for background-image and similar? (#9659)

andruud has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom] Add resolved value special case for background-image and similar? ==
As far as I can tell, the [resolved value](https://drafts.csswg.org/cssom/#resolved-value) of `background-image` is defined by specs as the _computed value_. This means that e.g. `currentcolor` within gradients should _not_ be resolved in the return value of `getComputedStyle(e).backgroundImage`, yet all browsers appear to do this anyway.

Should we change cssom and say that the resolved value for `background-image` is the _used_ value? (May also be relevant for other properties, e.g. `border-image`). Or do we try to fix implementations instead? @emilio


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9659 using your GitHub account


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

Received on Thursday, 30 November 2023 13:03:07 UTC