@charset declaration (uppercase)

Test passes if you see a green box.

ÜÀÚ

Assertion: The user agent respects the encoding of a css stylesheet declared in an uppercase @charset rule.

Notes:

The HTML page is served as UTF-8. The CSS file encoding is established as ISO 8859-15 using only an @charset rule. The name of the encoding is in upper case.

The letters shown are for debugging, should the test fail. Visible letters (left) show what was read from the CSS file; letters that appear when highlighted (right) show what they should match in the HTML.

Next test
HTML5

css-encoding-006
Result summary & related tests