win-wk2 needs updated baselines for some editing tests
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Aug 2011 23:30:13 +0000 (23:30 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Aug 2011 23:30:13 +0000 (23:30 +0000)
https://bugs.webkit.org/show_bug.cgi?id=66344

win-wk2 didn't have some necessary baselines for an earlier patch;
they have been copied directly from LayoutTests/platform/chromium-win

Patch by Wyatt Carss <wcarss@chromium.org> on 2011-08-16
Reviewed by Ryosuke Niwa.

* platform/win-wk2/editing/deleting: Added.
* platform/win-wk2/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt: Copied from LayoutTests/platform/chromium-win/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt.
* platform/win-wk2/editing/deleting/delete-ws-fixup-003-expected.txt: Copied from LayoutTests/platform/chromium-win/editing/deleting/delete-ws-fixup-003-expected.txt.
* platform/win-wk2/editing/deleting/delete-ws-fixup-004-expected.txt: Copied from LayoutTests/platform/chromium-win/editing/deleting/delete-ws-fixup-004-expected.txt.
* platform/win-wk2/editing/selection/transformed-selection-rects-expected.txt: Copied from LayoutTests/platform/chromium-win/editing/selection/transformed-selection-rects-expected.txt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@93177 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/platform/win-wk2/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt [new file with mode: 0644]
LayoutTests/platform/win-wk2/editing/deleting/delete-ws-fixup-003-expected.txt [new file with mode: 0644]
LayoutTests/platform/win-wk2/editing/deleting/delete-ws-fixup-004-expected.txt [new file with mode: 0644]
LayoutTests/platform/win-wk2/editing/selection/transformed-selection-rects-expected.txt [new file with mode: 0644]

index 8012659..ab4667e 100644 (file)
@@ -1,3 +1,19 @@
+2011-08-16  Wyatt Carss  <wcarss@chromium.org>
+
+        win-wk2 needs updated baselines for some editing tests
+        https://bugs.webkit.org/show_bug.cgi?id=66344
+
+        win-wk2 didn't have some necessary baselines for an earlier patch;
+        they have been copied directly from LayoutTests/platform/chromium-win
+
+        Reviewed by Ryosuke Niwa.
+
+        * platform/win-wk2/editing/deleting: Added.
+        * platform/win-wk2/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt: Copied from LayoutTests/platform/chromium-win/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt.
+        * platform/win-wk2/editing/deleting/delete-ws-fixup-003-expected.txt: Copied from LayoutTests/platform/chromium-win/editing/deleting/delete-ws-fixup-003-expected.txt.
+        * platform/win-wk2/editing/deleting/delete-ws-fixup-004-expected.txt: Copied from LayoutTests/platform/chromium-win/editing/deleting/delete-ws-fixup-004-expected.txt.
+        * platform/win-wk2/editing/selection/transformed-selection-rects-expected.txt: Copied from LayoutTests/platform/chromium-win/editing/selection/transformed-selection-rects-expected.txt.
+
 2011-08-16  Tony Chang  <tony@chromium.org>
 
         Add placeholder directories so the chromium canary bots can update.
diff --git a/LayoutTests/platform/win-wk2/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt b/LayoutTests/platform/win-wk2/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt
new file mode 100644 (file)
index 0000000..740e9a1
--- /dev/null
@@ -0,0 +1,51 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldDeleteDOMRange:range from 2 of #text > P > DIV > DIV > BODY > HTML > #document to 4 of #text > P > DIV > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+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 784x238 [border: (2px solid #0000FF)]
+        RenderBlock {DIV} at (14,14) size 756x83
+          RenderText {#text} at (0,0) size 66x26
+            text run at (0,0) width 66: "Tests: "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,27) size 679x55
+            text run at (0,27) width 679: "Deleting when a selection starts in the middle of the last paragraph and"
+            text run at (0,55) width 347: "extends to the end of that paragraph"
+        RenderBlock {DIV} at (14,113) size 756x111
+          RenderText {#text} at (0,0) size 189x26
+            text run at (0,0) width 189: "Expected Results: "
+          RenderBR {BR} at (189,21) size 0x0
+          RenderText {#text} at (0,27) size 729x83
+            text run at (0,27) width 729: "Should see the four lines in the red box. First line should be \"one\". Next one"
+            text run at (0,55) width 166: "should be \"two\". "
+            text run at (166,55) width 506: "Next one should be \"three\". Last one should be \"fo\"."
+            text run at (0,83) width 658: "Insertion point should be blinking at the start of the fourth (last) line."
+      RenderBlock {DIV} at (0,262) size 784x116
+        RenderBlock {DIV} at (0,0) size 784x116 [border: (2px solid #FF0000)]
+          RenderBlock (anonymous) at (2,2) size 780x28
+            RenderText {#text} at (0,0) size 35x27
+              text run at (0,0) width 35: "one"
+          RenderBlock {P} at (2,30) size 780x28
+            RenderText {#text} at (0,0) size 36x27
+              text run at (0,0) width 36: "two"
+          RenderBlock {P} at (2,58) size 780x28
+            RenderText {#text} at (0,0) size 49x27
+              text run at (0,0) width 49: "three"
+          RenderBlock {P} at (2,86) size 780x28
+            RenderText {#text} at (0,0) size 20x27
+              text run at (0,0) width 20: "fo"
+caret: position 2 of child 0 {#text} of child 5 {P} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/win-wk2/editing/deleting/delete-ws-fixup-003-expected.txt b/LayoutTests/platform/win-wk2/editing/deleting/delete-ws-fixup-003-expected.txt
new file mode 100644 (file)
index 0000000..a814754
--- /dev/null
@@ -0,0 +1,30 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldDeleteDOMRange:range from 4 of #text > SPAN > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+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 {SPAN} at (0,0) size 75x27
+          RenderText {#text} at (14,14) size 37x27
+            text run at (14,14) width 37: "bar "
+          RenderInline {SPAN} at (0,0) size 6x27
+            RenderText {#text} at (51,14) size 6x27
+              text run at (51,14) width 6: " "
+          RenderText {#text} at (57,14) size 32x27
+            text run at (57,14) width 32: "foo"
+        RenderText {#text} at (0,0) size 0x0
+caret: position 4 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/win-wk2/editing/deleting/delete-ws-fixup-004-expected.txt b/LayoutTests/platform/win-wk2/editing/deleting/delete-ws-fixup-004-expected.txt
new file mode 100644 (file)
index 0000000..8099437
--- /dev/null
@@ -0,0 +1,30 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldDeleteDOMRange:range from 4 of #text > SPAN > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+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 {SPAN} at (0,0) size 87x27
+          RenderText {#text} at (14,14) size 37x27
+            text run at (14,14) width 37: "bar "
+          RenderInline {SPAN} at (0,0) size 18x27
+            RenderText {#text} at (51,14) size 18x27
+              text run at (51,14) width 18: "   "
+          RenderText {#text} at (69,14) size 32x27
+            text run at (69,14) width 32: "foo"
+        RenderText {#text} at (0,0) size 0x0
+caret: position 4 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/win-wk2/editing/selection/transformed-selection-rects-expected.txt b/LayoutTests/platform/win-wk2/editing/selection/transformed-selection-rects-expected.txt
new file mode 100644 (file)
index 0000000..47ba42b
--- /dev/null
@@ -0,0 +1,22 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+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 784x572
+      RenderBlock {P} at (0,0) size 784x20
+        RenderText {#text} at (0,0) size 709x19
+          text run at (0,0) width 709: "Tests that selection rects take transforms into account. The red box should be the bounds of the transformed selection."
+layer at (28,48) size 622x98
+  RenderBlock {DIV} at (20,40) size 622x98 [border: (1px solid #000000)]
+    RenderBlock {P} at (11,35) size 600x28
+      RenderText {#text} at (0,0) size 133x27
+        text run at (0,0) width 133: "Lorem ipsum "
+      RenderInline {SPAN} at (0,0) size 388x26
+        RenderText {#text} at (133,0) size 388x26
+          text run at (133,0) width 388: "dolor sit amet, consectetur adipisicing"
+      RenderText {#text} at (521,0) size 42x27
+        text run at (521,0) width 42: " elit."
+selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 1 {P} of child 3 {DIV} of body
+selection end:   position 5 of child 0 {#text} of child 1 {SPAN} of child 1 {P} of child 3 {DIV} of body