KHTML bug: writing on the fly problems...

Unai Garro Arrazola Unai.Garro at ee.ed.ac.uk
Wed May 14 06:10:48 BST 2003


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

[forwarding from kde-devel/core-devel since I was pointed to post here]

I'm using KHTMLPart (from cvs head) to display a document which is created on
the fly. The document is properly rendered if it's previously saved into a
file, but the text is not correctly positioned otherwise. I'm using the usual
"begin() write(QString&) end()" functions.

Quanta shows the same problem with the example below, so you can test with
 it. If you don't save the document, the text is positioned incorrectly in
 the preview, but once saved to a file (say test.html), the document shows
 perfectly.

Is this a bug, a feature, or my bad skills in html? ;-)

================================

<html>
<body>
<div STYLE="position: absolute; top: 5; left:10;width: 100">
 This list should be on the left with an space of 5 from the left and width
100
 <li>item 1</li>
 <li>item 2</li>
  <li>item 3</li>
   </div>
 <div STYLE="position: absolute; top: 5; right:10;width: 100">
    <h2>This thing should be on the right hand and the width should be
100.</h2>
    <br>
    <p>This is block 2, positioned on the right</p>
       </div>
       </body>
       </html>

- - --
It is Fortune, not Wisdom, that rules man's life.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+wc/YhxDfDIoZlaURArZmAJ48HxSsT4P8/1atBqBggAi2na76YACfeEip
UzkwKoAjkhtxMI9d7kFPvVg=
=yOWk
-----END PGP SIGNATURE-----




More information about the kfm-devel mailing list