Summary: | Retrieving offsets of statically positioned elements not possible | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Ed Phillips <mymymy> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | germain, maksim |
Priority: | NOR | ||
Version: | 4.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | A logging version of the testcase |
Description
Ed Phillips
2008-08-29 21:46:05 UTC
Hi, and thanks a lot for the bug report. One question, though: any chance you modified it after initially uploading it, since it looks different now then when I first opened it. We behave differently from what's expected here in strict mode... Some analysis: http://websvn.kde.org/trunk/KDE/kdelibs/khtml/rendering/render_object.cpp?view=diff&r1=401452&r2=401453 vs. https://bugs.webkit.org/show_bug.cgi?id=11109 (and http://trac.webkit.org/changeset/19149) ... I need to test whether we match IE in strict mode anyway, there are too many conditionals for me to keep track of. Created attachment 27135 [details]
A logging version of the testcase
This just lists all the elements and relevant offsetLeft/Top to make it
easier to figure things out.
P.S. any rendering folks reading -- I would appreciate some help to implement
getClientRects()..
SVN commit 864534 by ggarand: fix offsetTop/Left/Parent properties to be more in conformance with draft CSSOM View module specification. http://www.w3.org/TR/cssom-view/#offset-attributes brings better compatibility as a bonus. BUG: 170091, 170055 |