New issue
Advanced search Search tips

Issue 841960 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

CSS fast path accepts invalid <length>s

Project Member Reported by f...@opera.com, May 10 2018

Issue description

Looks like the fast-path is accepting the "n." form since it relies on  CharactersToDouble for "tokenization", thus accepting a wider range of inputs than CSSTokenizer does.

Example: https://jsfiddle.net/10aumthz/

Spec: https://drafts.csswg.org/css-syntax/#consume-number
     (https://drafts.csswg.org/css-syntax/#number-token-diagram)
 

Comment 1 by e...@chromium.org, May 14 2018

Cc: futhark@chromium.org
Status: Available (was: Untriaged)

Sign in to add a comment