W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

[csswg-drafts] [cssom] Define serialization of specified values with more detail (#5642)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Tue, 20 Oct 2020 22:07:09 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-725977850-1603231627-sysbot+gh@w3.org>
tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom] Define serialization of specified values with more detail ==
Serialization of computed values is generally governed by applying the shortest-serialization principle to the computed value. It's a bit handwavey, and there are some exceptions, but overall it works.

But specified values do *not* seem to serialize according to the SSP in general; instead, they seem to usually retain more details of what the author originally wrote. Sometimes it's literally the original text, sometimes some light modification is done. (For example, Chrome sorts the 'contain' keywords specified, but doesn't combine them into shorthands like it'll do for computed values.)

I suspect there's a lot of non-interop around this, but we should have more details at *least* on general principles, even if we don't have all the weird specifics.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 20 October 2020 22:07:10 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:20 UTC