KHTML bug: writing on the fly problems...

Unai Garro Arrazola Unai.Garro at ee.ed.ac.uk
Wed May 14 05:19:16 BST 2003


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

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+wcPFhxDfDIoZlaURAtB+AJ43d9d3UFM4zfinV9AZdCP9UiDyWgCfaREf
2SIWU1R8hfcYKdN2VvgTFT8=
=Wt8f
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<




More information about the kde-core-devel mailing list