CSS with UTF-signature


The user agent uses a UTF-8 signature at the beginning of a css stylesheet to indicate that the encoding is UTF-8.

The HTML page is served as ISO 8859-15 and has a class name эди. This only matches the sequence of bytes in the selector of the CSS file if the selector is read as UTF-8. The CSS file encoding is established as utf-8 using only a UTF-8 signature.

Text as read from the style sheet:   (if blank, the style sheet hasn't been read at all)

Next test

Result summary & related tests
Detailed results for this test
Link to spec