[cfe-dev] patch for auto show/hide macro expansion in CSS

Oliver Hunt oliver at apple.com
Fri Apr 18 11:39:03 PDT 2008


On Apr 18, 2008, at 10:01 AM, Cédric Venet wrote:

>> XHTML doctypes are a very fast way to trigger quirks mode in those
>> browser that recognise xhtml (ie. not IE which will
>> treat the doctype as nonsense and go into quirks mode anyway)
>
> From my experience, xhtml work well with IE6&7 et FF. The problem of  
> serving
> xhtml as text/html is more serious. Anyway I wasn't especially  
> attached to
> xhtml, it was just that I copied it from the last webpage I wrote.
Ie does not support xhtml -- the only time it will open xhtml is if it  
is being served with a html mimetype,
which triggers quirks mode in those browser that support it

>> In general the HTML5 doctype will trigger standards mode in most
>> browsers (Firefox, IE, Opera, and anything
>> WebKit based) and that's very simple:
>> <!doctype html>
>
> From:
> http://en.wikipedia.org/wiki/Quirks_mode
>
> it seem NS6 don't like it and using a html5 doctype for html4 page  
> seem a
> little strange.
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> or
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> Could be better...
However html5 is by and large backwards compatible with html4 -- most  
of html5 revolves around defining the
handling of the tag soup that is html.
> Cédric
--Oliver





More information about the cfe-dev mailing list