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

[csswg-drafts] [css-shapes] Why does this spec need to special-case serialization of <position>?

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Mon, 12 Feb 2018 00:21:21 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-296241344-1518394880-sysbot+gh@w3.org>
emilio has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-shapes] Why does this spec need to special-case serialization of <position>? ==
See https://github.com/w3c/web-platform-tests/pull/9339#issuecomment-362977519.

The spec says:

> The <position> values (including the defaults) in ellipse() and circle() serialize to their 2- and 4-value forms only, preferring the 2-value form when it can be expressed without calc(), preferring left and top origins, and preferring 0% over a zero length.

Firefox right now special-cases that to follow the spec, but I think it'd be more sane and consistent to just use the regular serialization. Is there any reason that sentence was added to the spec?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2301 using your GitHub account
Received on Monday, 12 February 2018 00:22:39 UTC

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