Skip to content

Root margin parsing algorithm shouldn't allow non-pixel absolute lengths #308

Open
@alijuma

Description

@alijuma

The "parse a root margin" algorithm says "If token is an absolute length dimension token, replace it with a an equivalent pixel length". But all implementations (Chrome, Edge, Firefox) throw exceptions on non-pixel absolute lengths (e.g., lengths in cm, mm, in, etc.). So the spec language needs to be updated.

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