Skip to content

[cssom] Adjacent space when serializing '/' #4282

@ewilligers

Description

@ewilligers

Each browser has variation in whether or not they include whitespace when serializing a '/' in shorthands (example):

Blink:
No spaces for specified font.
Spaces for resolved border-radius, font, grid, grid-template.

Edge 18:
No spaces for specified font.
Spaces for specified border-radius.

Firefox:
No spaces for specified font.
Spaces for specified border-radius, grid, grid-template, mask.

Safari:
No spaces for specified or resolved font.
Spaces for resolved border-radius, grid, grid-template.

Relevant spec: https://drafts.csswg.org/cssom/#serializing-css-values

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions