Skip to content

[css-backgrounds] What is the serialization "background-position: top right 10px"? #6586

Closed
@smfr

Description

@smfr

https://www.w3.org/TR/css-backgrounds-3/#background-position doesn't say how the edge-relative background position values serialize (like background-position: top right 10px).

This is tested by css/css-backgrounds/parsing/background-position-x-computed.html and css/css-backgrounds/parsing/background-position-y-computed.html which in Gecko test that right -10px serializes as calc(100% + 10px) and bottom -10px serializes as calc(100% + 10px) but the spec does not describe this.

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