Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDeclaration must be ignored if it includes CSS-wide keyword as part, but not whole, of it #15054
Labels
Milestone
Comments
|
This seems to be a fundamental issue in CSS parser of Servo. @SimonSapin could you have a look at this issue? |
|
#15183 fixes the font-family case. (Note though that the definition of With a quick look at the parsing code for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example the following code:
The declaration of
font-familymust be dropped because the CSS-wide keywordinitialis not a valid<custom-ident>.There are also examples that CSS-wide keywords is accepted as something other than
<custom-ident>:In the example above, the
initialvalue should not be accepted at all given the grammar.