[webkit-qt] Is WebCore/css/html.css influence the text area Auto-fit page?

benjamin.poulain at nokia.com benjamin.poulain at nokia.com
Wed Dec 22 14:16:19 PST 2010

They have different implementations of TextBreakIterator.h. Have you checked if that could be the difference?


From: webkit-qt-bounces at lists.webkit.org [webkit-qt-bounces at lists.webkit.org] on behalf of ext achellies [achellies at 163.com]
Sent: Wednesday, December 22, 2010 4:08 PM
To: webkit-qt
Subject: [webkit-qt] Is WebCore/css/html.css influence the text area    Auto-fit page?

Dear all, I have two port of Webkit, one is QTWebkit, the other is WinCEWebkit, when the two webkit render same html file, the layout is different, the following is the HTML file's code.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>xxxxx</TITLE><META content="text/html; charset=utf-8" http-equiv=Content-Type/><link href="css\style.css" rel="stylesheet" type="text/css"/></HEAD><BODY style="FONT-SIZE: 16px"><P>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxdfgdxxxxxxxxxxxxxxxxxxxxxxxxxxfgxxxxxxxxxxx

The QTWebkit will show the text Auto-fit page, it is to say the single line text will break into several lines to draw on the screen, but the WinCEWebkit will just only show one lin e on the screen with horizontal scrollbar will appear,  so  I do not know why.

I just see the WebCore/CSS/Html.css file in the two port, the files are same, Does anyone know why the two port rendering the html file so different? and how can i modified the source codes to make the text rendering Auto-fit pages.

Thanks in advance.

More information about the webkit-qt mailing list