You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-shapes] Why does this spec need to special-case serialization of <position>? #2301
The 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?
This has been resolved in #2274 (comment)
and the spec should be updated by removing the relevant language from the shapes spec. All <position> values serialize the same way.
Activity
emilio commentedon Feb 12, 2018
This is https://drafts.csswg.org/css-shapes/#basic-shape-serialization, btw.
fantasai commentedon Feb 14, 2018
See related issue in #2274 ...
ewilligers commentedon Sep 5, 2018
This has been resolved in
#2274 (comment)
and the spec should be updated by removing the relevant language from the shapes spec. All
<position>values serialize the same way.astearns commentedon Oct 16, 2019
I've removed the wrong text from css-shapes.