CSS Parser Flashcards

1
Q

Answer “True” or “False” to the following sentence:

CSS can be defined by a context free grammar.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Answer “True” or “False” to the following sentence:

CSS can be defined by a context free grammar.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which parser generators does WebKit use?

A

Bison and Flex.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which parser generator does Gecko use?

A

None. The parser is manually written.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a CSS file parsed into?

A

It’s parsed into a StyleSheet object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Answer “True” or “False” to the following sentence:

CSS can be defined by a context free grammar.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does a StyleSheet object contain?

A

CSS rule objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does a CSS rule object contain?

A

Selector and declaration objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly