2.1.2 [HTML5:2014] Section 2.4.4.3 Floating-point numbers

V0004: Multiple decimal points in a number are considered valid

The specification states:

 2.4.4.3 Floating-point numbers
     ...
     The rules for parsing floating-point number values are as given in the following 
     algorithm. This algorithm must be aborted at the first step that returns something. 
     This algorithm will return either a number or an error.
         ...
         9.  If the character indicated by position is a U+002E FULL STOP (.), and that is 
             not the last character in input, and the character after the character 
             indicated by position is an ASCII digit, then set value to zero and jump to 
             the step labeled fraction.
         10. If the character indicated by position is not an ASCII digit, then return an 
             error.

IE11 Mode, IE10 Mode, IE9 Mode, IE8 Mode, IE7 Mode, and IE5 (Quirks) Mode (All versions)

Multiple decimal points in a number are considered valid. All but the first are ignored.

V0005: The absence of a number after "e" or "E", or optional "-" or "+", is considered a valid floating-point number

The specification states:

 2.4.4.3 Floating-point numbers
  
     A string is a valid floating-point number if it consists of:
         1. Optionally, a U+002D HYPHEN-MINUS character (-).
         2. One or both of the following, in the given order:
             1. A series of one or more ASCII digits.
             2.  Both of the following, in the given order:
                 1. A single U+002E FULL STOP character (.).
                 2. A series of one or more ASCII digits.
         3. Optionally:
             1.  Either a U+0065 LATIN SMALL LETTER E character (e) or a U+0045 LATIN 
                 CAPITAL LETTER E character (E).
             2.  Optionally, a U+002D HYPHEN-MINUS character (-) or U+002B PLUS SIGN 
                 character (+).
             3.  A series of one or more ASCII digits.

IE11 Mode, IE10 Mode, IE9 Mode, IE8 Mode, IE7 Mode, and IE5 (Quirks) Mode (All versions)

The absence of a number after "e" or "E", or optional "-" (U+002D) or "+" (U+002B), is considered a valid floating-point number. If there is no sign after the "E" or "e", "+" is assumed.  If there is no number, 0 is assumed.

V0002: Characters "d" and "D" can be used in place of "e" and "E" in a floating-point number

The specification states:

 2.4.4.3 Floating-point numbers
  
     A string is a valid floating-point number if it consists of:
  
         1.  Optionally, a "-" (U+002D) character.
         2.  One or both of the following, in the given order:
             1.  A series of one or more ASCII digits.
             2.  ...
                 1.  A single "." (U+002E) character.
                 2.  A series of one or more ASCII digits.
         3. Optionally:
             1.  Either a "e" (U+0065) character or a "E" (U+0045) character.
             2.  Optionally, a "-" (U+002D) character or "+" (U+002B) character.
             3.  A series of one or more ASCII digits.

All document modes (All versions)

Characters "d" and "D" can be used in place of "e" and "E" in a floating-point number.