2.1.123 [CSS-Level2-2009] Section G.2, Lexical scanner

V0174:

The specification states:

 num  [0-9]+|[0-9]*"."[0-9]+

All Document Modes (All Versions)

Lengths can be specified in scientific notation; for example, '5e2px' instead of '500px. The grammar for the num macro is [0-9]+|[0-9]*\.[0-9]+[ e|E [0-9]+].

Quirks Mode and IE7 Mode (All Versions)

Percentages can be specified in scientific notation; for example, '5e2%' instead of '500%'. The grammar for the num macro is [0-9]+|[0-9]*\.[0-9]+[ e|E [0-9]+].

Show: