[Webkit-unassigned] [Bug 53627] Inspector highlight rect is wrong for contents of transformed iframes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 24 21:56:12 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=53627





--- Comment #15 from Joseph Pecoraro <joepeck at webkit.org>  2011-06-24 21:56:12 PST ---
Trying again. This looks a little cleaner this time.

  1. The URL the bug was reported against. http://2011.beercamp.com/
     A lot of the content on this page is transformed and position:fixed.

  2. The test cases attached. (Nested iframes).
     The 2nd nested iframe is slightly scrollable. So I can scroll that (causing
     a repaint bug) and test the highlight rect is correct for scrolled and
     transformed content in an iframe.


> I think this should be done with some combination of FrameView::convertFromRenderer(),
> convertToContainingView(), and convertToWindow(). I think you code here is ignoring
> padding, and might not work with scrolled content.

This is the approach I'm taking. I was ignoring padding, and scroll content was broken.
These patches address that, but I encountered an issue with scroll content and fixed
position content. This may be an existing bug in the IntRect version of
convertToContainingView? I'm still getting familiar with the code, and I don't have a
way to test this right now.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list