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

Re: Inline elements should be affected by 2D Transforms

From: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 3 Jun 2011 10:49:53 -0700
Cc: "www-style@w3.org" <www-style@w3.org>
Message-Id: <0F03FC20-638B-45CF-9C1D-F4B8B07E6FBC@gmail.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>

On Jun 3, 2011, at 10:35 AM, Boris Zbarsky wrote:

> On 6/3/11 12:37 PM, Brad Kemper wrote:
>> Originally, I was talking about a bounding box around the whole inline element, not separate ones around each piece. But in thinking about it more, I think it should be more like what you are saying, where it is basically each continuous section of the line box that transforms. That is, the lengths of linebox that each contain as much of the inline element as is on that line, as it is visually laid out, even if some of it is bidi.
> 
> I'm not sure I follow.  Say the logical markup is:
> 
>  This is <span>some HEBREW</span> TEXT
> 
> where "HEBREW TEXT" are RTL chars.  The visual layout will be:
> 
>  This is some TXET WERBEH
> 
> If the <span> is transformed (say a rotate by 90 degrees), what do you expect to happen?
> 
> -Boris

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.

If the span had, say, a green background, you'd see that "some" and "WERBEH" were two separate boxes, right? Yet, being a single element, they rotate as a unit, just as changing the color once affects both of the two boxes.

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.
Received on Friday, 3 June 2011 17:50:24 GMT

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