Changeset 87311 in webkit


Ignore:
Timestamp:
May 25, 2011 12:20:29 PM (13 years ago)
Author:
qi.2.zhang@nokia.com
Message:

2011-05-25 Qi Zhang <qi.2.zhang@nokia.com>

Reviewed by Andreas Kling.

[Qt] fast/css/disabled-author-styles.html failed
https://bugs.webkit.org/show_bug.cgi?id=61438

Unskip test case and provide expect result files.

  • platform/qt/Skipped:
  • platform/qt/fast/css/disabled-author-styles-expected.png: Added.
  • platform/qt/fast/css/disabled-author-styles-expected.txt: Added.

2011-05-25 Qi Zhang <qi.2.zhang@nokia.com>

Reviewed by Andreas Kling.

[Qt] fast/css/disabled-author-styles.html failed
https://bugs.webkit.org/show_bug.cgi?id=61438

Provided API setAuthorAndUserStylesEnabled for DumpRenderTree.

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::setAuthorAndUserStylesEnabled):
  • WebCoreSupport/DumpRenderTreeSupportQt.h:

2011-05-25 Qi Zhang <qi.2.zhang@nokia.com>

Reviewed by Andreas Kling.

[Qt] fast/css/disabled-author-styles.html failed
https://bugs.webkit.org/show_bug.cgi?id=61438

Implemented API setAuthorAndUserStylesEnabled in LayoutTestControllerQt.

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::resetSettings):
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::setAuthorAndUserStylesEnabled):
  • DumpRenderTree/qt/LayoutTestControllerQt.h:
Location:
trunk
Files:
2 added
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r87310 r87311  
     12011-05-25  Qi Zhang  <qi.2.zhang@nokia.com>
     2
     3        Reviewed by Andreas Kling.
     4
     5        [Qt] fast/css/disabled-author-styles.html failed
     6        https://bugs.webkit.org/show_bug.cgi?id=61438
     7
     8        Unskip test case and provide expect result files.
     9
     10        * platform/qt/Skipped:
     11        * platform/qt/fast/css/disabled-author-styles-expected.png: Added.
     12        * platform/qt/fast/css/disabled-author-styles-expected.txt: Added.
     13
    1142011-05-25  Rob Buis  <rbuis@rim.com>
    215
  • trunk/LayoutTests/platform/qt/Skipped

    r87307 r87311  
    13911391fast/block/margin-collapse/103.html
    13921392fast/block/positioning/auto/006.html
    1393 fast/css/disabled-author-styles.html
    13941393fast/css/text-overflow-ellipsis-bidi.html
    13951394fast/css/text-overflow-ellipsis.html
  • trunk/Source/WebKit/qt/ChangeLog

    r87260 r87311  
     12011-05-25  Qi Zhang  <qi.2.zhang@nokia.com>
     2
     3        Reviewed by Andreas Kling.
     4
     5        [Qt] fast/css/disabled-author-styles.html failed
     6        https://bugs.webkit.org/show_bug.cgi?id=61438
     7
     8        Provided API setAuthorAndUserStylesEnabled for DumpRenderTree.
     9
     10        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
     11        (DumpRenderTreeSupportQt::setAuthorAndUserStylesEnabled):
     12        * WebCoreSupport/DumpRenderTreeSupportQt.h:
     13
    1142011-05-24  Adam Barth  <abarth@webkit.org>
    215
  • trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp

    r86981 r87311  
    496496}
    497497
     498void DumpRenderTreeSupportQt::setAuthorAndUserStylesEnabled(QWebPage* page, bool value)
     499{
     500    page->handle()->page->settings()->setAuthorAndUserStylesEnabled(value);
     501}
     502
    498503void DumpRenderTreeSupportQt::setMediaType(QWebFrame* frame, const QString& type)
    499504{
  • trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.h

    r86841 r87311  
    106106    static void setFrameFlatteningEnabled(QWebPage*, bool);
    107107    static void setCaretBrowsingEnabled(QWebPage* page, bool value);
     108    static void setAuthorAndUserStylesEnabled(QWebPage*, bool);
    108109    static void setMediaType(QWebFrame* qframe, const QString& type);
    109110    static void setDumpRenderTreeModeEnabled(bool b);
  • trunk/Tools/ChangeLog

    r87299 r87311  
     12011-05-25  Qi Zhang  <qi.2.zhang@nokia.com>
     2
     3        Reviewed by Andreas Kling.
     4
     5        [Qt] fast/css/disabled-author-styles.html failed
     6        https://bugs.webkit.org/show_bug.cgi?id=61438
     7
     8        Implemented API setAuthorAndUserStylesEnabled in LayoutTestControllerQt.
     9
     10        * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
     11        (WebCore::WebPage::resetSettings):
     12        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
     13        (LayoutTestController::setAuthorAndUserStylesEnabled):
     14        * DumpRenderTree/qt/LayoutTestControllerQt.h:
     15
    1162011-05-25  Adam Roben  <aroben@apple.com>
    217
  • trunk/Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp

    r87043 r87311  
    198198
    199199    m_drt->layoutTestController()->setCaretBrowsingEnabled(false);
     200    m_drt->layoutTestController()->setAuthorAndUserStylesEnabled(true);
    200201    m_drt->layoutTestController()->setFrameFlatteningEnabled(false);
    201202    m_drt->layoutTestController()->setSmartInsertDeleteEnabled(true);
  • trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp

    r87043 r87311  
    674674}
    675675
     676void LayoutTestController::setAuthorAndUserStylesEnabled(bool value)
     677{
     678    DumpRenderTreeSupportQt::setAuthorAndUserStylesEnabled(m_drt->webPage(), value);
     679}
     680
    676681void LayoutTestController::setUserStyleSheetEnabled(bool enabled)
    677682{
  • trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.h

    r86742 r87311  
    170170    void setXSSAuditorEnabled(bool enable);
    171171    void setCaretBrowsingEnabled(bool enable);
     172    void setAuthorAndUserStylesEnabled(bool);
    172173    void setViewModeMediaFeature(const QString& mode);
    173174    void setSmartInsertDeleteEnabled(bool enable);
Note: See TracChangeset for help on using the changeset viewer.