[Bug 15430] Interaction with getBoundingClientRect/elementFromPoint is not defined

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15430

--- Comment #11 from Simon Pieters <simonp@opera.com> ---
(In reply to Aryeh Gregor from comment #4)
> * getBoundingClientRect() on both Element and Range must return the smallest
> rectangle that bound the transformed box.  If the transform is singular, the
> box will get mapped to a point or line segment, but this method must still
> return the smallest rectangle that contains that point or line segment.
> * getClientRects() behaves the same.

I think the spec does this now. Please verify.

https://dvcs.w3.org/hg/csswg/rev/d6d6ed08b91a

> * The HTMLElement properties clientTop, clientLeft, clientWidth,
> clientHeight, offsetTop, offsetLeft, offsetWidth, and offsetHeight all
> ignore transforms.  (This matches all browsers I tested in.  I'm not totally
> sure whether it's a good idea for offset*, but we should spec it unless
> implementations want to change.)

Done.

https://dvcs.w3.org/hg/csswg/rev/6091febd3717

It seems that in Gecko, offsetParent can be an ancestor that has a transform
set. Blink/WebKit/IE9 don't do that.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2535

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 19 September 2013 13:39:06 UTC