Changeset 79329 in webkit
- Timestamp:
- Feb 22, 2011 9:39:35 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r79328 r79329 1 2011-02-02 Martin Robinson <mrobinson@igalia.com> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] DRT needs an implementation of LayoutTestController.setSelectTrailingWhitespace 6 https://bugs.webkit.org/show_bug.cgi?id=53603 7 8 * platform/gtk/Skipped: Unskip passing tests. 9 1 10 2011-02-22 Adam Roben <aroben@apple.com> 2 11 -
trunk/LayoutTests/platform/gtk/Skipped
r79308 r79329 1142 1142 editing/pasteboard/smart-drag-drop.html 1143 1143 editing/selection/drag-start-event-client-x-y.html 1144 editing/selection/doubleclick-beside-cr-span.html1145 1144 1146 1145 # Fails because multiple clicks in a row in the same place … … 1315 1314 http/tests/security/local-user-CSS-from-remote.html 1316 1315 1317 # Need an implementation of setSelectTrailingWhitespace1318 # https://bugs.webkit.org/show_bug.cgi?id=536031319 editing/selection/doubleclick-whitespace.html1320 1321 1316 # Need an implementation of PlainTextController 1322 1317 # https://bugs.webkit.org/show_bug.cgi?id=53605 -
trunk/Source/WebKit/gtk/ChangeLog
r79215 r79329 1 2011-02-02 Martin Robinson <mrobinson@igalia.com> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] DRT needs an implementation of LayoutTestController.setSelectTrailingWhitespace 6 https://bugs.webkit.org/show_bug.cgi?id=53603 7 8 Add setSelectTrailingWhitespaceEnabled and selectTrailingWhitespaceEnabled which allow 9 setting and querying the selectTrailingWhitespaceEnabled setting. EditorClient just 10 listens to this value during DRT runs. Perhaps later we can expose this to the public 11 API. 12 13 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: 14 (DumpRenderTreeSupportGtk::setSelectTrailingWhitespaceEnabled): Added 15 (DumpRenderTreeSupportGtk::selectTrailingWhitespaceEnabled): Added 16 * WebCoreSupport/DumpRenderTreeSupportGtk.h: 17 * WebCoreSupport/EditorClientGtk.cpp: 18 (WebKit::EditorClient::isSelectTrailingWhitespaceEnabled): Ask DRTSupportGtk 19 for the appropriate return value. 20 1 21 2011-02-21 Alejandro G. Castro <alex@igalia.com> 2 22 -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
r78620 r79329 70 70 bool DumpRenderTreeSupportGtk::s_drtRun = false; 71 71 bool DumpRenderTreeSupportGtk::s_linksIncludedInTabChain = true; 72 bool DumpRenderTreeSupportGtk::s_selectTrailingWhitespaceEnabled = false; 72 73 73 74 DumpRenderTreeSupportGtk::DumpRenderTreeSupportGtk() … … 101 102 { 102 103 WebKit::setIconDatabaseEnabled(enabled); 104 } 105 106 void DumpRenderTreeSupportGtk::setSelectTrailingWhitespaceEnabled(bool enabled) 107 { 108 s_selectTrailingWhitespaceEnabled = enabled; 109 } 110 111 bool DumpRenderTreeSupportGtk::selectTrailingWhitespaceEnabled() 112 { 113 return s_selectTrailingWhitespaceEnabled; 103 114 } 104 115 -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
r78620 r79329 55 55 static bool linksIncludedInFocusChain(); 56 56 static void setIconDatabaseEnabled(bool); 57 static void setSelectTrailingWhitespaceEnabled(bool); 58 static bool selectTrailingWhitespaceEnabled(); 59 57 60 static JSValueRef nodesFromRect(JSContextRef context, JSValueRef value, int x, int y, unsigned top, unsigned right, unsigned bottom, unsigned left, bool ignoreClipping); 58 61 static void dumpConfigurationForViewport(WebKitWebView* webView, gint availableWidth, gint availableHeight); … … 106 109 static bool s_drtRun; 107 110 static bool s_linksIncludedInTabChain; 111 static bool s_selectTrailingWhitespaceEnabled; 108 112 }; 109 113 -
trunk/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp
r79130 r79329 26 26 27 27 #include "DataObjectGtk.h" 28 #include "DumpRenderTreeSupportGtk.h" 28 29 #include "EditCommand.h" 29 30 #include "Editor.h" … … 572 573 bool EditorClient::isSelectTrailingWhitespaceEnabled() 573 574 { 574 notImplemented(); 575 return false; 575 if (!DumpRenderTreeSupportGtk::dumpRenderTreeModeEnabled()) 576 return false; 577 return DumpRenderTreeSupportGtk::selectTrailingWhitespaceEnabled(); 576 578 } 577 579 -
trunk/Tools/ChangeLog
r79327 r79329 1 2011-02-02 Martin Robinson <mrobinson@igalia.com> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] DRT needs an implementation of LayoutTestController.setSelectTrailingWhitespace 6 https://bugs.webkit.org/show_bug.cgi?id=53603 7 8 Add support for LayoutTestController.setSelectTrailingWhitespace by calling through 9 to DumpRenderTreeSupportGtk for this functionality. 10 11 * DumpRenderTree/gtk/DumpRenderTree.cpp: 12 (resetDefaultsToConsistentValues): Always call LayoutTestController.setSelectTrailingWhitespace to 13 false when reseting values between tests. 14 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 15 (LayoutTestController::setSelectTrailingWhitespaceEnabled): Call LayoutTestController.setSelectTrailingWhitespace 16 with the appropriate value. 17 1 18 2011-02-22 Adam Roben <aroben@apple.com> 2 19 -
trunk/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp
r78718 r79329 455 455 DumpRenderTreeSupportGtk::setLinksIncludedInFocusChain(true); 456 456 DumpRenderTreeSupportGtk::setIconDatabaseEnabled(false); 457 DumpRenderTreeSupportGtk::setSelectTrailingWhitespaceEnabled(false); 457 458 458 459 if (axController) -
trunk/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp
r78620 r79329 509 509 void LayoutTestController::setSelectTrailingWhitespaceEnabled(bool flag) 510 510 { 511 // FIXME: implement511 DumpRenderTreeSupportGtk::setSelectTrailingWhitespaceEnabled(flag); 512 512 } 513 513
Note: See TracChangeset
for help on using the changeset viewer.