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

Re: [cssom-view] Correction and clarification for the coordinate systems of getClientRect/getBoundingClientRect

From: Dirk Schulze <dschulze@adobe.com>
Date: Wed, 18 Sep 2013 21:53:05 -0700
To: Simon Pieters <simonp@opera.com>
CC: www-style <www-style@w3.org>, "Robert O'Callahan" <robert@ocallahan.org>
Message-ID: <5482A3DC-BB39-42C9-8790-BA48A7E49360@adobe.com>

> On Sep 18, 2013, at 2:18 PM, "Simon Pieters" <simonp@opera.com> wrote:
> 
> On Fri, 25 Nov 2011 01:12:06 +0100, Robert O'Callahan  
> <robert@ocallahan.org> wrote:
> 
>> [snip]
>> 
>> The spec currently says to treat an SVG <foreignObject> as establishing a
>> new viewport. Gecko does this, but Opera and Webkit don't.  
>> (getClientRects
>> etc seems to not work inside foreignObject at all in IE9.) At least for  
>> the
>> purposes of getClientRects/getBoundingClientRect, I think the spec should
>> change to have <foreignObject> not establish a viewport. [snip]
> 

Well, CSSOM-view can not just chAnge the specification for <foreignObject> and not make it establish a viewport anymore. I think it should and needs to be fixed in implementations. I was not aware that WebKit doesn't to be honest.

Greetings
Dirk

> Fixed. I think this didn't affect any other part of CSSOM View that use  
> viewport or initial containing block.
> 
> https://dvcs.w3.org/hg/csswg/rev/92755512a865
> 
> -- 
> Simon Pieters
> Opera Software
> 
Received on Thursday, 19 September 2013 04:53:44 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 19 September 2013 04:53:44 UTC