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

[css3-2d-transforms] Percentages and elements rendered as multiple boxes

From: Řyvind Stenhaug <oyvinds@opera.com>
Date: Wed, 09 Sep 2009 19:37:10 +0200
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.uzz278osru61ud@oyvinds-desktop>
The property definition tables in sections 2 and 3 both state that  
percentages "refer to the size of the element's box". However, both  
'transform' and 'transform-origin' may apply to inline-level elements,  
which may generate multiple boxes.

(Safari doesn't support applying these properties on non-replaced inlines  
at all, but Firefox seems to transform the boxes individually, at least  
when line-breaking.)

As for block-level elements there's display:list-item which also generates  
more than one box (in this case it doesn't make sense to transform the  
marker box on its own).

Řyvind Stenhaug
Core Norway, Opera Software ASA
Received on Wednesday, 9 September 2009 17:37:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:34:29 UTC