Skip to content

Is it possible to get a hint on a exercise #471

Answered by pavpanchekha
Pluppen asked this question in Q&A
Discussion options

You must be logged in to vote

Sure, happy to give a hint. There are a couple of steps you will need to do in this exercise. First, you'll need to change the parser so that font: bold italic 100% Times can be parsed. That involves changing CSSParser.pair. Then, once you can parse it, you'll want to treat this shorthand property as if it were multiple pairs, like font-weight: bold; font-style: italic; font-size: 100%; font-family: Times. That involves changing CSSParser.body.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pavpanchekha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants