[Webkit-unassigned] [Bug 261552] getComputedStyle(elt).backgroundBlendMode returns only the first property of a list (background-blend-mode)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 11 00:55:50 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=261552
--- Comment #3 from Karl Dubost <karlcow at apple.com> ---
I do not have much knowledge on this code, but the `getComputedStyle()` seems to take into account a list of values `CSSValueList::createSpaceSeparated(WTFMove(list));`.
So maybe this is related to the computation of `auto& layers = style.backgroundLayers();`
Probably Antti is a better person for understanding what is the source of the issue.
Once understood Maybe it will be easy to fix.
oh wait, is it because it should be comma instead of space.
`CSSValueList::createCommaSeparated(WTFMove(list));`.
instead of:
`CSSValueList::createSpaceSeparated(WTFMove(list));`.
```
> target.style.backgroundBlendMode
< "screen, overlay"
> getComputedStyle(target)['background-blend-mode']
< "screen"
```
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231011/1ea6fb58/attachment.htm>
More information about the webkit-unassigned
mailing list