Bug 26896 - [QT] make layout tests in fast/css/getComputedStyle/ to pass
Summary: [QT] make layout tests in fast/css/getComputedStyle/ to pass
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 26886
  Show dependency treegraph
 
Reported: 2009-07-01 12:21 PDT by Antonio Gomes
Modified: 2009-07-02 07:15 PDT (History)
0 users

See Also:


Attachments
patch (5.02 KB, patch)
2009-07-01 13:15 PDT, Antonio Gomes
hausmann: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Gomes 2009-07-01 12:21:43 PDT
Right now fast/css/getComputedStyle/computed-style-font-family.html fails.

 Font attributes. The font-family should list three families:
 
 font-family: monospace, 'Lucida Grande', sans-serif;
-font-size: 13px;
+font-size: 14px;
 font-style: normal;
 font-variant: normal;
 font-weight: normal;

we have set QWebSetting::DefaultFontSize to 14 , intentionally, so plan here is to "fix" DRT to use 13 , which is what is expected by the test results...
Comment 1 Antonio Gomes 2009-07-01 13:15:55 PDT
Created attachment 32137 [details]
patch

patch for the bug. It was reviewed by Adam Treat on IRC:
<manyoso> r=me
<manyoso> on condition of one change!
<manyoso> you have to add the bug report URL to the ChangeLog and check-in
<manyoso> thanks!
Comment 2 Eric Seidel (no email) 2009-07-01 19:06:28 PDT
Comment on attachment 32137 [details]
patch

Please don't mark it as reviewed unless you're a reviewer. :(  Makes the scripts unhappy.

If Adam Marks this himself someone else can easily commit it.  Otherwise he'll need to come take care of commiting for you..
Comment 3 Simon Hausmann 2009-07-02 07:15:14 PDT
Comment on attachment 32137 [details]
patch

Looks good, tried, works. And this time touches only Qt files :)
Comment 4 Simon Hausmann 2009-07-02 07:15:53 PDT
Landed in r45473