Title: [149346] trunk/LayoutTests
Revision
149346
Author
[email protected]
Date
2013-04-29 18:47:26 -0700 (Mon, 29 Apr 2013)

Log Message

Unreviewed. Windows gardening after r148987.

* platform/win/editing/deleting/delete-by-word-002-expected.txt: Added.
* platform/win/editing/deleting/delete-cell-contents-expected.txt: Added.
* platform/win/editing/execCommand: Added.
* platform/win/editing/execCommand/button-expected.txt: Added.
* platform/win/editing/execCommand/createLink-expected.txt: Added.
* platform/win/editing/execCommand/indent-pre-expected.txt: Added.
* platform/win/editing/execCommand/unlink-expected.txt: Added.
* platform/win/editing/inserting/insert-before-link-1-expected.txt: Added.
* platform/win/editing/pasteboard/display-block-on-spans-expected.txt: Added.
* platform/win/editing/pasteboard/merge-end-list-2-expected.txt: Added.
* platform/win/editing/pasteboard/merge-end-table-2-expected.txt: Added.
* platform/win/editing/pasteboard/page-zoom-expected.txt: Added.
* platform/win/editing/style: Added.
* platform/win/editing/style/apply-through-end-of-document-expected.txt: Added.
* platform/win/editing/style/remove-underline-across-paragraph-expected.txt: Added.
* platform/win/editing/style/remove-underline-across-paragraph-in-bold-expected.txt: Added.
* platform/win/editing/style/remove-underline-expected.txt: Added.
* platform/win/editing/style/remove-underline-from-stylesheet-expected.txt: Added.
* platform/win/editing/style/remove-underline-in-bold-expected.txt: Added.
* platform/win/editing/style/unbold-in-bold-expected.txt: Added.
* platform/win/editing/undo: Added.
* platform/win/editing/undo/replace-text-in-node-preserving-markers-crash-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (149345 => 149346)


--- trunk/LayoutTests/ChangeLog	2013-04-30 01:44:29 UTC (rev 149345)
+++ trunk/LayoutTests/ChangeLog	2013-04-30 01:47:26 UTC (rev 149346)
@@ -1,3 +1,30 @@
+2013-04-29  Roger Fong  <[email protected]>
+
+        Unreviewed. Windows gardening after r148987.
+
+        * platform/win/editing/deleting/delete-by-word-002-expected.txt: Added.
+        * platform/win/editing/deleting/delete-cell-contents-expected.txt: Added.
+        * platform/win/editing/execCommand: Added.
+        * platform/win/editing/execCommand/button-expected.txt: Added.
+        * platform/win/editing/execCommand/createLink-expected.txt: Added.
+        * platform/win/editing/execCommand/indent-pre-expected.txt: Added.
+        * platform/win/editing/execCommand/unlink-expected.txt: Added.
+        * platform/win/editing/inserting/insert-before-link-1-expected.txt: Added.
+        * platform/win/editing/pasteboard/display-block-on-spans-expected.txt: Added.
+        * platform/win/editing/pasteboard/merge-end-list-2-expected.txt: Added.
+        * platform/win/editing/pasteboard/merge-end-table-2-expected.txt: Added.
+        * platform/win/editing/pasteboard/page-zoom-expected.txt: Added.
+        * platform/win/editing/style: Added.
+        * platform/win/editing/style/apply-through-end-of-document-expected.txt: Added.
+        * platform/win/editing/style/remove-underline-across-paragraph-expected.txt: Added.
+        * platform/win/editing/style/remove-underline-across-paragraph-in-bold-expected.txt: Added.
+        * platform/win/editing/style/remove-underline-expected.txt: Added.
+        * platform/win/editing/style/remove-underline-from-stylesheet-expected.txt: Added.
+        * platform/win/editing/style/remove-underline-in-bold-expected.txt: Added.
+        * platform/win/editing/style/unbold-in-bold-expected.txt: Added.
+        * platform/win/editing/undo: Added.
+        * platform/win/editing/undo/replace-text-in-node-preserving-markers-crash-expected.txt: Added.
+
 2013-04-29  James Craig  <[email protected]>
 
         Settings.in selectionIncludesAltImageText should default to true, due to update in HTML spec.

Added: trunk/LayoutTests/platform/win/editing/deleting/delete-by-word-002-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/deleting/delete-by-word-002-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/deleting/delete-by-word-002-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,8 @@
+Tests: 
+Option-delete when no typing command is open, then undo.
+Expected Results: 
+It should like this, with the word "two" selected: 
+one two three four
+one two three four
+DeleteWord: <div id="test" class="editing">one three four</div>
+execUndoCommand: <div id="test" class="editing">one two three four</div>

Added: trunk/LayoutTests/platform/win/editing/deleting/delete-cell-contents-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/deleting/delete-cell-contents-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/deleting/delete-cell-contents-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,4 @@
+This tests for a crasher when deleting contents of a table cell. <radr://problem/4845371>
+
+baz
+

Added: trunk/LayoutTests/platform/win/editing/execCommand/button-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/execCommand/button-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/execCommand/button-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,7 @@
+This tests ensures contents inside a button element is properly editable.
+You should see "hello, world WebKit" inside the button and "world" should be bolded.
+| <button>
+|   "hello, "
+|   <b>
+|     "<#selection-anchor>world <#selection-focus>"
+|   "WebKit"

Added: trunk/LayoutTests/platform/win/editing/execCommand/createLink-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/execCommand/createLink-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/execCommand/createLink-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,22 @@
+This is a test of execCommand(CreateLink, ...). It tests:
+
+Creating a link from a selection that is completely unlinked.
+Creating a link from a selection that is inside an existing link.
+Creating a link from a selection that is partially linked.
+Creating a link from a selection that contains lists, tables, styled text, and images.
+This paragraph starts unlinked. The entire paragraph should end up being a link to google.com.
+This paragraph starts out as a link to apple.com. The second word in the paragraph should end up being a link to google.com.
+This line starts out with a link in the middle. The second half of this paragraph, starting after the bold 'a' should end up being a link to google.com.
+This editable region contains lists, tables, styled text, and images. The entire region should end up being a link to google.com.
+
+Item 1
+Item 2
+1	2	3
+
+This line contains  an image.
+innerHTML of editable regions after the test:
+
+<a href="" paragraph starts unlinked. The entire paragraph should end up being a link to google.com.</a>
+<a href="" </a><a href="" </a><a href="" out as a link to apple.com. The second word in the paragraph should end up being a link to google.com.</a>
+<a href="" </a><a href="" </a><a href="" out as a link to apple.com. The second word in the paragraph should end up being a link to google.com.</a>
+<p><a href="" <i>editable region</i> contains lists, tables, styled text, and images. The entire region should end up being a link to google.com.</a></p> <ul> <li><a href="" 1</a></li> <li><a href="" 2</a></li> </ul> <table border="1"><tbody><tr><td><a href="" href="" href="" <a href="" This <b>line</b> contains <img src="" an image. </a>

Added: trunk/LayoutTests/platform/win/editing/execCommand/indent-pre-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/execCommand/indent-pre-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/execCommand/indent-pre-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,170 @@
+CONSOLE MESSAGE: line 48: Wrong focus offset: 5 instead of 4
+CONSOLE MESSAGE: line 44: Wrong node selected.
+CONSOLE MESSAGE: line 46: Wrong anchor offset: 8 instead of 0
+CONSOLE MESSAGE: line 48: Wrong focus offset: 5 instead of 4
+CONSOLE MESSAGE: line 41: Wrong end node type: [object HTMLBRElement]
+CONSOLE MESSAGE: line 44: Wrong node selected.
+| <html>
+|   <head>
+|   <body>
+|     <p>
+|       "This test tries to indent lines within pre tags.  This test passes if it
+does not crash."
+|     "
+"
+|     <div>
+|       contenteditable=""
+|       "
+"
+|       <blockquote>
+|         style="margin: 0 0 0 40px; border: none; padding: 0px;"
+|         <pre>
+|           id="pre-basic"
+|           "line one"
+|       <pre>
+|         id="pre-basic"
+|         "line two
+"
+|       <blockquote>
+|         style="margin: 0 0 0 40px; border: none; padding: 0px;"
+|         <pre>
+|           "line three"
+|         <pre>
+|           "line four"
+|       "
+
+"
+|       <ul>
+|         <li>
+|           <pre>
+|             id="pre-list"
+|             "list one
+"
+|             <blockquote>
+|               style="margin: 0 0 0 40px; border: none; padding: 0px;"
+|               "list two"
+|               <br>
+|               "list three"
+|             "list four
+"
+|       "
+
+"
+|       <table>
+|         "
+"
+|         <tbody>
+|           <tr>
+|             <td>
+|               <pre>
+|                 id="pre-table"
+|                 "table one<#selection-anchor>
+"
+|               <blockquote>
+|                 style="margin: 0 0 0 40px; border: none; padding: 0px;"
+|                 <pre>
+|                   "table two"
+|                 <pre>
+|                   "table three<#selection-focus>"
+|             <td>
+|               "right cell"
+|       "
+
+"
+|       <div>
+|         id="results"
+|         "PASSED (did not crash)"
+|       "
+"
+|     "
+
+"
+|     <a>
+|       href=""
+|       "indent"
+|     "
+"
+|     <a>
+|       href=""
+|       "outdent"
+|     "
+"
+|     <script>
+|       src=""
+|     "
+"
+|     <script>
+|       src=""
+|     "
+"
+|     <script>
+|       "
+function setSelection(node)
+{
+    var textNode = node.firstChild;
+    if (textNode.nodeType != Node.TEXT_NODE)
+        throw "Wrong node type: " + textNode;
+    execSetSelectionCommand(textNode, 0, 0);
+}
+
+function verifyTextSelection(startNode, startOffset, endNode, endOffset)
+{
+    if (startNode.nodeType != Node.TEXT_NODE)
+        console.log("Wrong start node type: " + startNode);
+    if (endNode.nodeType != Node.TEXT_NODE)
+        console.log("Wrong end node type: " + endNode);
+    var sel = window.getSelection();
+    if (sel.anchorNode != startNode || sel.focusNode != endNode)
+        console.log("Wrong node selected.");
+    if (sel.anchorOffset != startOffset)
+        console.log("Wrong anchor offset: " + sel.anchorOffset + " instead of " + startOffset);
+    if (sel.focusOffset != endOffset)
+        console.log("Wrong focus offset: " + sel.focusOffset + " instead of " + endOffset);
+}
+
+// Indent a single line in a pre and make sure the selection is correctly preserved.
+var pre = document.getElementById("pre-basic");
+setSelection(pre);
+execMoveSelectionForwardByCharacterCommand();
+execExtendSelectionForwardByWordCommand();
+document.execCommand("indent");
+verifyTextSelection(document.getElementsByTagName("pre")[0].firstChild, 1,
+                    document.getElementsByTagName("pre")[0].firstChild, 4);
+
+// Indent 2 lines.
+setSelection(pre);
+execMoveSelectionForwardByLineCommand();
+execExtendSelectionForwardByLineCommand();
+execExtendSelectionForwardByWordCommand();
+document.execCommand("indent");
+if (document.getElementsByTagName("pre").length > 3) {
+    // FIXME: The selection for the anchorNode is wrong.  It should stay at
+    // the beginning of "line three", but it moves to the end of "line 2".
+    verifyTextSelection(document.getElementsByTagName("pre")[2].firstChild, 0,
+                        document.getElementsByTagName("pre")[3].firstChild, 4);
+} else {
+    console.log("Wrong number of pre nodes.");
+}
+
+// Indent <pre> lines in a list.
+pre = document.getElementById("pre-list");
+setSelection(pre);
+execMoveSelectionForwardByLineCommand();
+execExtendSelectionForwardByLineCommand();
+execExtendSelectionForwardByLineCommand();
+document.execCommand("indent");
+verifyTextSelection(document.getElementsByTagName("blockquote")[2].firstChild, 0,
+                    document.getElementsByTagName("blockquote")[2].firstChild.nextSibling, 10);
+// Indenting <pre> lines in a table.
+pre = document.getElementById("pre-table");
+setSelection(pre);
+execMoveSelectionForwardByLineCommand();
+execExtendSelectionForwardByLineCommand();
+execExtendSelectionForwardByLineCommand();
+// FIXME: This is wrong.  The pre tags get copied when they shouldn't be. 
+// See https://bugs.webkit.org/show_bug.cgi?id=42009
+document.execCommand("indent");
+document.getElementById("results").innerText = "PASSED (did not crash)";
+"
+|     "
+"

Added: trunk/LayoutTests/platform/win/editing/execCommand/unlink-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/execCommand/unlink-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/execCommand/unlink-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,24 @@
+This is a test of execCommand("Unlink"). It tests:
+
+Completely unlinking a link.
+Unlinking a single word inside of a link.
+Unlinking a selection containing linked and unlinked text.
+Unlinking a selection that partially selects a linked table.
+The editable regions below describe what their content should be after the test.
+
+This paragraph should should end up unlinked.
+The second word in this paragraph should end up being unlinked, everything else should be a link.
+This paragraph starts with a link in the middle. Only the 'a' in the previous sentence should be linked after the test.
+This editable region contains lists, tables, styled text, and images. Everything in this region that is not selected should be a link, nothing that is selected should be a link.
+
+Item 1
+Item 2
+1	2	3
+
+This line contains  an image.
+The innerHTML of editable regions after the test:
+
+This paragraph should should end up unlinked.
+<a href="" </a>second <a href="" in this paragraph should end up being unlinked, everything else should be a link.</a>
+This paragraph starts with <a href="" id="test3start"> link</span> in the middle. Only the 'a' in the previous sentence should be linked after the test.
+<p>This <i>editable region</i> contains lists, tables, styled text, and images. Everything in this region that is not selected should be a link, nothing that is selected should be a link.</p> <ul> <li>Item 1</li> <li>Item 2</li> </ul> <table border="1"><tbody><tr><td>1</td><td>2</td><td><span id="test4end"><a href="" <a href="" This <b>line</b> contains <img src="" an image. </a>

Added: trunk/LayoutTests/platform/win/editing/inserting/insert-before-link-1-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/inserting/insert-before-link-1-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/inserting/insert-before-link-1-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,3 @@
+This tests insertion before/after links. Text should always be inserted at the start or end of a link should be inserted outside of it.
+
+this text should not be in a link<a id="link" href="" should</a>&nbsp;this should not<a href="" should</a>this should not

Added: trunk/LayoutTests/platform/win/editing/pasteboard/display-block-on-spans-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/pasteboard/display-block-on-spans-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/pasteboard/display-block-on-spans-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,37 @@
+This is a test case for the fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=7904.
+ReplaceSelectionCommand used to guess whether or not nodes in the fragment to be pasted were blocks. It now knows for sure.
+Before the fix, ReplaceSelectionCommand blew away content of the div below after copy/pasting it over itself.
+The following two results must be visually identical except for the caret.
+
+before:
+| "
+"
+| <span>
+|   style="display:block"
+|   <b>
+|     "<#selection-caret>This is a paragraph."
+| "
+"
+| <span>
+|   style="display:block"
+|   <b>
+|     "This is another paragraph."
+| "
+"
+
+after:
+| "
+"
+| <span>
+|   style="display: block;"
+|   <b>
+|     "This is a paragraph."
+| <span>
+|   style="display:block"
+|   <b>
+|     "This <#selection-caret>"
+|   <b>
+|     "is another paragraph."
+|   <br>
+| "
+"

Added: trunk/LayoutTests/platform/win/editing/pasteboard/merge-end-list-2-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/pasteboard/merge-end-list-2-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/pasteboard/merge-end-list-2-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,15 @@
+This tests pasting text ('foo\nbar') into a list item. The last bit of content in the incoming fragment should be merged with the paragraph after the position being pasted into.
+
+Before insertion:
+| <ul>
+|   <li>
+|     <div>
+|       "Item 1"
+
+After insertion:
+| <ul>
+|   <li>
+|     <div>
+|       "Item foo"
+|     <div>
+|       "bar<#selection-caret>1"

Added: trunk/LayoutTests/platform/win/editing/pasteboard/merge-end-table-2-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/pasteboard/merge-end-table-2-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/pasteboard/merge-end-table-2-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,24 @@
+This tests pasting text into a table cell.  The last bit of content in the incoming fragment should be merged with the paragraph after the position being pasted into.
+
+Before insertion:
+| <tbody>
+|   <tr>
+|     <td>
+|       <div>
+|         id="test2"
+|         "Item 1"
+|     <td>
+|       "Item 2"
+
+After insertion:
+| <tbody>
+|   <tr>
+|     <td>
+|       <div>
+|         id="test2"
+|         "Item foo"
+|       <div>
+|         id="test2"
+|         "bar<#selection-caret>1"
+|     <td>
+|       "Item 2"

Added: trunk/LayoutTests/platform/win/editing/pasteboard/page-zoom-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/pasteboard/page-zoom-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/pasteboard/page-zoom-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,12 @@
+Copy this 16px text.
+Paste Copy this 16px it here.
+The pasted text should have a font size of 16px.
+
+
+Copy this x-small text.
+Paste Copy this x-small it here.
+The pasted text should have a font size of x-small.
+
+
+PASS
+

Added: trunk/LayoutTests/platform/win/editing/style/apply-through-end-of-document-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/style/apply-through-end-of-document-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/style/apply-through-end-of-document-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,6 @@
+Test for rdar://problem/6864786: REGRESSION: Crash below ApplyStyleCommand::applyInlineStyleToRange when reviewing a patch in Bugzilla.
+
+The test passes if it does not crash.
+
+Copy the second word in this sentence.
+the 

Added: trunk/LayoutTests/platform/win/editing/style/remove-underline-across-paragraph-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/style/remove-underline-across-paragraph-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/style/remove-underline-across-paragraph-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,32 @@
+xxxxxx xxxxxx
+ xxxxxx xxxxxx
+execUnderlineCommand: <span id="test"></span>
+execTypeCharacterCommand: <u>x</u> <span id="test"></span>
+execTypeCharacterCommand: <u>xx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx&nbsp;</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx x</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span>
+execInsertParagraphCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u><br></u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;x</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;xx</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;xxx</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;xxxx</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;xxxxx</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;xxxxxx</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;xxxxxx&nbsp;</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;xxxxxx x</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;xxxxxx xx</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;xxxxxx xxx</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;xxxxxx xxxx</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;xxxxxx xxxxx</u></div>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span><div><u>&nbsp;xxxxxx xxxxxx</u></div>
+execUnderlineCommand: <u>xxxxxx </u>xxxxxx<span id="test"></span><div>&nbsp;xxxxxx <u>xxxxxx</u></div>

Added: trunk/LayoutTests/platform/win/editing/style/remove-underline-across-paragraph-in-bold-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/style/remove-underline-across-paragraph-in-bold-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/style/remove-underline-across-paragraph-in-bold-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,33 @@
+xxxxxx xxxxxx
+ xxxxxx xxxxxx
+execBoldCommand: <span id="test"></span>
+execUnderlineCommand: <span id="test"></span>
+execTypeCharacterCommand: <b><u>x</u></b> <span id="test"></span>
+execTypeCharacterCommand: <b><u>xx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx&nbsp;</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx x</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span>
+execInsertParagraphCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u><br></u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;x</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;xx</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;xxx</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;xxxx</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;xxxxx</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;xxxxxx</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;xxxxxx&nbsp;</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;xxxxxx x</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;xxxxxx xx</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;xxxxxx xxx</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;xxxxxx xxxx</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;xxxxxx xxxxx</u></b></div>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span><div><b><u>&nbsp;xxxxxx xxxxxx</u></b></div>
+execUnderlineCommand: <b><u>xxxxxx </u>xxxxxx</b><span id="test"></span><div><b>&nbsp;xxxxxx <u>xxxxxx</u></b></div>

Added: trunk/LayoutTests/platform/win/editing/style/remove-underline-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/style/remove-underline-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/style/remove-underline-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,23 @@
+xxxxxx xxxxxx xxxxxx
+execUnderlineCommand: <span id="test"></span>
+execTypeCharacterCommand: <u>x</u> <span id="test"></span>
+execTypeCharacterCommand: <u>xx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx&nbsp;</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx x</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx&nbsp;</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx x</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx xx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx xxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx xxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx xxxxx</u><span id="test"></span>
+execTypeCharacterCommand: <u>xxxxxx xxxxxx xxxxxx</u><span id="test"></span>
+execUnderlineCommand: <u>xxxxxx </u>xxxxxx <u>xxxxxx</u><span id="test"></span>

Added: trunk/LayoutTests/platform/win/editing/style/remove-underline-from-stylesheet-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/style/remove-underline-from-stylesheet-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/style/remove-underline-from-stylesheet-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,6 @@
+This tests removing underline from stylesheet (.editing has underline). Because text-decoration that comes from a style rule cannot be pushed down, the underline should stay. (see bug 27809).
+| "xxxxxx "
+| "<#selection-anchor>xxxxxx <#selection-focus>"
+| "xxxxxx"
+| <span>
+|   id="test"

Added: trunk/LayoutTests/platform/win/editing/style/remove-underline-in-bold-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/style/remove-underline-in-bold-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/style/remove-underline-in-bold-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,24 @@
+xxxxxx xxxxxx xxxxxx
+execUnderlineCommand: <span id="test"></span>
+execBoldCommand: <span id="test"></span>
+execTypeCharacterCommand: <b><u>x</u></b> <span id="test"></span>
+execTypeCharacterCommand: <b><u>xx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx&nbsp;</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx x</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx&nbsp;</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx x</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx xx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx xxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx xxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx xxxxx</u></b><span id="test"></span>
+execTypeCharacterCommand: <b><u>xxxxxx xxxxxx xxxxxx</u></b><span id="test"></span>
+execUnderlineCommand: <b><u>xxxxxx </u>xxxxxx <u>xxxxxx</u></b><span id="test"></span>

Added: trunk/LayoutTests/platform/win/editing/style/unbold-in-bold-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/style/unbold-in-bold-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/style/unbold-in-bold-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1,17 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
+        RenderInline {B} at (0,0) size 78x28
+          RenderText {#text} at (14,14) size 78x28
+            text run at (14,14) width 78: "xxxxxx "
+        RenderText {#text} at (92,14) size 78x28
+          text run at (92,14) width 78: "xxxxxx "
+        RenderInline {B} at (0,0) size 72x28
+          RenderText {#text} at (170,14) size 72x28
+            text run at (170,14) width 72: "xxxxxx"
+        RenderInline {SPAN} at (0,0) size 0x28
+selection start: position 0 of child 1 {#text} of child 1 {DIV} of body
+selection end:   position 7 of child 1 {#text} of child 1 {DIV} of body

Added: trunk/LayoutTests/platform/win/editing/undo/replace-text-in-node-preserving-markers-crash-expected.txt (0 => 149346)


--- trunk/LayoutTests/platform/win/editing/undo/replace-text-in-node-preserving-markers-crash-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/editing/undo/replace-text-in-node-preserving-markers-crash-expected.txt	2013-04-30 01:47:26 UTC (rev 149346)
@@ -0,0 +1 @@
+PASSEDabcd hijkl
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to