Re: [CSS21] response to issue 115 (and 44)

> > 3) If neither the header nor looking for U+FEFF or @charset
> > yield an encoding, but this style sheet was loaded because
> > a document linked to it (or linked to a style sheet that in turn
> > linked to it, recursively), then use the encoding of the
> > document (or style sheet) that linked to this one.
> > 
> > 4) If all else fails, assume UTF-8.
> 
> How could step (3) fail to determine a character encoding?

Because not all stylesheets are loaded from a document?  Consider UA and user
stylesheets, if nothing else...

Boris
-- 
God does not play dice with the universe: he plays an
ineffable game of his own devising, which might be
compared, from the perspective of any of the other
players, to being involved in an obscure and complex
version of poker in a pitch-dark room, with blank
cards, for infinite stakes, with a dealer who won't
tell you the rules, and who smiles all the time.

  -- Good Omens: The Nice and Accurate Prophecies of
     Agnes Nutter, Witch, by Neil Gaiman and Terry Pratchett

Received on Saturday, 21 February 2004 14:14:05 UTC