[PATCH] various nodeAtPoint() fixes

Germain Garand germain at ebooksfrance.com
Thu Jul 18 00:55:19 BST 2002


Le Mardi 16 Juillet 2002 20:53, Dirk Mueller a écrit :
[..]
> > Oddly enough, in such a case, the absolute translation is not rendered,
> > but nodeAtPoint() still think the link is were it should be : in the
> > small golden box.
>
> Its the other way around. the rendering is right. I seem to have found a
> fix which doesn't break any of my testcases and makes sense and even fixes
> this one :-)

Damn that's right, I've re-read the specs and saw the containing block rule 
also applies to "position: relative"... not really intuitive, but well it's a 
spec.
Great fix !

[..]
>
> I'll test your patch.

Thanks ! It was a bit rough around the edges (did not take into account the 
case where you have borders only on some edges) so I perfected it today...
 Updated version attached !

(I've modified 
http://www.phoenix-library.org/germain/testcases/www.w3.org/Style/CSS/index.html 
to show the one-border case)

G.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: render_object.patch
Type: text/x-diff
Size: 5528 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20020718/dc718a2f/attachment.patch>


More information about the kfm-devel mailing list