Skip to content

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

Closed

Description

@emilio

See web-platform-tests/wpt#9339 (comment).

The spec says:

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?

Activity

  1. emilio commented on Feb 12, 2018

    @emilio
    CollaboratorAuthor
  2. fantasai commented on Feb 14, 2018

    @fantasai
    Collaborator

    See related issue in #2274 ...

  3. ewilligers commented on Sep 5, 2018

    @ewilligers
    Contributor

    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.

  4. astearns commented on Oct 16, 2019

    @astearns
    Member

    I've removed the wrong text from css-shapes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions