Re: ISSUE-54 (html5-doctype-vs-xslt): XSLT 1.0 can not generate HTML5 documents [HTML 5 spec]

On Wed, 03 Sep 2008 07:00:19 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> Karl Dubost wrote:
>> [quirks mode][1]:
>>  * ie box model
>> * vertical alignment (most of the time explicit fixed in CSS)
>> * font styles in tables
>  > * …
>  >
>  > I wonder
>  >
>  > 1. how many of these 50% pages have CSS instructions
>
> Here are the quirks mode things most likely to bite sites suddenly  
> switched to standards mode which don't use any CSS at all (all from the  
> page you cite, so somewhat Gecko-specific; I'm not sure that page is  
> completely up to date at this point):

Some quirks can be copied to standards mode without breaking anything.


> 1) <body bgcolor="ffff00">, et. al. works in quirks mode but
>     not standards

This one can be changed in standards mode to match quirks (they do in IE  
and Opera).


> 2) <font size="n"> gives different results in quirks mode.

This not.


> 3) The inline box model thing.  This will bite any site that
>     slices up an image into table cells.

Nor this, I think. Probably too late now. :-(


> 4) height="100%" on <img>, <td>, and so forth.

This is probably possible to copy to standards mode, but that would need a  
change to the CSS spec.


> 5) <table align="right|left"> line-breaks differently in quirks mode

Dunno about this one.


> 6) hspace and vspace on tables only supported in quirks mode

I guess this could be copied to standards mode.


> 7) rowspan/colspan="0" handled differently in quirks mode

I think rowspan and colspan can work the same in both (as specced in  
HTML5).


> 8) <td width="n" nowrap> handled very differently in quirks mode

Need to look into this one.


> In any case, #3, #4 and #8 would break quite a number of table-based  
> layouts, in many cases to the point of the page being completely  
> unusable....
>
>> I also wonder if people will really protest if their site change to  
>> strict mode
>
> Yes.  Especially if the site's users suddenly can't use it as a  
> result.... ;)

-- 
Simon Pieters
Opera Software

Received on Wednesday, 3 September 2008 08:23:42 UTC