Bug 34286 - [Qt] css2.1/t1505-c524-font-var-00-b.html fails (small caps vs. normal)
Summary: [Qt] css2.1/t1505-c524-font-var-00-b.html fails (small caps vs. normal)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P3 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-01-28 15:03 PST by Csaba Osztrogonác
Modified: 2012-11-19 07:07 PST (History)
4 users (show)

See Also:


Attachments
png result (9.34 KB, image/png)
2010-05-31 08:27 PDT, Csaba Osztrogonác
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2010-01-28 15:03:35 PST
A hidden bug revealed by http://trac.webkit.org/changeset/54005 .
(First time I think we needs only update metrics.)

When I executed QtLauncher manually, I got only small caps text.
>WebKitBuild/Release/bin/QtLauncher LayoutTests/css2.1/t1505-c524-font-var-00-b.html

When I executed run-webkit-tests script and then click to 
css2.1/t1505-c524-font-var-00-b.html, I got only normal next.
>WebKitTools/Scripts/run-webkit-tests css2.1

In expectes result there are small caps and normal text too:
LayoutTests/platform/mac/css2.1/t1505-c524-font-var-00-b-expected.png

The bigger problem is rendertree dump doesn't contain if the text
is small caps or not. We can check it only manually or with pixel test.
Comment 2 Csaba Osztrogonác 2010-01-28 15:20:43 PST
css2.1/t1505-c524-font-var-00-b.html skipped by http://trac.webkit.org/changeset/54024 to make buildbot happy.
Comment 3 Robert Hogan 2010-05-30 10:04:34 PDT
Is this still a bug? It passes for me.
Comment 4 Csaba Osztrogonác 2010-05-31 08:27:23 PDT
Created attachment 57470 [details]
png result
Comment 5 Csaba Osztrogonác 2010-05-31 08:30:37 PDT
(In reply to comment #3)
> Is this still a bug? It passes for me.
Yes, it is. I got the attached png when I ran run-webkit-test
(and QtTestBrowser with and without "-graphicssystem raster 
-style windows" options.)

Now all text is small capital, but "This sentence should be normal"
should be normal, as it says.
Comment 6 Csaba Osztrogonác 2010-05-31 08:40:38 PDT
It is a very strange bug. If I run only this test, rendertree dump passed,
but I got the attached png which contains only small caps. If I unskipped the test and ran all css2.1 tests, rendertree dump failed and I got only normal text.
Comment 7 Robert Hogan 2010-05-31 11:40:55 PDT
(In reply to comment #6)
> It is a very strange bug. If I run only this test, rendertree dump passed,
> but I got the attached png which contains only small caps. If I unskipped the test and ran all css2.1 tests, rendertree dump failed and I got only normal text.

I see now, thanks. I get another anomaly. When I run as follows:

WebKitTools/Scripts/run-webkit-tests --qt --platform mac css2.1/t1505-c524-font-var-00-b.html

it fails (as expected), and when I click on the test case all test displayed in the 'normal' style.

However when I run:

WebKitBuild/Release/bin/QtTestBrowser LayoutTests/css2.1/t1505-c524-font-var-00-b.html

it's all displayed in 'small caps'. 

So - weird.
Comment 8 Robert Hogan 2010-05-31 11:44:49 PDT
(In reply to comment #7)
> (In reply to comment #6)
> > It is a very strange bug. If I run only this test, rendertree dump passed,
> > but I got the attached png which contains only small caps. If I unskipped the test and ran all css2.1 tests, rendertree dump failed and I got only normal text.
> 
> I see now, thanks. I get another anomaly. When I run as follows:
> 
All of which you already pointed out in your original report.
Comment 9 Csaba Osztrogonác 2012-11-19 07:07:12 PST
It was unskipped long time ago and works fine.