Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Add support for CSS unicode-range single_codepoint #1968

Open
cbikar opened this issue Jun 24, 2015 · 0 comments
Open

Add support for CSS unicode-range single_codepoint #1968

cbikar opened this issue Jun 24, 2015 · 0 comments

Comments

@cbikar
Copy link

cbikar commented Jun 24, 2015

Right now, the caja CSS Lexer only supports actual ranges as a value in the unicode-range property, like "U+0025-00FF".
According to the specification (http://dev.w3.org/csswg/css-fonts-3/#composite-fonts) it is also possible to define a single code point, like "U+A5;"
However, the CSS Lexer expects a "-" in each unicode-range value and throws this exception:

com.google.caja.lexer.ParseException: http://www.example.org:1+165: Expected - not ,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant