Added Mac expected results for this test that was added in r111946.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Mar 2012 08:49:39 +0000 (08:49 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Mar 2012 08:49:39 +0000 (08:49 +0000)
* platform/mac/editing/selection/selection-button-text-expected.png: Added.
* platform/mac/editing/selection/selection-button-text-expected.txt: Added.

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

LayoutTests/ChangeLog
LayoutTests/platform/mac/editing/selection/selection-button-text-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/editing/selection/selection-button-text-expected.txt [new file with mode: 0644]

index c718a2345a5e81328fc8c92666fe35d0a7941f9e..8181ee10681058e6ea6a5fef2006d42f2843c6eb 100644 (file)
@@ -1,3 +1,10 @@
+2012-03-24  Dan Bernstein  <mitz@apple.com>
+
+        Added Mac expected results for this test that was added in r111946.
+
+        * platform/mac/editing/selection/selection-button-text-expected.png: Added.
+        * platform/mac/editing/selection/selection-button-text-expected.txt: Added.
+
 2012-03-24  'Pavel Feldman'  <pfeldman@chromium.org>
 
         Not reviewed: chromium expectations updated.
diff --git a/LayoutTests/platform/mac/editing/selection/selection-button-text-expected.png b/LayoutTests/platform/mac/editing/selection/selection-button-text-expected.png
new file mode 100644 (file)
index 0000000..23833df
Binary files /dev/null and b/LayoutTests/platform/mac/editing/selection/selection-button-text-expected.png differ
diff --git a/LayoutTests/platform/mac/editing/selection/selection-button-text-expected.txt b/LayoutTests/platform/mac/editing/selection/selection-button-text-expected.txt
new file mode 100644 (file)
index 0000000..0174452
--- /dev/null
@@ -0,0 +1,35 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x138
+  RenderBlock {HTML} at (0,0) size 800x138
+    RenderBody {BODY} at (8,16) size 784x114
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 556x18
+          text run at (0,0) width 556: "To PASS this test case the text of the button label should not be selected in the selection."
+      RenderBlock {DIV} at (0,34) size 784x80
+        RenderBlock (anonymous) at (0,0) size 784x40
+          RenderText {#text} at (0,0) size 49x18
+            text run at (0,0) width 49: "Buttons"
+          RenderBR {BR} at (49,0) size 0x18
+          RenderText {#text} at (0,19) size 59x18
+            text run at (0,19) width 59: "with text "
+          RenderButton {INPUT} at (61,20) size 62x18 [bgcolor=#C0C0C0]
+            RenderBlock (anonymous) at (8,2) size 46x13
+              RenderText at (0,0) size 46x13
+                text run at (0,0) width 46: "too little"
+          RenderText {#text} at (125,19) size 55x18
+            text run at (125,19) width 55: " too little"
+        RenderBlock {DIV} at (0,40) size 784x22
+          RenderText {#text} at (0,1) size 54x18
+            text run at (0,1) width 54: "and text "
+          RenderButton {INPUT} at (56,2) size 67x18 [bgcolor=#C0C0C0]
+            RenderBlock (anonymous) at (8,2) size 51x13
+              RenderText at (0,0) size 51x13
+                text run at (0,0) width 51: "too much"
+          RenderText {#text} at (125,1) size 63x18
+            text run at (125,1) width 63: " too much"
+        RenderBlock (anonymous) at (0,62) size 784x18
+          RenderText {#text} at (0,0) size 244x18
+            text run at (0,0) width 244: "Should not be selected in the selection."
+selection start: position 0 of child 0 {#text} of child 1 {P} of body
+selection end:   position 41 of child 6 {#text} of child 3 {DIV} of body