W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

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

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Feb 2018 00:05:33 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-363609204-1517961932-sysbot+gh@w3.org>
I'd note that it's probably worth making it clear that the principles are principles and probably not normative text.  In particular, I probably wouldn't want to see an implementor follow the principles to change something that's currently interoperable to be non-interoperable, but I would like to see the principles drive decisions for new features, and (within the constraints of web compatibility) for existing features that aren't currently interoperable.

I'd also note that some other principles for serialization are:
* serialization should always produce syntax that is valid when reparsed
* the composite function of serialize(parse()) should be idempotent, that is, reparsing and reserializing the result of serialization should produce the same thing you got from the first serialization

GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1564#issuecomment-363609204 using your GitHub account
Received on Wednesday, 7 February 2018 00:05:37 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC