Title: [131295] trunk/LayoutTests
Revision
131295
Author
o...@webkit.org
Date
2012-10-15 04:11:48 -0700 (Mon, 15 Oct 2012)

Log Message

[Qt] Unskip and rebase now passing tests.
https://bugs.webkit.org/show_bug.cgi?id=98824

Patch by Tullio Lucena <tullio.luc...@openbossa.org> on 2012-10-15
Reviewed by Csaba Osztrogonác.

Updating tests results.

* platform/qt/TestExpectations:
* platform/qt/editing/selection/caret-rtl-2-expected.png: Added.
* platform/qt/editing/selection/caret-rtl-2-expected.txt:
* platform/qt/editing/selection/caret-rtl-expected.png: Added.
* platform/qt/editing/selection/caret-rtl-expected.txt:
* platform/qt/editing/selection/extend-selection-bidi-expected.png: Added.
* platform/qt/editing/selection/extend-selection-bidi-expected.txt: Added.
* platform/qt/editing/selection/move-past-trailing-space-expected.png: Added.
* platform/qt/editing/selection/move-past-trailing-space-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (131294 => 131295)


--- trunk/LayoutTests/ChangeLog	2012-10-15 10:37:24 UTC (rev 131294)
+++ trunk/LayoutTests/ChangeLog	2012-10-15 11:11:48 UTC (rev 131295)
@@ -1,3 +1,22 @@
+2012-10-15  Tullio Lucena  <tullio.luc...@openbossa.org>
+
+        [Qt] Unskip and rebase now passing tests.
+        https://bugs.webkit.org/show_bug.cgi?id=98824
+
+        Reviewed by Csaba Osztrogonác.
+
+        Updating tests results.
+
+        * platform/qt/TestExpectations:
+        * platform/qt/editing/selection/caret-rtl-2-expected.png: Added.
+        * platform/qt/editing/selection/caret-rtl-2-expected.txt:
+        * platform/qt/editing/selection/caret-rtl-expected.png: Added.
+        * platform/qt/editing/selection/caret-rtl-expected.txt:
+        * platform/qt/editing/selection/extend-selection-bidi-expected.png: Added.
+        * platform/qt/editing/selection/extend-selection-bidi-expected.txt: Added.
+        * platform/qt/editing/selection/move-past-trailing-space-expected.png: Added.
+        * platform/qt/editing/selection/move-past-trailing-space-expected.txt: Added.
+
 2012-10-15  Shinya Kawanaka  <shin...@chromium.org>
 
         [Chromium] Unreviewed gardening, TestExpectations updated.

Modified: trunk/LayoutTests/platform/qt/TestExpectations (131294 => 131295)


--- trunk/LayoutTests/platform/qt/TestExpectations	2012-10-15 10:37:24 UTC (rev 131294)
+++ trunk/LayoutTests/platform/qt/TestExpectations	2012-10-15 11:11:48 UTC (rev 131295)
@@ -839,7 +839,6 @@
 editing/selection/fake-drag.html
 editing/selection/select-from-textfield-outwards.html
 editing/selection/move-left-right.html
-editing/selection/move-past-trailing-space.html
 
 # [Qt] editing tests fails after r54980
 # https://bugs.webkit.org/show_bug.cgi?id=35145
@@ -852,11 +851,6 @@
 # https://bugs.webkit.org/show_bug.cgi?id=38656
 editing/selection/shift-click.html
 
-# -- pass with --platform mac --ignore-metrics
-editing/selection/extend-selection-bidi.html
-editing/selection/caret-rtl-2.html
-editing/selection/caret-rtl.html
-
 # https://bugs.webkit.org/show_bug.cgi?id=41918
 editing/selection/5195166-1.html
 

Added: trunk/LayoutTests/platform/qt/editing/selection/caret-rtl-2-expected.png


(Binary files differ)
Property changes on: trunk/LayoutTests/platform/qt/editing/selection/caret-rtl-2-expected.png ___________________________________________________________________

Added: svn:mime-type

Modified: trunk/LayoutTests/platform/qt/editing/selection/caret-rtl-2-expected.txt (131294 => 131295)


--- trunk/LayoutTests/platform/qt/editing/selection/caret-rtl-2-expected.txt	2012-10-15 10:37:24 UTC (rev 131294)
+++ trunk/LayoutTests/platform/qt/editing/selection/caret-rtl-2-expected.txt	2012-10-15 11:11:48 UTC (rev 131295)
@@ -1,22 +1,18 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-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 784x578
-      RenderBlock (anonymous) at (0,0) size 784x19
-        RenderText {#text} at (0,0) size 591x19
-          text run at (0,0) width 591: "This tests that clicking in a contenteditable div will set the caret in the right position for rtl text. "
-        RenderBR {BR} at (591,14) size 0x0
-      RenderBlock {P} at (0,33) size 784x19
-        RenderText {#text} at (0,0) size 646x19
-          text run at (0,0) width 193: "Click in the middle of the field. "
-          text run at (193,0) width 453: "The caret should be on the edge of the text closer to where you clicked."
-layer at (10,70) size 152x21
-  RenderBlock (positioned) {DIV} at (10,70) size 152x21 [border: (1px solid #000000)]
-    RenderText {#text} at (1,1) size 88x19
-      text run at (1,1) width 88 RTL: "\x{5E9}\x{5D3}\x{5D4} \x{5D1}\x{5D5}\x{5E8}"
-caret: position 0 of child 0 {#text} of child 5 {DIV} of body
+layer at (0,0) size 800x142
+  RenderBlock {HTML} at (0,0) size 800x142
+    RenderBody {BODY} at (8,16) size 784x118
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 775x38
+          text run at (0,0) width 775: "This tests that clicking in a contenteditable div will set the caret in the right position for RTL text in a RTL block. To test manually,"
+          text run at (0,19) width 379: "click the right of the text. The caret should be on the right edge."
+      RenderBlock {DIV} at (0,54) size 205x45 [border: (1px solid #000000)]
+        RenderText {#text} at (11,11) size 72x23
+          text run at (11,11) width 72 RTL: "\x{5E9}\x{5D3}\x{5D4} \x{5D1}\x{5D5}\x{5E8}"
+      RenderBlock (anonymous) at (0,99) size 784x19
+        RenderText {#text} at (0,0) size 38x19
+          text run at (0,0) width 38: "PASS"
+        RenderBR {BR} at (38,0) size 0x19
+        RenderText {#text} at (0,0) size 0x0
+caret: position 7 of child 0 {#text} of child 3 {DIV} of body

Added: trunk/LayoutTests/platform/qt/editing/selection/caret-rtl-expected.png


(Binary files differ)
Property changes on: trunk/LayoutTests/platform/qt/editing/selection/caret-rtl-expected.png ___________________________________________________________________

Added: svn:mime-type

Modified: trunk/LayoutTests/platform/qt/editing/selection/caret-rtl-expected.txt (131294 => 131295)


--- trunk/LayoutTests/platform/qt/editing/selection/caret-rtl-expected.txt	2012-10-15 10:37:24 UTC (rev 131294)
+++ trunk/LayoutTests/platform/qt/editing/selection/caret-rtl-expected.txt	2012-10-15 11:11:48 UTC (rev 131295)
@@ -1,22 +1,18 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 7 of #text > DIV > BODY > HTML > #document to 7 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-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 784x578
-      RenderBlock (anonymous) at (0,0) size 784x19
-        RenderText {#text} at (0,0) size 591x19
-          text run at (0,0) width 591: "This tests that clicking in a contenteditable div will set the caret in the right position for rtl text. "
-        RenderBR {BR} at (591,14) size 0x0
-      RenderBlock {P} at (0,33) size 784x19
-        RenderText {#text} at (0,0) size 646x19
-          text run at (0,0) width 193: "Click in the middle of the field. "
-          text run at (193,0) width 453: "The caret should be on the edge of the text closer to where you clicked."
-layer at (10,70) size 152x21
-  RenderBlock (positioned) {DIV} at (10,70) size 152x21 [border: (1px solid #000000)]
-    RenderText {#text} at (63,1) size 88x19
-      text run at (63,1) width 88 RTL: "\x{5E9}\x{5D3}\x{5D4} \x{5D1}\x{5D5}\x{5E8}"
-caret: position 7 of child 0 {#text} of child 5 {DIV} of body
+layer at (0,0) size 800x142
+  RenderBlock {HTML} at (0,0) size 800x142
+    RenderBody {BODY} at (8,16) size 784x118
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 775x38
+          text run at (0,0) width 775: "This tests that clicking in a contenteditable div will set the caret in the right position for RTL text in a RTL block. To test manually,"
+          text run at (0,19) width 363: "click the left of the text. The caret should be on the left edge."
+      RenderBlock {DIV} at (0,54) size 205x45 [border: (1px solid #000000)]
+        RenderText {#text} at (122,11) size 72x23
+          text run at (122,11) width 72 RTL: "\x{5E9}\x{5D3}\x{5D4} \x{5D1}\x{5D5}\x{5E8}"
+      RenderBlock (anonymous) at (0,99) size 784x19
+        RenderText {#text} at (0,0) size 38x19
+          text run at (0,0) width 38: "PASS"
+        RenderBR {BR} at (38,0) size 0x19
+        RenderText {#text} at (0,0) size 0x0
+caret: position 7 of child 0 {#text} of child 3 {DIV} of body

Added: trunk/LayoutTests/platform/qt/editing/selection/extend-selection-bidi-expected.png


(Binary files differ)
Property changes on: trunk/LayoutTests/platform/qt/editing/selection/extend-selection-bidi-expected.png ___________________________________________________________________

Added: svn:mime-type

Added: trunk/LayoutTests/platform/qt/editing/selection/extend-selection-bidi-expected.txt (0 => 131295)


--- trunk/LayoutTests/platform/qt/editing/selection/extend-selection-bidi-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/qt/editing/selection/extend-selection-bidi-expected.txt	2012-10-15 11:11:48 UTC (rev 131295)
@@ -0,0 +1,42 @@
+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: 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 784x584
+      RenderBlock (anonymous) at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 341x19
+          text run at (0,0) width 341: "The selection range in the red box should look like this:   "
+        RenderInline {SPAN} at (0,0) size 108x19 [bgcolor=#AFDAFF]
+          RenderText {#text} at (341,0) size 108x19
+            text run at (341,0) width 26: "abc "
+            text run at (394,0) width 8: "1"
+            text run at (418,0) width 31 RTL: "\x{5D0}\x{5D1}\x{5D2} "
+        RenderText {#text} at (367,0) size 109x19
+          text run at (367,0) width 27 RTL: " \x{5D3}\x{5D4}\x{5D5}"
+          text run at (402,0) width 16: "23"
+          text run at (449,0) width 27: " def "
+        RenderBR {BR} at (476,15) size 0x0
+        RenderBR {BR} at (0,19) size 0x19
+      RenderBlock {DIV} at (0,38) size 784x56 [border: (2px solid #FF0000)]
+        RenderInline {SPAN} at (0,0) size 198x28
+          RenderText {#text} at (14,14) size 198x28
+            text run at (14,14) width 40: "abc "
+            text run at (54,14) width 40 RTL: " \x{5D3}\x{5D4}\x{5D5}"
+            text run at (94,14) width 36: "123"
+            text run at (130,14) width 45 RTL: "\x{5D0}\x{5D1}\x{5D2} "
+            text run at (175,14) width 37: " def"
+        RenderText {#text} at (0,0) size 0x0
+selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 6 {DIV} of body
+selection end:   position 9 of child 0 {#text} of child 1 {SPAN} of child 6 {DIV} of body

Added: trunk/LayoutTests/platform/qt/editing/selection/move-past-trailing-space-expected.png


(Binary files differ)
Property changes on: trunk/LayoutTests/platform/qt/editing/selection/move-past-trailing-space-expected.png ___________________________________________________________________

Added: svn:mime-type

Added: trunk/LayoutTests/platform/qt/editing/selection/move-past-trailing-space-expected.txt (0 => 131295)


--- trunk/LayoutTests/platform/qt/editing/selection/move-past-trailing-space-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/qt/editing/selection/move-past-trailing-space-expected.txt	2012-10-15 11:11:48 UTC (rev 131295)
@@ -0,0 +1,28 @@
+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: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+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 784x584
+      RenderBlock {DIV} at (0,0) size 228x84 [border: (2px solid #FF0000)]
+        RenderInline {SPAN} at (0,0) size 125x56
+          RenderText {#text} at (89,14) size 125x56
+            text run at (89,14) width 57 RTL: " \x{5D0}\x{5D7}\x{5E8}\x{5D9}"
+            text run at (146,14) width 68: "before"
+            text run at (89,42) width 125 RTL: "\x{5D0}\x{5E0}\x{5E6}\x{5D9}\x{5E7}\x{5DC}\x{5D5}\x{5E4}\x{5D3}\x{5D9}\x{5D4}"
+        RenderText {#text} at (0,0) size 0x0
+caret: position 12 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to