Changeset 88626 in webkit


Ignore:
Timestamp:
Jun 12, 2011 9:13:16 PM (13 years ago)
Author:
mahesh.kulkarni@nokia.com
Message:

2011-06-12 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>

Reviewed by Antonio Gomes.

[Qt] LayoutTestController needs setTextDirection implementation
https://bugs.webkit.org/show_bug.cgi?id=62442

Implements LayoutController.setTextDirection.

  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::setTextDirection):
  • DumpRenderTree/qt/LayoutTestControllerQt.h:

2011-06-12 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>

Reviewed by Antonio Gomes.

[Qt] LayoutTestController needs setTextDirection implementation
https://bugs.webkit.org/show_bug.cgi?id=62442

Unskipping fast/html/set-text-direction.html.

  • platform/qt/Skipped:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r88625 r88626  
     12011-06-12  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
     2
     3        Reviewed by Antonio Gomes.
     4
     5        [Qt] LayoutTestController needs setTextDirection implementation
     6        https://bugs.webkit.org/show_bug.cgi?id=62442
     7
     8        Unskipping fast/html/set-text-direction.html.
     9
     10        * platform/qt/Skipped:
     11
    1122011-06-12  Dominic Cooney  <dominicc@chromium.org>
    213
  • trunk/LayoutTests/platform/qt/Skipped

    r88620 r88626  
    25062506fast/events/selectstart-by-drag.html
    25072507
    2508 # LayoutTestController::setTextDirection is not implemented.
    2509 fast/html/set-text-direction.html
    2510 
    25112508# JSC does not support setIsolatedWorldSecurityOrigin (http://webkit.org/b/61540)
    25122509http/tests/security/isolatedWorld/cross-origin-xhr.html
  • trunk/Tools/ChangeLog

    r88625 r88626  
     12011-06-12  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
     2
     3        Reviewed by Antonio Gomes.
     4
     5        [Qt] LayoutTestController needs setTextDirection implementation
     6        https://bugs.webkit.org/show_bug.cgi?id=62442
     7
     8        Implements LayoutController.setTextDirection.
     9
     10        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
     11        (LayoutTestController::setTextDirection):
     12        * DumpRenderTree/qt/LayoutTestControllerQt.h:
     13
    1142011-06-12  Dominic Cooney  <dominicc@chromium.org>
    215
  • trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp

    r88620 r88626  
    955955}
    956956
     957void LayoutTestController::setTextDirection(const QString& directionName)
     958{
     959    if (directionName == "auto")
     960        m_drt->webPage()->triggerAction(QWebPage::SetTextDirectionDefault);
     961    else if (directionName == "rtl")
     962        m_drt->webPage()->triggerAction(QWebPage::SetTextDirectionRightToLeft);
     963    else if (directionName == "ltr")
     964        m_drt->webPage()->triggerAction(QWebPage::SetTextDirectionLeftToRight);
     965}
     966
    957967const unsigned LayoutTestController::maxViewWidth = 800;
    958968const unsigned LayoutTestController::maxViewHeight = 600;
  • trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.h

    r88620 r88626  
    275275    void syncLocalStorage();
    276276    QString layerTreeAsText();
     277    void setTextDirection(const QString& directionName);
    277278
    278279private slots:
Note: See TracChangeset for help on using the changeset viewer.