[Webkit-unassigned] [Bug 52535] offsetLeft is wrong for elements inside a TD whose style is set to position:relative

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 16 07:58:39 PST 2011


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





--- Comment #2 from Jeremy Moskovich <playmobil at google.com>  2011-01-16 07:58:38 PST ---
The code that calculates offsetLeft resides in RenderBoxModelObject::offsetLeft() [http://trac.webkit.org/browser/trunk/Source/WebCore/rendering/RenderBoxModelObject.cpp#L389] .

Hyatt/Mitz/Eric: Can you vend me a clue on how I can tell if position:relative is set on the TD?  When I check style()->position() in this function it comes back as "static". 

I'm guessing that position:relative isn't valid for the TD element, so WebKit drops it on the floor? Since I need to check it's existence here to match FF/IE , any idea how I can tell that it's set?

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