W3C home > Mailing lists > Public > www-style@w3.org > October 2010

[css3-2d-transforms][css3-3d-transforms] Clarify equivalency with position: relative

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Sat, 23 Oct 2010 02:55:43 +0000
To: www-style list <www-style@w3.org>
Message-ID: <045A765940533D4CA4933A4A7E32597E2810CEF5@TK5EX14MBXC120.redmond.corp.microsoft.com>
In CSS3 2D Transforms[1], we have: 

# The transform property does not affect the flow of the content 
# surrounding the transformed element. However, the value of the 
# overflow area takes into account transformed elements. This 
# behavior is similar to what happens when elements are translated 
# via relative positioning.

In CSS3 3D Transforms [2] :

# The object acts as though position: relative has been specified, but also acts as a containing block for fixed positioned descendants.

This language is rather stronger e.g. it could be read as saying top and left position the element like they would a position:relative 
element. However, in the perspective property definition [3], we have:

# ...It also establishes a containing block (somewhat similar to position:relative), 

Which would imply it's not supposed to act as though it was position:relative.

Given current implementations, I assume 2D Transforms and 3D's perspective property define the intended behavior ?

[1] http://www.w3.org/TR/css3-2d-transforms/
[2] http://www.w3.org/TR/css3-3d-transforms/
[3] http://www.w3.org/TR/css3-3d-transforms/#perspective-property
Received on Saturday, 23 October 2010 02:56:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:40 UTC