@charset declaration (lowercase)

Test passes if you see a green box.


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


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 lower 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

Result summary & related tests