CSS Parsing Test

Note for understanding this test: In the CSS Grammar, I believe DELIM matches a ":". That is the only way that a rule like @media print { BODY { font-size: 1em; } } makes sense.

An older version of this test was invalid.

The following styles apply here:

P.pone {
	color:green;
	}

P.ptwo {
	color : blue;
	}

P.one	{
	view: @threedee {rotation-code: '}';}
	color: red;
	}

P.oneb	{
	view: @threedee {rotation-code: '}';}
	color: red;
	color: maroon;
	}

P.two	{
	work: { test: none; filed: no; };
	color: green;
	}

P.three	{
	view: @find orange { rotation: 500grad; };
	color: green;
	} P.four { color: green;
margin-left: 0;} P.five {color: green} P.six {color: green;}

P.seven {
	color: blue;
	view: color: red;
	color: green;
	color: red: view;
	}

This paragraph should be green.

This paragraph should be blue.

This paragraph should be the default color.

This paragraph should be maroon.

This paragraph should be green.

This paragraph should be green.

This paragraph should be green.

This paragraph should be green.

This paragraph should be green.

This paragraph should be green.


Valid HTML 4.0!

(Back to CSS Testing Information, David Baron)

LDB, dbaron@dbaron.org