Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

CSS parser incorrectly parses "1.em" as "1em" #630

@GoogleCodeExporter

Description

@GoogleCodeExporter
We are rewriting:

padding-top: 1.em

to:

padding-top:1em

CSS spec says that the number token is:

num     [0-9]+|[0-9]*\.[0-9]+

Spec CSS parser suggests tokenizing this as:

IDENT(padding-top) : INT(1) DELIM(.) IDENT(em)

not as:

IDENT(padding-top) : DIM(1,em)

Original issue reported on code.google.com by sligocki@google.com on 27 Feb 2013 at 7:26

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