W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

[csswg-drafts] [css-shapes][css3-backgrounds] No explicit <position> serialization steps in background spec

From: Manish Goregaokar via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 Aug 2016 07:54:50 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-168821806-1470124488-sysbot+gh@w3.org>
Manishearth has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-shapes][css3-backgrounds] No explicit <position> serialization
 steps in background spec ==
https://drafts.csswg.org/css-shapes/#basic-shape-serialization

https://drafts.csswg.org/css-backgrounds-3/#position

The basic-shape spec mentions:

> 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.

The backgrounds spec does not have serialization steps mentioned at 
all. Can we assume the same serialization steps?

(This doesn't match existing behavior -- browsers serialize `center 
center` as `center center` instead of `50% 50%` for background 
position)

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/368 using your GitHub 
account
Received on Tuesday, 2 August 2016 07:56:57 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:22 UTC