Re: [csswg-drafts] [css-backgrounds] [css-masking] [cssom] serialization of the computed value for `background` and `mask` (#8453)

Yes, that's the point. The serialization algorithm strives for shorter representations of values. So the output in Blink and WebKit is wrong.

And it seems WebKit already has a patch for it: https://bugs.webkit.org/show_bug.cgi?id=252460

Regarding the serialization of `background`, there's also a [WPT for its serialization](http://wpt.live/css/css-backgrounds/parsing/background-shorthand-serialization.html). Though it only tests the serialization of `.style.background` and not the computed value via `getComputedStyle()`. So I guess the WPT test needs to be extended to also cover computed values.

I couldn't find a Blink bug regarding the serialization of `background`, so I created one at https://bugs.chromium.org/p/chromium/issues/detail?id=1417904.

Sebastian

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


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

Received on Monday, 20 February 2023 22:07:20 UTC