W3C home > Mailing lists > Public > www-style@w3.org > July 1999

Re: Rotated Content

From: David Perrell <davidp@earthlink.net>
Date: Sat, 3 Jul 1999 20:19:47 -0700
Message-ID: <033c01bec5cc$13f55cc0$15a8a8c0@DPER>
To: "www-style" <www-style@w3.org>
Ian Hickson wrote:
>
>   Angles are measured anti-clockwise from the positive x direction,
>   and rotations are based on the center of the box. So a 180 degree
>   rotation would have the same effect as mirroring and flipping the
>   box (position and size would be left unchanged).


Might it not be simpler, implementation-wise, to assume rotation point
to be the upper-left corner of the box, and to limit rotation to
positioned elements outside the normal flow? Section 9.3.2 of the CSS2
spec states that "An element is said to be positioned if its
'position' property has a value other than 'static'. Positioned
elements generate positioned boxes, laid out according to four
properties..." Perhaps the simplest means for rotation would be to add
a fifth property "angle" or "rotation", with the rotation point being
the same point used for positioning.

David Perrell
Received on Saturday, 3 July 1999 23:20:08 GMT

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