3.72 character-encoding-017

Expected results

There should be a green rectangle drawn for this test.

Actual results

IE8 Mode, IE9 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)

There is a small green line at the bottom of a red rectangle but there is no green rectangle that is visible. Note that this variance does not apply to IE10 mode, which handles the case according to specification.

The test case fails because the style sheet parsing is expected to stop when there is a byte-order mark (in this case, EF BB BF) that conflicts with the @charset declaration.

Related Variation

Section 2.1.14, V0008

Show: