[csswg-drafts] [cssom] Spec no longer defines the general "shortest serialization" principle

tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom] Spec no longer defines the general "shortest serialization" principle ==
Back in [the 2011 WD](https://www.w3.org/TR/2011/WD-cssom-20110712/#serializing-css-values), there was a set of "serialization principles", giving general guidance about how to select the correct serialization of a CSS property.  In particular, it gave guidance about how to order re-orderable values (use the grammar order) and how to omit omittable values (do so whenever it wouldn't change the result of reparsing, unless it would leave you with an empty value).  The CSSWG still refers to and understands these principles as a general "shortest form" idea.

However, that no longer seems to be present in the current draft. In particular, it's missing from the following [2013 WD](https://www.w3.org/TR/2013/WD-cssom-20131205/#serializing-css-values).  This, or something like it, needs to be reinstated so as to actually give some guidance about how to serialize property values.

(We obliquely refer to this principle in the note at the end of [Align's baseline section](https://drafts.csswg.org/css-align/#baseline-values), and dbaron requests a link to the principle we're alluding to in #1415.)

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

Received on Monday, 26 June 2017 16:55:34 UTC