[patch] set proper coordinates for inline elements

Leo Savernik l.savernik at aon.at
Thu Feb 12 03:48:53 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

In order to fix bug 68954 I noticed that NodeBaseImpl::getRect() is unable to 
determine the correct vertical position of an inline element, as 
RenderText's xPos and yPos return always 0.

The attached patch fixes RenderText::xPos and yPos so that they return the 
respective coordinates of the first inline text box.

Please review. As this is quite an annoying bug, I'd like to have permission 
to backport it, too.

mfg
	Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFAKvemj5jssenUYTsRAoEKAJ9TdnRzWmzTDBsn6jop5P3ssm/WLQCfZbkX
j4Nlph6SDOmyjW+/5QnKu8A=
=AArJ
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040212/a0b3aa45/attachment.html>


More information about the kfm-devel mailing list