Changeset 45473 in webkit


Ignore:
Timestamp:
Jul 2, 2009 7:15:35 AM (15 years ago)
Author:
Simon Hausmann
Message:

WebKitTools:

2009-07-02 Antonio Gomes <antonio.gomes@openbossa.org>

Reviewed by Simon Hausmann.

https://bugs.webkit.org/show_bug.cgi?id=26896

[Qt] Set DRT's default fontsize to 13.

  • DumpRenderTree/qt/DumpRenderTree.cpp: (WebCore::WebPage::WebPage):

LayoutTests:

2009-07-02 Antonio Gomes <antonio.gomes@openbossa.org>

Reviewed by Simon Hausmann.

https://bugs.webkit.org/show_bug.cgi?id=26896

Updated computed-style-expected.txt and computed-style-without-renderer-expected.txt
files according to the default font size value (13) set in DumpRenderTree/qt/DumpRenderTree.cpp .

  • platform/qt/fast/css/getComputedStyle/computed-style-expected.txt:
  • platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r45468 r45473  
     12009-07-02  Antonio Gomes   <antonio.gomes@openbossa.org>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=26896
     6
     7        Updated computed-style-expected.txt and computed-style-without-renderer-expected.txt
     8        files according to the default font size value (13) set in DumpRenderTree/qt/DumpRenderTree.cpp .
     9
     10        * platform/qt/fast/css/getComputedStyle/computed-style-expected.txt:
     11        * platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
     12
    1132009-07-01  Xan Lopez  <xlopez@igalia.com>
    214
  • trunk/LayoutTests/platform/qt/fast/css/getComputedStyle/computed-style-expected.txt

    r45354 r45473  
    3030float: none;
    3131font-family: Arial;
    32 font-size: 14px;
     32font-size: 13px;
    3333font-style: normal;
    3434font-variant: normal;
    3535font-weight: normal;
    36 height: 578px;
     36height: 579px;
    3737left: auto;
    3838letter-spacing: normal;
  • trunk/LayoutTests/platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt

    r45395 r45473  
    1717    border-top-color: rgb(0, 0, 0)
    1818    border-top-style: solid
    19     border-top-width: 14px
     19    border-top-width: 13px
    2020    bottom: auto
    2121    caption-side: top
     
    2929    float: none
    3030    font-family: Arial
    31     font-size: 14px
     31    font-size: 13px
    3232    font-style: normal
    3333    font-variant: normal
     
    208208
    209209After changing grandparent's 'color' and the parent's 'font-size' inherited properties:
    210     border-top-width: 17px
     210    border-top-width: 16px
    211211    color: rgb(0, 0, 255)
    212212
  • trunk/WebKitTools/ChangeLog

    r45469 r45473  
     12009-07-02  Antonio Gomes   <antonio.gomes@openbossa.org>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=26896
     6
     7        [Qt] Set DRT's default fontsize to 13.
     8
     9        * DumpRenderTree/qt/DumpRenderTree.cpp:
     10        (WebCore::WebPage::WebPage):
     11
    1122009-07-01  Eric Seidel  <eric@webkit.org>
    213
  • trunk/WebKitTools/DumpRenderTree/qt/DumpRenderTree.cpp

    r41228 r45473  
    9090    settings()->setFontSize(QWebSettings::MinimumFontSize, 5);
    9191    settings()->setFontSize(QWebSettings::MinimumLogicalFontSize, 5);
     92    // To get DRT compliant to some layout tests lets set the default fontsize to 13.
     93    settings()->setFontSize(QWebSettings::DefaultFontSize, 13);
     94    settings()->setFontSize(QWebSettings::DefaultFixedFontSize, 13);
    9295    settings()->setAttribute(QWebSettings::JavascriptCanOpenWindows, true);
    9396    settings()->setAttribute(QWebSettings::JavascriptCanAccessClipboard, true);
Note: See TracChangeset for help on using the changeset viewer.