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

> 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