W3C home > Mailing lists > Public > www-style@w3.org > June 2011

Re: Inline elements should be affected by 2D Transforms

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 03 Jun 2011 13:58:45 -0400
Message-ID: <4DE920D5.1030205@mit.edu>
To: Brad Kemper <brad.kemper@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
On 6/3/11 1:49 PM, Brad Kemper wrote:
> Ah. I would expect "TXET" to stay put, and "some" and "WERBEH" to rotate as a unit, with the "s" at the top and the "H" at the bottom.

Hmm...  OK.

> If the span had, say, a green background, you'd see that "some" and "WERBEH" were two separate boxes, right?

Absolutely.

> Yet, being a single element, they rotate as a unit, just as changing the color once affects both of the two boxes.

Ok.

> There's probably some more complications if there is a line break in there somewhere, too, right? Throw another one at me and I'll tell you what my intuition says.

Well, one obvious complication is that changing the color changes it for 
all the boxes for the span, across all lines, but you sound like you 
would apply the transform on each line separately....

As for the interaction of bidi and linebreaks, my bidi fu is not strong 
enough to poke the edge cases.  Would be nice if someone who understands 
that stuff could step in.

Note that the line case, unlike the bidi one, can happen with blocks too 
(columns), so we sort of need an answer to it no matter what.

-Boris
Received on Friday, 3 June 2011 17:59:13 GMT

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