CSS Parser Flashcards
1
Q
Answer “True” or “False” to the following sentence:
CSS can be defined by a context free grammar.
A
True
2
Q
Answer “True” or “False” to the following sentence:
CSS can be defined by a context free grammar.
A
True
3
Q
Which parser generators does WebKit use?
A
Bison and Flex.
4
Q
Which parser generator does Gecko use?
A
None. The parser is manually written.
5
Q
What is a CSS file parsed into?
A
It’s parsed into a StyleSheet object.
6
Q
Answer “True” or “False” to the following sentence:
CSS can be defined by a context free grammar.
A
True.
7
Q
What does a StyleSheet object contain?
A
CSS rule objects.
8
Q
What does a CSS rule object contain?
A
Selector and declaration objects.