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


--- 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.


> * 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.)



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


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

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