Title: [187809] trunk/LayoutTests
Revision
187809
Author
[email protected]
Date
2015-08-03 21:44:09 -0700 (Mon, 03 Aug 2015)

Log Message

Make platform/gtk/editing/selection/caret-mode-document-begin-end.html into cross-platform test.

* editing/selection/caret-mode-document-begin-end-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end-expected.txt.
* editing/selection/caret-mode-document-begin-end.html: Renamed from LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end.html.

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (187808 => 187809)


--- trunk/LayoutTests/ChangeLog	2015-08-04 04:43:57 UTC (rev 187808)
+++ trunk/LayoutTests/ChangeLog	2015-08-04 04:44:09 UTC (rev 187809)
@@ -1,5 +1,12 @@
 2015-08-03  Simon Fraser  <[email protected]>
 
+        Make platform/gtk/editing/selection/caret-mode-document-begin-end.html into cross-platform test.
+
+        * editing/selection/caret-mode-document-begin-end-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end-expected.txt.
+        * editing/selection/caret-mode-document-begin-end.html: Renamed from LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end.html.
+
+2015-08-03  Simon Fraser  <[email protected]>
+
         Make accessibility/media-emits-object-replacement.html not specific to EFL.
 
         * accessibility/media-emits-object-replacement-expected.txt: Added.

Copied: trunk/LayoutTests/editing/selection/caret-mode-document-begin-end-expected.txt (from rev 187808, trunk/LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end-expected.txt) (0 => 187809)


--- trunk/LayoutTests/editing/selection/caret-mode-document-begin-end-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/editing/selection/caret-mode-document-begin-end-expected.txt	2015-08-04 04:44:09 UTC (rev 187809)
@@ -0,0 +1,24 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > BODY > HTML > #document to 5 of #text > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > P > SPAN > P > BODY > HTML > #document to 2 of #text > P > SPAN > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 2 of #text > P > SPAN > P > BODY > HTML > #document to 2 of #text > P > SPAN > P > BODY > HTML > #document toDOMRange:range from 3 of #text > DIV > BODY > HTML > #document to 2 of #text > P > SPAN > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > BODY > HTML > #document to 5 of #text > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > BODY > HTML > #document to 2 of #text > P > SPAN > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+First text line.
+Second text line.
+Third text line.
+A paragraph to finish.
+
+This tests direct navigation to the begin and end of the document in caret mode.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Copied: trunk/LayoutTests/editing/selection/caret-mode-document-begin-end.html (from rev 187808, trunk/LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end.html) (0 => 187809)


--- trunk/LayoutTests/editing/selection/caret-mode-document-begin-end.html	                        (rev 0)
+++ trunk/LayoutTests/editing/selection/caret-mode-document-begin-end.html	2015-08-04 04:44:09 UTC (rev 187809)
@@ -0,0 +1,39 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<script src=""
+</head>
+<body>
+<div id="startHere">
+  First text line.<br />
+  Second text line.<br />
+  Third text line.
+</div>
+<p>A paragraph to finish.</p>
+<p id="description"></p>
+<div id="console"></div>
+<script>
+description("This tests direct navigation to the begin and end of the document in caret mode.");
+
+if (window.testRunner) {
+  testRunner.overridePreference("WebKitEnableCaretBrowsing", true);
+  testRunner.dumpAsText();
+  testRunner.dumpEditingCallbacks();
+
+  startPoint = document.getElementById("startHere");
+  window.getSelection().setPosition(startPoint.childNodes.item(0), 5);
+
+  // Move to the beginning and the end of the document.
+  testRunner.execCommand("MoveToBeginningOfDocument");
+  testRunner.execCommand("MoveToEndOfDocument");
+
+  // Try the same commands modifying the selection.
+  testRunner.execCommand("MoveToBeginningOfDocumentAndModifySelection");
+  window.getSelection().setPosition(startPoint.childNodes.item(0), 5);
+  testRunner.execCommand("MoveToEndOfDocumentAndModifySelection");
+}
+
+</script>
+<script src=""
+</body>
+</html>

Deleted: trunk/LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end-expected.txt (187808 => 187809)


--- trunk/LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end-expected.txt	2015-08-04 04:43:57 UTC (rev 187808)
+++ trunk/LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end-expected.txt	2015-08-04 04:44:09 UTC (rev 187809)
@@ -1,24 +0,0 @@
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > BODY > HTML > #document to 5 of #text > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > P > SPAN > P > BODY > HTML > #document to 2 of #text > P > SPAN > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 2 of #text > P > SPAN > P > BODY > HTML > #document to 2 of #text > P > SPAN > P > BODY > HTML > #document toDOMRange:range from 3 of #text > DIV > BODY > HTML > #document to 2 of #text > P > SPAN > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > BODY > HTML > #document to 5 of #text > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > BODY > HTML > #document to 2 of #text > P > SPAN > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-First text line.
-Second text line.
-Third text line.
-A paragraph to finish.
-
-This tests direct navigation to the begin and end of the document in caret mode.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end.html (187808 => 187809)


--- trunk/LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end.html	2015-08-04 04:43:57 UTC (rev 187808)
+++ trunk/LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end.html	2015-08-04 04:44:09 UTC (rev 187809)
@@ -1,39 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src=""
-</head>
-<body>
-<div id="startHere">
-  First text line.<br />
-  Second text line.<br />
-  Third text line.
-</div>
-<p>A paragraph to finish.</p>
-<p id="description"></p>
-<div id="console"></div>
-<script>
-description("This tests direct navigation to the begin and end of the document in caret mode.");
-
-if (window.testRunner) {
-  testRunner.overridePreference("WebKitEnableCaretBrowsing", true);
-  testRunner.dumpAsText();
-  testRunner.dumpEditingCallbacks();
-
-  startPoint = document.getElementById("startHere");
-  window.getSelection().setPosition(startPoint.childNodes.item(0), 5);
-
-  // Move to the beginning and the end of the document.
-  testRunner.execCommand("MoveToBeginningOfDocument");
-  testRunner.execCommand("MoveToEndOfDocument");
-
-  // Try the same commands modifying the selection.
-  testRunner.execCommand("MoveToBeginningOfDocumentAndModifySelection");
-  window.getSelection().setPosition(startPoint.childNodes.item(0), 5);
-  testRunner.execCommand("MoveToEndOfDocumentAndModifySelection");
-}
-
-</script>
-<script src=""
-</body>
-</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to