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

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):

1) <body bgcolor="ffff00">, et. al. works in quirks mode but
    not standards
2) <font size="n"> gives different results in quirks mode.
3) The inline box model thing.  This will bite any site that
    slices up an image into table cells.
4) height="100%" on <img>, <td>, and so forth.
5) <table align="right|left"> line-breaks differently in quirks mode
6) hspace and vspace on tables only supported in quirks mode
7) rowspan/colspan="0" handled differently in quirks mode
8) <td width="n" nowrap> handled very differently in quirks mode

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.... ;)

-Boris

Received on Wednesday, 3 September 2008 05:01:02 UTC