KHTML bug: writing on the fly problems...

Vadim Plessky vplessky at faringosept.ru
Sun May 18 09:20:15 BST 2003


On Wednesday 14 May 2003 09:13, Unai Garro Arrazola wrote:
|  [forwarding from kde-devel/core-devel since I was pointed to post here]
|
|  I just found out that adding units (pt, em, cm in,...) to the position
|   numbers fixes the problem. But still, I cannot understand why it should
| be rendered differently if the html code is read from a file or generated
| on the fly.

Problem is not with *generation* of the file, but exactly with units.
{ width: 100; }
may mean:  100cm, 100pt, 100px, etc.
You should exactly say to CSS renderer whgat units you are using.

|
|  Regards,
|
|  	Unai
|
|  On Wednesday 14 May 2003 05:19, Unai Garro Arrazola wrote:
|  > 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.

-- 

Best Regards,

Vadim Plessky
SVG Icons * BlueSphere Icons 0.3.0 released
http://svgicons.sourceforge.net





More information about the kfm-devel mailing list