Bug: Classes and IDs set as number recognized

Classes and IDs cannot start with a dash or a digit, styles must be ignored, see Forward-compatible parsing and SGML basic types.

Styles:


P.1 { color: red }

 #1 { color: red }

Example:

<P CLASS="1">

this should not be red

</P>
<P ID="1">

this should not be red

</P>