W3C home > Mailing lists > Public > www-international@w3.org > January to March 2014

[review feedback] qa-css-charset

From: Gunnar Bittersmann <gunnar@bittersmann.de>
Date: Mon, 10 Mar 2014 15:25:50 +0100
Message-ID: <531DCB6E.30202@bittersmann.de>
To: www-international@w3.org
»»
It is not enough to simply put @charset="utf-8" at the top of the page
««

A stylesheet is not a page. Use ‘CSS file’ or ‘stylesheet’:
It is not enough to simply put <code class="">@charset="utf-8"</code> at 
the top of the page CSS file


»»
The CSS3 Syntax specification
««

Mark up as title:
The <cite>CSS3 Syntax</cite> specification


»»
<h3><a style="" id="atcharset" name="atcharset" href="#atcharset">Using 
@charset</a></h3>
««
»»
<h3><a style="" id="http" name="http" href="#http">Using HTTP</a></h3>
««

Remove style attribute.


»»
any other<code class="kw" translate="no"></code> declaration
««

Remove empty code element.


»»
So for the time being you should rely on the <code class="kw" 
translate="no">@charset</code> or HTTP header declarations instead. This 
has the additional advantage that it helps people looking at the source 
code to ascertain what the encoding of the page is.
««

This refers to @charset, but not to the HTTP header. It might read like 
this:
The former has the additional advantage …


Cheers,
Gunnar
Received on Monday, 10 March 2014 14:26:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:36 UTC