<attachment> label can get very wide, doesn't wrap/truncate
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Mar 2015 22:12:49 +0000 (22:12 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Mar 2015 22:12:49 +0000 (22:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=142214
<rdar://problem/19982499>

* platform/mac-mavericks/fast/attachment: Added.
* platform/mac-mavericks/fast/attachment/attachment-label-highlight-expected.txt: Added.
Add a Mavericks result because text metrics differ.

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

LayoutTests/ChangeLog
LayoutTests/platform/mac-mavericks/fast/attachment/attachment-label-highlight-expected.txt [new file with mode: 0644]

index 87d3d4d10e465f831e7957535da46161cf5cbc3d..695ad1245cdfa9b0810aedc0eb3002a5b6357f87 100644 (file)
@@ -1,3 +1,13 @@
+2015-03-03  Timothy Horton  <timothy_horton@apple.com>
+
+        <attachment> label can get very wide, doesn't wrap/truncate
+        https://bugs.webkit.org/show_bug.cgi?id=142214
+        <rdar://problem/19982499>
+
+        * platform/mac-mavericks/fast/attachment: Added.
+        * platform/mac-mavericks/fast/attachment/attachment-label-highlight-expected.txt: Added.
+        Add a Mavericks result because text metrics differ.
+
 2015-03-03  Darin Adler  <darin@apple.com>
 
         Test legacy event handler attributes (ones with names like "onclick")
 2015-03-03  Darin Adler  <darin@apple.com>
 
         Test legacy event handler attributes (ones with names like "onclick")
diff --git a/LayoutTests/platform/mac-mavericks/fast/attachment/attachment-label-highlight-expected.txt b/LayoutTests/platform/mac-mavericks/fast/attachment/attachment-label-highlight-expected.txt
new file mode 100644 (file)
index 0000000..01da117
--- /dev/null
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x108
+  RenderBlock {HTML} at (0,0) size 800x108
+    RenderBody {BODY} at (8,8) size 784x92
+      RenderAttachment {ATTACHMENT} at (0,0) size 60x77
+      RenderAttachment {ATTACHMENT} at (60,0) size 92x92
+      RenderAttachment {ATTACHMENT} at (152,0) size 92x92
+      RenderAttachment {ATTACHMENT} at (244,0) size 96x92
+      RenderAttachment {ATTACHMENT} at (340,0) size 104x92
+      RenderAttachment {ATTACHMENT} at (444,0) size 104x92
+      RenderText {#text} at (0,0) size 0x0
+selection start: position 0 of child 2 {ATTACHMENT} of body
+selection end:   position 1 of child 7 {ATTACHMENT} of body