Pepper 2d vs CSS transformation

Julian Reschke julian.reschke at
Tue Apr 27 11:44:12 PDT 2010

On 27.04.2010 20:33, Benjamin Smedberg wrote:
> On 4/27/10 2:14 PM, Julian Reschke wrote:
>> here's a quick question...: if a plugin was using the Pepper 2D
>> Rendering API, and the plugin was subject to a CSS transformation (like
>> rotation), how would mouse events be delivered? Would the plugin be able
>> to find out about it being rotated?
> No.
>> (This is relevant because, for instance, you wouldn't want to rotate a
>> tooltip.)
> I'm not sure that's true: it's hard to know why a website might apply a
> transform (2D or 3D) to an element: if it's just for scaling, you
> probably wouldn't want to munge the tooltips. Can you just set
> title="foo" on the embedded DOM element and allow the browser to display
> the tooltip using its native machinery?

Probably, but in that case the plugin couldn't control the position of 
the tooltip with respect to the content the plugin displays, right?

Best regards, Julian

More information about the plugin-futures mailing list