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

Re: [CSSOM] Interaction of getBoundingClientRect/getClientRects with transforms

From: Simon Fraser <smfr@me.com>
Date: Tue, 21 Sep 2010 11:17:03 -0700
Cc: Boris Zbarsky <bzbarsky@mit.edu>, Brad Kemper <brad.kemper@gmail.com>, www-style list <www-style@w3.org>
Message-id: <0C94C9A1-E13F-4828-9FFC-5D47374C38A9@me.com>
To: Ojan Vafai <ojan@chromium.org>
On Sep 21, 2010, at 12:31 AM, Ojan Vafai wrote:

> I can't imagine that any web developer would expect or understand this behavior. I don't have any conception of implementation difficulty, but I would expect a split <span> with a rotation transform to rotate bases on it's bounding box.

I agree. I'd expect one of two behaviors for rotated inline elements. The first would be "slab" rotation, where all parts of the element are rotated on a plane (with some center point that we'd specify, probably the center of the bounding box of the parts of the span). The second would be that the rotation is applied per line, somehow.

I think the current Gecko and Opera behavior is undesirable.

Received on Tuesday, 21 September 2010 18:17:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:49:47 UTC