Re: Precision of #xywh=percent:...

On Fri, 08 Apr 2011 00:24:33 +0200, Silvia Pfeiffer  
<silviapfeiffer1@gmail.com> wrote:

> On Thu, Apr 7, 2011 at 6:06 PM, Philip Jägenstedt <philipj@opera.com>  
> wrote:
>
>> The pixel syntax operates on the intrinsic size of the video, not the
>> display size. The result would be the same regardless of fullscreen,  
>> modulo
>> scale of course.
>
>
> Is this how image maps work, too?

Oddly enough, according to  
<http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#processing-model>,  
"For historical reasons, the coordinates must be interpreted relative to  
the displayed image, even if it stretched using CSS or the image element's  
width and height attributes."

I don't think we should copy this quirk, though.

-- 
Philip Jägenstedt
Core Developer
Opera Software

Received on Friday, 8 April 2011 10:03:26 UTC