no semicolon at end of charset rule

Test passes if there is a green rectangle below.

This test is only valid if the user agent recognises the @charset rule.

text

Assertion: If a @charset declaration is missing a final semicolon, the encoding declaration will not be recognised.

Notes:
The HTML page is served as UTF-8. The CSS stylesheet is in ISO 8859-15. For the test to be successful, the stylesheet has to be read as ISO 8859-15. The @charset rule is not correctly formed, so should be ignored, but the stylesheet should still be used.

If the box is blue, the stylesheet hasn't been read at all.

Next test
xhtml5 as xml

Related tests