W3C home > Mailing lists > Public > www-style@w3.org > November 2009

[CSS21] Scaling of replaced elements

From: James Hopkins <james@idreamincode.co.uk>
Date: Thu, 26 Nov 2009 22:49:19 +0000
Message-Id: <E2B5EC67-DBC6-4DBF-9863-67815D48B00D@idreamincode.co.uk>
To: www-style@w3.org
Currently, the spec [1] states that, for replaced elements with an  
intrinsic ratio, it is an optional requirement that a UA scale the  
element.

I'd like to propose that the current spec is further clarified so that  
scaling a replaced element is recommended (SHOULD), as opposed to just  
optional (MAY).

Leaving scaling as optional could (although unlikely) result in a  
vendor implementing behavior that differs from currently consistent  
implementations in other browsers - FF, Safari, IE, and Opera all  
scale replaced elements (which have an intrinsic ratio) in this way.  
More so, authors have become reliant on the behavior found in these  
existing implementations, and to allow the possibility of a differing  
implementation would no doubt affect interoperability.

*ASIDE*
Surely, the aforementioned prose should be repeated in http://www.w3.org/TR/CSS21/visudet.html#the-height-property 
  too?

[1] http://www.w3.org/TR/CSS21/visudet.html#the-width-property
Received on Thursday, 26 November 2009 22:49:58 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:22 GMT