Re: [csswg-drafts] [css-???] Standardise a binary representation for CSS (#3334)

At least for XML, EXI is best with a tightly constrained vocabulary in terms of content models, attributes, and attribute values. The efficiency drops as soon as new values, attributes, or elements are added.

I guess the same would be true for a binary representation of a CSS stylesheet; it would need a complete list of property names, and the list of property values for each (plus at rules). Given the rate at which CSS changes, this would seem to call for _weekly_ updates to the binary format.

A binary serialization of CSSOM could be interesting, but includes all the properties and values on each node. Selectors plus the cascade and inheritance are effectively a compression step, compared to explicitly listing for all nodes.

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

Received on Thursday, 10 January 2019 13:15:39 UTC