diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-10 00:52:09 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-10 00:52:09 +0000 |
commit | 15ff0e51410f9a17344849a3f16014d949e700b8 (patch) | |
tree | b39599bd708f8ba74342f3b29170b3914214a0a6 /webkit | |
parent | 1e37f3ec5e4c273e2332327058b205f635bd8ae3 (diff) | |
download | chromium_src-15ff0e51410f9a17344849a3f16014d949e700b8.zip chromium_src-15ff0e51410f9a17344849a3f16014d949e700b8.tar.gz chromium_src-15ff0e51410f9a17344849a3f16014d949e700b8.tar.bz2 |
Rebaseline some layout tests after roll to r49405
TBR=dglazkov
Review URL: http://codereview.chromium.org/261054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28644 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
19 files changed, 322 insertions, 6 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/4641880-2-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/4641880-2-expected.txt new file mode 100644 index 0000000..1f15d8b --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/4641880-2-expected.txt @@ -0,0 +1,28 @@ +EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 5 of DIV > BODY > HTML > #document +EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document to 34 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE +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 {P} at (0,0) size 784x40 + RenderText {#text} at (0,0) size 763x39 + text run at (0,0) width 409: "This tests Indent on a selection that ends at the start of a paragraph. " + text run at (409,0) width 354: "Since we don't paint the gap before the paragraph for most" + text run at (0,20) width 521: "selections like this, we don't perform Indent on the paragraph that the selection ends in." + RenderBlock {DIV} at (0,56) size 784x40 + RenderBlock {BLOCKQUOTE} at (40,0) size 744x20 + RenderText {#text} at (0,0) size 211x19 + text run at (0,0) width 211: "This paragraph should be indented." + RenderBlock (anonymous) at (0,20) size 784x20 + RenderText {#text} at (0,0) size 234x19 + text run at (0,0) width 234: "This paragraph should not be indented." + RenderBR {BR} at (234,15) size 0x0 +selection start: position 0 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document +selection end: position 34 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/4916541-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/4916541-expected.txt new file mode 100644 index 0000000..a5c29bb --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/4916541-expected.txt @@ -0,0 +1,20 @@ +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 {P} at (0,0) size 784x40 + RenderText {#text} at (0,0) size 777x39 + text run at (0,0) width 358: "This tests selection preservation during an indent operation. " + text run at (358,0) width 419: "The selection should start and end in the same parts of the words 'foo'" + text run at (0,20) width 279: "and 'bar' before and after the indent operation." + RenderBlock {DIV} at (0,56) size 784x40 + RenderBlock {BLOCKQUOTE} at (40,0) size 744x40 + RenderText {#text} at (0,0) size 20x19 + text run at (0,0) width 20: "foo" + RenderBR {BR} at (20,15) size 0x0 + RenderText {#text} at (0,20) size 20x19 + text run at (0,20) width 20: "bar" + RenderBlock (anonymous) at (0,40) size 784x0 +selection start: position 1 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document +selection end: position 2 of child 2 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/5138441-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/5138441-expected.txt new file mode 100644 index 0000000..0e62a3d --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/5138441-expected.txt @@ -0,0 +1,19 @@ +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 {P} at (0,0) size 784x60 + RenderText {#text} at (0,0) size 782x59 + text run at (0,0) width 471: "This tests for a bug where indented text would appear quoted in GoogleDocs. " + text run at (471,0) width 311: "Google docs uses blockquotes and FormatBlock to" + text run at (0,20) width 725: "implement a \"Quote Text\" feature, and style rules for blockquotes appeared on the blockquotes that we use to implement" + text run at (0,40) width 57: "indenting." + RenderBlock {DIV} at (0,76) size 784x66 + RenderBlock {BLOCKQUOTE} at (40,0) size 744x20 + RenderText {#text} at (0,0) size 219x19 + text run at (0,0) width 219: "This should be indented, not quoted." + RenderBlock {BLOCKQUOTE} at (8,28) size 768x38 [border: (1px dashed #AAAAAA)] + RenderText {#text} at (9,9) size 167x19 + text run at (9,9) width 167: "This text should be Quoted." +caret: position 0 of child 0 {#text} of child 1 {BLOCKQUOTE} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/5481523-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/5481523-expected.txt new file mode 100644 index 0000000..aec3345 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/5481523-expected.txt @@ -0,0 +1,32 @@ +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 {P} at (0,0) size 784x20 + RenderText {#text} at (0,0) size 750x19 + text run at (0,0) width 382: "This tests for a hang when indenting a fully selected table twice. " + text run at (382,0) width 368: "You should see a twice indented table, with four cells, below." + RenderBlock {DIV} at (0,36) size 784x56 + RenderBlock {BLOCKQUOTE} at (40,0) size 744x56 + RenderBlock {BLOCKQUOTE} at (40,0) size 704x56 + RenderTable {TABLE} at (0,0) size 80x56 [border: (1px outset #808080)] + RenderTableSection {TBODY} at (1,1) size 78x54 + RenderTableRow {TR} at (0,2) size 78x24 + RenderTableCell {TD} at (2,2) size 39x24 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1] + RenderText {#text} at (2,2) size 26x19 + text run at (2,2) width 26: "One" + RenderTableCell {TD} at (43,2) size 33x24 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1] + RenderText {#text} at (2,2) size 28x19 + text run at (2,2) width 28: "Two" + RenderTableRow {TR} at (0,28) size 78x24 + RenderTableCell {TD} at (2,28) size 39x24 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1] + RenderText {#text} at (2,2) size 35x19 + text run at (2,2) width 35: "Three" + RenderTableCell {TD} at (43,28) size 33x24 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1] + RenderText {#text} at (2,2) size 29x19 + text run at (2,2) width 29: "Four" + RenderBlock (anonymous) at (0,56) size 704x0 + RenderBlock (anonymous) at (0,56) size 784x0 +selection start: position 0 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document +selection end: position 1 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/indent-selection-expected.checksum b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/indent-selection-expected.checksum index 146e3a9..020f219 100644 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/indent-selection-expected.checksum +++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/indent-selection-expected.checksum @@ -1 +1 @@ -99ca93965d38d435a83201c59906a7c5
\ No newline at end of file +11409afea23a160785c36c122568dc54
\ No newline at end of file diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/indent-selection-expected.png b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/indent-selection-expected.png Binary files differindex da875a4..83835dc 100644 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/indent-selection-expected.png +++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/indent-selection-expected.png diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/indent-selection-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/indent-selection-expected.txt new file mode 100644 index 0000000..87c0887 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/editing/execCommand/indent-selection-expected.txt @@ -0,0 +1,58 @@ +EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 10 of DIV > BODY > HTML > #document +EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document to 5 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE +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 784x20 + RenderText {#text} at (0,0) size 346x19 + text run at (0,0) width 346: "This test uses the execCommand to indent the text below." + RenderBlock (anonymous) at (0,20) size 784x20 + RenderBR {BR} at (0,0) size 0x19 + RenderBlock {DIV} at (0,40) size 784x212 + RenderBlock {BLOCKQUOTE} at (40,0) size 744x60 + RenderBlock (anonymous) at (0,0) size 744x40 + RenderText {#text} at (0,0) size 40x19 + text run at (0,0) width 40: "Lorem" + RenderBR {BR} at (40,15) size 0x0 + RenderText {#text} at (0,20) size 80x19 + text run at (0,20) width 80: "more Lorem!" + RenderBlock {BLOCKQUOTE} at (40,40) size 704x20 + RenderText {#text} at (0,0) size 35x19 + text run at (0,0) width 35: "ipsum" + RenderBlock (anonymous) at (0,60) size 784x0 + RenderBlock {BLOCKQUOTE} at (40,76) size 744x60 + RenderBlock {UL} at (0,0) size 744x60 + RenderBlock {UL} at (40,0) size 704x60 + RenderListItem {LI} at (40,0) size 664x20 + RenderListMarker at (-18,0) size 7x19: white bullet + RenderText {#text} at (0,0) size 25x19 + text run at (0,0) width 25: "Foo" + RenderListItem {LI} at (40,20) size 664x20 + RenderListMarker at (-18,0) size 7x19: white bullet + RenderText {#text} at (0,0) size 22x19 + text run at (0,0) width 22: "Bar" + RenderListItem {LI} at (40,40) size 664x20 + RenderListMarker at (-18,0) size 7x19: white bullet + RenderText {#text} at (0,0) size 23x19 + text run at (0,0) width 23: "Baz" + RenderBlock {BLOCKQUOTE} at (40,152) size 744x60 + RenderBlock {BLOCKQUOTE} at (40,0) size 704x20 + RenderText {#text} at (0,0) size 35x19 + text run at (0,0) width 35: "Dolor" + RenderBlock (anonymous) at (0,20) size 744x40 + RenderText {#text} at (0,0) size 32x19 + text run at (0,0) width 32: "Sum!" + RenderBR {BR} at (32,15) size 0x0 + RenderText {#text} at (0,20) size 33x19 + text run at (0,20) width 33: "Thing" + RenderBlock (anonymous) at (0,212) size 784x0 +selection start: position 0 of child 0 {#text} of child 1 {BLOCKQUOTE} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document +selection end: position 5 of child 3 {#text} of child 3 {BLOCKQUOTE} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/4641880-2-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/4641880-2-expected.txt new file mode 100644 index 0000000..4529aeb --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/4641880-2-expected.txt @@ -0,0 +1,28 @@ +EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 5 of DIV > BODY > HTML > #document +EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 1 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document to 35 of #text > BLOCKQUOTE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE +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 {P} at (0,0) size 784x36 + RenderText {#text} at (0,0) size 758x36 + text run at (0,0) width 424: "This tests Indent on a selection that ends at the start of a paragraph. " + text run at (424,0) width 334: "Since we don't paint the gap before the paragraph for" + text run at (0,18) width 580: "most selections like this, we don't perform Indent on the paragraph that the selection ends in." + RenderBlock {DIV} at (0,52) size 784x36 + RenderBlock {BLOCKQUOTE} at (40,0) size 704x18 + RenderText {#text} at (0,0) size 222x18 + text run at (0,0) width 222: "This paragraph should be indented." + RenderBlock (anonymous) at (0,18) size 784x18 + RenderText {#text} at (0,0) size 246x18 + text run at (0,0) width 246: "This paragraph should not be indented." + RenderBR {BR} at (246,14) size 0x0 +selection start: position 1 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document +selection end: position 35 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/4916541-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/4916541-expected.txt new file mode 100644 index 0000000..fc17961 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/4916541-expected.txt @@ -0,0 +1,22 @@ +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 {P} at (0,0) size 784x36 + RenderText {#text} at (0,0) size 783x36 + text run at (0,0) width 377: "This tests selection preservation during an indent operation. " + text run at (377,0) width 406: "The selection should start and end in the same parts of the words" + text run at (0,18) width 320: "'foo' and 'bar' before and after the indent operation." + RenderBlock {DIV} at (0,52) size 784x36 + RenderBlock {BLOCKQUOTE} at (40,0) size 704x36 + RenderInline {SPAN} at (0,0) size 21x18 + RenderText {#text} at (0,0) size 21x18 + text run at (0,0) width 21: "foo" + RenderBR {BR} at (21,14) size 0x0 + RenderInline {SPAN} at (0,0) size 20x18 + RenderText {#text} at (0,18) size 20x18 + text run at (0,18) width 20: "bar" + RenderBlock (anonymous) at (0,36) size 784x0 +selection start: position 1 of child 0 {#text} of child 0 {SPAN} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document +selection end: position 2 of child 0 {#text} of child 2 {SPAN} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5138441-expected.checksum b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5138441-expected.checksum new file mode 100644 index 0000000..c40d64a --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5138441-expected.checksum @@ -0,0 +1 @@ +6de2a5da77586163a8df8995fbf6d51f
\ No newline at end of file diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5138441-expected.png b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5138441-expected.png Binary files differnew file mode 100644 index 0000000..538c38d --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5138441-expected.png diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5138441-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5138441-expected.txt new file mode 100644 index 0000000..a62569d --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5138441-expected.txt @@ -0,0 +1,21 @@ +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 {P} at (0,0) size 784x54 + RenderText {#text} at (0,0) size 776x54 + text run at (0,0) width 493: "This tests for a bug where indented text would appear quoted in GoogleDocs. " + text run at (493,0) width 218: "Google docs uses blockquotes and" + text run at (0,18) width 776: "FormatBlock to implement a \"Quote Text\" feature, and style rules for blockquotes appeared on the blockquotes that we use" + text run at (0,36) width 149: "to implement indenting." + RenderBlock {DIV} at (0,70) size 784x70 + RenderBlock {DIV} at (0,0) size 784x26 + RenderBlock {BLOCKQUOTE} at (40,0) size 736x26 + RenderText {#text} at (0,8) size 230x18 + text run at (0,8) width 230: "This should be indented, not quoted." + RenderBlock (anonymous) at (0,26) size 784x0 + RenderBlock {BLOCKQUOTE} at (8,34) size 768x36 [border: (1px dashed #AAAAAA)] + RenderText {#text} at (9,9) size 175x18 + text run at (9,9) width 175: "This text should be Quoted." +caret: position 0 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 1 {DIV} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5481523-expected.checksum b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5481523-expected.checksum new file mode 100644 index 0000000..81bd58b --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5481523-expected.checksum @@ -0,0 +1 @@ +379be4bbe4246fc8b214e230d136866e
\ No newline at end of file diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5481523-expected.png b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5481523-expected.png Binary files differnew file mode 100644 index 0000000..71eeb6a9 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5481523-expected.png diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5481523-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5481523-expected.txt new file mode 100644 index 0000000..0df3e2b --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/5481523-expected.txt @@ -0,0 +1,31 @@ +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 {P} at (0,0) size 784x36 + RenderText {#text} at (0,0) size 748x36 + text run at (0,0) width 407: "This tests for a hang when indenting a fully selected table twice. " + text run at (407,0) width 341: "You should see a twice indented table, with four cells," + text run at (0,18) width 43: "below." + RenderBlock {DIV} at (0,52) size 784x50 + RenderBlock {BLOCKQUOTE} at (40,0) size 704x50 + RenderBlock {BLOCKQUOTE} at (40,0) size 624x50 + RenderTable {TABLE} at (0,0) size 81x50 [border: (1px outset #808080)] + RenderTableSection {TBODY} at (1,1) size 79x48 + RenderTableRow {TR} at (0,2) size 79x21 + RenderTableCell {TD} at (2,2) size 40x21 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1] + RenderText {#text} at (2,1) size 27x18 + text run at (2,1) width 27: "One" + RenderTableCell {TD} at (44,2) size 33x21 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1] + RenderText {#text} at (2,1) size 30x18 + text run at (2,1) width 30: "Two" + RenderTableRow {TR} at (0,25) size 79x21 + RenderTableCell {TD} at (2,25) size 40x21 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1] + RenderText {#text} at (2,1) size 37x18 + text run at (2,1) width 37: "Three" + RenderTableCell {TD} at (44,25) size 33x21 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1] + RenderText {#text} at (2,1) size 30x18 + text run at (2,1) width 30: "Four" +selection start: position 0 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document +selection end: position 2 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/indent-selection-expected.checksum b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/indent-selection-expected.checksum new file mode 100644 index 0000000..50bf72e --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/indent-selection-expected.checksum @@ -0,0 +1 @@ +722e60b05ea276dd51980a945ee27ddd
\ No newline at end of file diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/indent-selection-expected.png b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/indent-selection-expected.png Binary files differnew file mode 100644 index 0000000..5ba386c3 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/indent-selection-expected.png diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/indent-selection-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/indent-selection-expected.txt new file mode 100644 index 0000000..2e3535e --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/editing/execCommand/indent-selection-expected.txt @@ -0,0 +1,59 @@ +EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 10 of DIV > BODY > HTML > #document +EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification +EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > SPAN > BLOCKQUOTE > DIV > BODY > HTML > #document to 5 of #text > SPAN > BLOCKQUOTE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE +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 784x18 + RenderText {#text} at (0,0) size 362x18 + text run at (0,0) width 362: "This test uses the execCommand to indent the text below." + RenderBlock (anonymous) at (0,18) size 784x18 + RenderBR {BR} at (0,0) size 0x18 + RenderBlock {DIV} at (0,52) size 784x210 + RenderBlock {BLOCKQUOTE} at (40,0) size 704x210 + RenderBlock (anonymous) at (0,0) size 704x36 + RenderInline {SPAN} at (0,0) size 42x18 + RenderText {#text} at (0,0) size 42x18 + text run at (0,0) width 42: "Lorem" + RenderBR {BR} at (42,14) size 0x0 + RenderText {#text} at (0,18) size 83x18 + text run at (0,18) width 83: "more Lorem!" + RenderBlock {BLOCKQUOTE} at (40,52) size 624x122 + RenderBlock (anonymous) at (0,0) size 624x18 + RenderText {#text} at (0,0) size 38x18 + text run at (0,0) width 38: "ipsum" + RenderBR {BR} at (38,14) size 0x0 + RenderBlock {UL} at (0,34) size 624x54 + RenderListItem {LI} at (40,0) size 584x18 + RenderListMarker at (-17,0) size 7x18: bullet + RenderText {#text} at (0,0) size 25x18 + text run at (0,0) width 25: "Foo" + RenderListItem {LI} at (40,18) size 584x18 + RenderListMarker at (-17,0) size 7x18: bullet + RenderText {#text} at (0,0) size 23x18 + text run at (0,0) width 23: "Bar" + RenderListItem {LI} at (40,36) size 584x18 + RenderListMarker at (-17,0) size 7x18: bullet + RenderText {#text} at (0,0) size 25x18 + text run at (0,0) width 25: "Baz" + RenderBlock (anonymous) at (0,104) size 624x18 + RenderText {#text} at (0,0) size 37x18 + text run at (0,0) width 37: "Dolor" + RenderBlock (anonymous) at (0,174) size 704x36 + RenderText {#text} at (0,0) size 34x18 + text run at (0,0) width 34: "Sum!" + RenderBR {BR} at (34,14) size 0x0 + RenderInline {SPAN} at (0,0) size 38x18 + RenderText {#text} at (0,18) size 38x18 + text run at (0,18) width 38: "Thing" + RenderBlock (anonymous) at (0,210) size 784x0 + RenderText {#text} at (0,0) size 0x0 +selection start: position 0 of child 0 {#text} of child 0 {SPAN} of child 1 {BLOCKQUOTE} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document +selection end: position 5 of child 0 {#text} of child 6 {SPAN} of child 1 {BLOCKQUOTE} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document diff --git a/webkit/tools/layout_tests/test_expectations.txt b/webkit/tools/layout_tests/test_expectations.txt index e178675..59a8397 100644 --- a/webkit/tools/layout_tests/test_expectations.txt +++ b/webkit/tools/layout_tests/test_expectations.txt @@ -3187,8 +3187,3 @@ BUG_JOHNNYG : LayoutTests/svg/custom/linking-a-03-b-transform.svg = FAIL // WebKit roll 49321:49372 BUG24454 : LayoutTests/http/tests/globalhistory/history-delegate-basic-visited-links.html = FAIL -BUG_HCLAM : LayoutTests/editing/execCommand/4641880-2.html = FAIL -BUG_HCLAM : LayoutTests/editing/execCommand/4916541.html = FAIL -BUG_HCLAM : LayoutTests/editing/execCommand/5138441.html = FAIL -BUG_HCLAM : LayoutTests/editing/execCommand/5481523.html = FAIL -BUG_HCLAM : LayoutTests/editing/execCommand/indent-selection.html = FAIL |