W3C home > Mailing lists > Public > www-style@w3.org > January 2014

[cssom] Serialization of multi-valued properties

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 15 Jan 2014 10:54:26 -0800
Message-ID: <52D6D962.9040706@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
So, Alan Stearns has been asking for serialization rules
for <position>. I was expecting to find them in CSSOM,
but the CSSOM afaict (I'm not great at reading CSSOM)
doesn't seem to handle properties composed of multiple
potentially optional values. (It handles shorthands whose
value is a composition of the longhands, but that's merely
a subset of such properties.) In particular the convention
of "shortest possible serialization" doesn't seem to be
encoded in the rules, and there doesn't seem to be any
mention of a canonical order for unordered lists.

Examples of properties that don't seem handled:
   background-position
   border-spacing
   text-decoration

~fantasai
Received on Wednesday, 15 January 2014 18:54:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:38 UTC