W3C home > Mailing lists > Public > www-style@w3.org > March 2006

Re: [css21] height: [percent]

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Fri, 3 Mar 2006 10:44:19 -0800
Message-ID: <006201c63ef2$7b637080$c302000a@internal.toppro.net>
To: "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: <www-style@w3.org>

----- Original Message ----- 
From: "Boris Zbarsky" <bzbarsky@mit.edu>
| Andrew Fedoniouk wrote:
| > Consider following html:
| >
| > <html><body>
| > <p><img style="height:50%;"src="..." /></p>
| > </body></html>
| >
| > I didn't find any UA which follows rule [1]:
| That's because you're testing quirks mode.  Please add a doctype to your HTML
| and don't bother testing spec compliance in modes where it's specifically 
| For what it's worth, for Gecko this specific quirk is explicitly listed in
| http://developer.mozilla.org/docs/Mozilla_Quirks_Mode_Behavior
| -Boris

Thanks, Boris,

I knew you will say that :)

The problem is that if I will add something like this:

then all popular UAs shows document above differently.

Without doctype declaration they are at least united in how to render this.
Which makes doctype useless in some cases, IMO.

But this is out of scope of course. It is enough if Mozilla will support this 

Andrew Fedoniouk.
Received on Friday, 3 March 2006 18:44:55 GMT

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