Bug 50146 - [Qt] 4 css2.1/t1202-counter tests fail with Qt >= 4.7.1
Summary: [Qt] 4 css2.1/t1202-counter tests fail with Qt >= 4.7.1
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks: 46248 79666
  Show dependency treegraph
 
Reported: 2010-11-29 04:10 PST by Csaba Osztrogonác
Modified: 2014-02-01 18:59 PST (History)
5 users (show)

See Also:


Attachments
Small test case that shows Georgian chars not displayed with QtTestBrowser -use-test-fonts (123 bytes, text/html)
2011-03-31 13:28 PDT, Joe Wild
no flags Details
Qt 4.8 png diffs (187.22 KB, patch)
2012-05-18 06:39 PDT, Csaba Osztrogonác
no flags Details | Formatted Diff | Diff
Qt 5 png diffs (175.35 KB, patch)
2012-05-18 06:46 PDT, Csaba Osztrogonác
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2010-11-29 04:10:55 PST
css2.1/t1202-counter-09-b.html
css2.1/t1202-counter-15-b.html 
css2.1/t1202-counters-09-b.html 
css2.1/t1202-counters-15-b.html 

All of them fail with DRT, but pass with QtTestBrowser.
Comment 1 Joe Wild 2011-03-29 06:21:31 PDT
I'm wondering if these 2 errors are related and are caused by fonts.
I'll take a deeper look.

https://bugs.webkit.org/show_bug.cgi?id=50146
Bug 50146 - [Qt] 4 css2.1/t1202-counter tests fail with Qt 4.7.1 

And in this one the display of t1202-counter-09-b.html in the
QtTestBrowser looks correct.  But when I add -use-test-fonts the
display is empty.
  $ $B/QtTestBrowser LayoutTests/css2.1/t1202-counter-09-b.html 
  $ $B/QtTestBrowser -use-test-fonts LayoutTests/css2.1/t1202-counter-09-b.html 

https://bugs.webkit.org/show_bug.cgi?id=50147
Bug 50147 - [Qt] 4 fast/text tests fail with Qt 4.7.1 

When I display the format-control.html in the QtTestBrowser it looks correct,
But when I use the WebKit test fonts with the -use-test-fonts the zero width
chars are displayed as spaces.

  $ $B/QtTestBrowser LayoutTests/fast/text/format-control.html
  $ $B/QtTestBrowser -use-test-fonts LayoutTests/fast/text/format-control.html
Comment 2 Joe Wild 2011-03-31 13:28:12 PDT
Created attachment 87779 [details]
Small test case that shows Georgian chars not displayed with QtTestBrowser -use-test-fonts

This could still be a font issue.  I can reproduce with a small
HTML test case with just a few Georgian characters in
geo_counter01.html attached.

When I look at the fonts available with "QtTestBrowser
-use-test-fonts" for Georgian, I only see 5 available and none of them
are marked with the Georgian language code (ka). If I don't use
the -use-test-fonts option, there are about 50 fonts available and many 
with the Georgian language code (ka).
Comment 3 Joe Wild 2011-04-01 16:25:20 PDT
https://bugs.webkit.org/show_bug.cgi?id=50147
Bug 50147 - [Qt] 4 fast/text tests fail with Qt 4.7.1 

https://bugs.webkit.org/show_bug.cgi?id=50146
Bug 50146 - [Qt] 4 css2.1/t1202-counter tests fail with Qt 4.7.1 

I am not sure where to go next with these errors.  I think they are both
caused by the WebKit Test Fonts from 

   clone from git://gitorious.org/qtwebkit/testfonts.git

Full comment in Bug 50147.
Comment 4 Csaba Osztrogonác 2012-05-18 06:37:20 PDT
The bug is still valid on Qt 4.8 and Qt 5 too. I'll attach png diffs.
Comment 5 Csaba Osztrogonác 2012-05-18 06:39:48 PDT
Created attachment 142702 [details]
Qt 4.8 png diffs

click on review to see the diffs
Comment 6 Csaba Osztrogonác 2012-05-18 06:46:07 PDT
Created attachment 142704 [details]
Qt 5 png diffs