W3C home > Mailing lists > Public > www-style@w3.org > February 2004

[CSS21] response to issue 115 (and 44)

From: Bert Bos <bert@w3.org>
Date: Thu, 12 Feb 2004 22:25:52 +0100
Message-ID: <16427.61280.674857.670826@lanalana.inria.fr>
To: Tex Texin <tex@i18nguy.com>, Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: www-style@w3.org

This is the CSS WG's response to an issue you raised on the last CSS
2.1 draft (http://www.w3.org/TR/2003/WD-CSS21-20030915). We want to
publish CSS 2.1 as a CR in about two weeks. Please let us know this
week if you think our response is wrong.

Your e-mail:
    http://www.w3.org/mid/3F8DBE91.7A3671E@i18nguy.com
    2) Section 4.4 on CSS document representation
    Mention should be made of the Unicode BOM and its relationship to
    the encoding of the file.

    Is BOM allowed?

    The @charset rule is required to be the first character of the file.
    For some people, it is confusing whether the BOM is considered a
    character. (To me it is clear that it is not.)

Reply: http://www.w3.org/mid/20031015223936.GB5773@darby.dbaron.org
Response: http://www.w3.org/mid/3F8DDC83.8FE77A0B@i18nguy.com

CSS WG response:
    [This is a response to the response to issue 44 as well.]
    The new text reads:

      When a style sheet resides in a separate file, user agents must
      observe the following priorities when determining a style
      sheet's character encoding (from highest priority to lowest):

      1. An HTTP "charset" parameter in a "Content-Type" field
      2. The @charset at-rule
      3. BOM
      4. <link charset=""> or other metadata from the linking
         mechanism (if any) 
      5. charset of referring document (if any)
      6. UA-dependent mechanisms


For the CSS WG,
Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos/                              W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Thursday, 12 February 2004 16:28:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:26 GMT