Changeset 88626 in webkit
- Timestamp:
- Jun 12, 2011 9:13:16 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r88625 r88626 1 2011-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 1 12 2011-06-12 Dominic Cooney <dominicc@chromium.org> 2 13 -
trunk/LayoutTests/platform/qt/Skipped
r88620 r88626 2506 2506 fast/events/selectstart-by-drag.html 2507 2507 2508 # LayoutTestController::setTextDirection is not implemented.2509 fast/html/set-text-direction.html2510 2511 2508 # JSC does not support setIsolatedWorldSecurityOrigin (http://webkit.org/b/61540) 2512 2509 http/tests/security/isolatedWorld/cross-origin-xhr.html -
trunk/Tools/ChangeLog
r88625 r88626 1 2011-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 1 14 2011-06-12 Dominic Cooney <dominicc@chromium.org> 2 15 -
trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp
r88620 r88626 955 955 } 956 956 957 void 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 957 967 const unsigned LayoutTestController::maxViewWidth = 800; 958 968 const unsigned LayoutTestController::maxViewHeight = 600; -
trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.h
r88620 r88626 275 275 void syncLocalStorage(); 276 276 QString layerTreeAsText(); 277 void setTextDirection(const QString& directionName); 277 278 278 279 private slots:
Note: See TracChangeset
for help on using the changeset viewer.