Commit da81509d authored by ossy@webkit.org's avatar ossy@webkit.org

Unreviewed.

Add Qt specific expected results for passing editing/selections tests.
Compared to Mac png files and Mac expected files. (part 1)

* platform/qt/editing/selection/ [...]:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ff06a04e
2011-01-24 Csaba Osztrogonác <ossy@webkit.org>
Unreviewed.
Add Qt specific expected results for passing editing/selections tests.
Compared to Mac png files and Mac expected files. (part 1)
* platform/qt/editing/selection/ [...]:
2011-01-24 Csaba Osztrogonác <ossy@webkit.org>
Unreviewed.
......
......@@ -323,25 +323,26 @@ layer 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 784x125 [border: (2px solid #FF0000)]
RenderInline {SPAN} at (0,0) size 732x95
RenderInline {I} at (0,0) size 131x32
RenderText {#text} at (14,14) size 131x32
RenderBlock {DIV} at (0,0) size 784x121 [border: (2px solid #FF0000)]
RenderInline {SPAN} at (0,0) size 698x94
RenderInline {I} at (0,0) size 120x31
RenderText {#text} at (14,14) size 120x31
text run at (14,14) width 22: "F "
text run at (36,14) width 109: "and seven"
RenderText {#text} at (145,15) size 72x31
text run at (145,15) width 72: " years "
RenderInline {B} at (0,0) size 33x33
RenderText {#text} at (217,14) size 33x33
text run at (217,14) width 33: "as "
RenderText {#text} at (250,15) size 732x63
text run at (250,15) width 121: "our fathers "
text run at (371,15) width 375: "f upon this continent, a new nation, "
text run at (14,47) width 244: "conceived in Liberty, "
text run at (258,47) width 421: "and dedicated to the proposition that all "
text run at (36,14) width 98: "and seven"
RenderText {#text} at (134,14) size 67x32
text run at (134,14) width 67: " years "
RenderInline {B} at (0,0) size 27x32
RenderText {#text} at (201,14) size 27x32
text run at (201,14) width 27: "as "
RenderText {#text} at (228,14) size 698x63
text run at (228,14) width 120: "our fathers "
text run at (348,14) width 358: "f upon this continent, a new nation,"
text run at (706,14) width 6: " "
text run at (14,45) width 241: "conceived in Liberty, "
text run at (255,45) width 415: "and dedicated to the proposition that all "
RenderBR {BR} at (0,0) size 0x0
RenderText {#text} at (14,79) size 244x31
text run at (14,79) width 244: "men are created equal."
RenderText {#text} at (14,76) size 235x32
text run at (14,76) width 235: "men are created equal."
RenderText {#text} at (0,0) size 0x0
selection start: position 0 of child 0 {#text} of child 0 {I} of child 1 {SPAN} of child 1 {DIV} of body
selection end: position 1 of child 0 {#text} of child 0 {I} of child 1 {SPAN} of child 1 {DIV} of body
2cf5e3a26d756464a90b4139d6dda4fb
\ No newline at end of file
......@@ -9,12 +9,10 @@ layer 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 784x60 [border: (2px solid #FF0000)]
RenderInline {SPAN} at (0,0) size 33x31
RenderText {#text} at (14,14) size 33x31
text run at (14,14) width 33: "foo"
RenderText {#text} at (0,0) size 0x0
RenderText {#text} at (0,0) size 0x0
RenderBlock {DIV} at (0,0) size 784x59 [border: (2px solid #FF0000)]
RenderInline {SPAN} at (0,0) size 32x32
RenderText {#text} at (14,14) size 32x32
text run at (14,14) width 32: "foo"
RenderText {#text} at (0,0) size 0x0
RenderText {#text} at (0,0) size 0x0
selection start: position 1 of child 0 {#text} of child 1 {SPAN} of child 3 {DIV} of body
......
1de2e63f32ac3b5d014746c08c6505bb
\ No newline at end of file
......@@ -10,18 +10,18 @@ layer 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 784x92 [border: (2px solid #FF0000)]
RenderBlock {FRIJOLE} at (14,14) size 756x64
RenderBlock (anonymous) at (0,0) size 756x32
RenderText {#text} at (0,0) size 144x31
text run at (0,0) width 144: "one two three"
RenderBlock {DIV} at (0,0) size 784x90 [border: (2px solid #FF0000)]
RenderBlock {FRIJOLE} at (14,14) size 756x62
RenderBlock (anonymous) at (0,0) size 756x31
RenderText {#text} at (0,0) size 139x32
text run at (0,0) width 139: "one two three"
RenderInline {FRIJOLE} at (0,0) size 0x0
RenderText {#text} at (0,0) size 0x0
RenderBlock (anonymous) at (0,32) size 756x32
RenderBlock {DOODAD} at (0,0) size 756x32
RenderText {#text} at (0,0) size 121x31
text run at (0,0) width 121: "four five six"
RenderBlock (anonymous) at (0,64) size 756x0
RenderBlock (anonymous) at (0,31) size 756x31
RenderBlock {DOODAD} at (0,0) size 756x31
RenderText {#text} at (0,0) size 122x32
text run at (0,0) width 122: "four five six"
RenderBlock (anonymous) at (0,62) size 756x0
RenderInline {FRIJOLE} at (0,0) size 0x0
selection start: position 0 of child 0 {#text} of child 1 {DOODAD} of child 1 {FRIJOLE} of child 1 {FRIJOLE} of child 1 {DIV} of body
selection end: position 13 of child 0 {#text} of child 1 {DOODAD} of child 1 {FRIJOLE} of child 1 {FRIJOLE} of child 1 {DIV} of body
c8b85eceff5b3b573db0ea4eba5d07bc
\ No newline at end of file
b69c29bef0c86c6394e838b1f2511605
\ No newline at end of file
......@@ -11,14 +11,14 @@ layer 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 784x60 [border: (2px solid #FF0000)]
RenderBlock {DIV} at (14,14) size 756x32
RenderText {#text} at (0,0) size 33x31
text run at (0,0) width 33: "foo"
RenderInline {SPAN} at (0,0) size 7x31
RenderText {#text} at (33,0) size 7x31
text run at (33,0) width 7: "\x{9}"
RenderText {#text} at (40,0) size 34x31
text run at (40,0) width 34: "bar"
RenderBlock {DIV} at (0,0) size 784x59 [border: (2px solid #FF0000)]
RenderBlock {DIV} at (14,14) size 756x31
RenderText {#text} at (0,0) size 32x32
text run at (0,0) width 32: "foo"
RenderInline {SPAN} at (0,0) size 6x32
RenderText {#text} at (32,0) size 6x32
text run at (32,0) width 6: "\x{9}"
RenderText {#text} at (38,0) size 36x32
text run at (38,0) width 36: "bar"
selection start: position 0 of child 2 {#text} of child 1 {DIV} of child 1 {DIV} of body
selection end: position 3 of child 2 {#text} of child 1 {DIV} of child 1 {DIV} of body
fae9c7332a10d03c3e8ca9f2d7e52ec4
\ No newline at end of file
......@@ -12,62 +12,63 @@ layer 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 148x174 [border: (2px solid #FF0000)]
RenderBlock {UL} at (14,14) size 120x146
RenderListItem {LI} at (0,0) size 120x22
RenderListMarker at (-14,5) size 5x14: bullet
RenderInline (generated) at (0,0) size 12x27
RenderText {#text} at (5,-5) size 12x27
text run at (5,-5) width 12: "\x{B7} "
RenderBlock {DIV} at (0,0) size 148x166 [border: (2px solid #FF0000)]
RenderBlock {UL} at (14,14) size 120x138
RenderListItem {LI} at (0,0) size 120x21
RenderListMarker at (-14,6) size 5x12: bullet
RenderInline (generated) at (0,0) size 12x25
RenderText {#text} at (5,-4) size 12x25
text run at (5,-4) width 12: "\x{B7} "
RenderText {#text} at (0,0) size 0x0
RenderInline {A} at (0,0) size 49x14 [color=#0000EE]
RenderText {#text} at (17,5) size 49x14
text run at (17,5) width 49: "Appetizers"
RenderListItem {LI} at (0,22) size 120x22
RenderListMarker at (-14,5) size 5x14: bullet
RenderInline (generated) at (0,0) size 12x27
RenderText {#text} at (5,-5) size 12x27
text run at (5,-5) width 12: "\x{B7} "
RenderInline {A} at (0,0) size 49x12 [color=#0000EE]
RenderText {#text} at (17,6) size 49x12
text run at (17,6) width 49: "Appetizers"
RenderListItem {LI} at (0,21) size 120x21
RenderListMarker at (-14,6) size 5x12: bullet
RenderInline (generated) at (0,0) size 12x25
RenderText {#text} at (5,-4) size 12x25
text run at (5,-4) width 12: "\x{B7} "
RenderText {#text} at (0,0) size 0x0
RenderInline {A} at (0,0) size 75x14 [color=#0000EE]
RenderText {#text} at (17,5) size 75x14
text run at (17,5) width 75: "Soups & Salads"
RenderListItem {LI} at (0,44) size 120x36
RenderListMarker at (-14,5) size 5x14: bullet
RenderInline (generated) at (0,0) size 12x27
RenderText {#text} at (5,-5) size 12x27
text run at (5,-5) width 12: "\x{B7} "
RenderInline {A} at (0,0) size 75x12 [color=#0000EE]
RenderText {#text} at (17,6) size 75x12
text run at (17,6) width 75: "Soups & Salads"
RenderListItem {LI} at (0,42) size 120x33
RenderListMarker at (-14,6) size 5x12: bullet
RenderInline (generated) at (0,0) size 12x25
RenderText {#text} at (5,-4) size 12x25
text run at (5,-4) width 12: "\x{B7} "
RenderText {#text} at (0,0) size 0x0
RenderInline {A} at (0,0) size 70x28 [color=#0000EE]
RenderText {#text} at (17,5) size 70x28
text run at (17,5) width 69: "Sandwiches & "
text run at (16,19) width 36: "Burgers"
RenderListItem {LI} at (0,80) size 120x22
RenderListMarker at (-14,5) size 5x14: bullet
RenderInline (generated) at (0,0) size 12x27
RenderText {#text} at (5,-5) size 12x27
text run at (5,-5) width 12: "\x{B7} "
RenderInline {A} at (0,0) size 70x24 [color=#0000EE]
RenderText {#text} at (17,6) size 70x24
text run at (17,6) width 66: "Sandwiches &"
text run at (83,6) width 3: " "
text run at (16,18) width 36: "Burgers"
RenderListItem {LI} at (0,75) size 120x21
RenderListMarker at (-14,6) size 5x12: bullet
RenderInline (generated) at (0,0) size 12x25
RenderText {#text} at (5,-4) size 12x25
text run at (5,-4) width 12: "\x{B7} "
RenderText {#text} at (0,0) size 0x0
RenderInline {A} at (0,0) size 60x14 [color=#0000EE]
RenderText {#text} at (17,5) size 60x14
text run at (17,5) width 60: "Steak & Ribs"
RenderListItem {LI} at (0,102) size 120x22
RenderListMarker at (-14,5) size 5x14: bullet
RenderInline (generated) at (0,0) size 12x27
RenderText {#text} at (5,-5) size 12x27
text run at (5,-5) width 12: "\x{B7} "
RenderInline {A} at (0,0) size 60x12 [color=#0000EE]
RenderText {#text} at (17,6) size 60x12
text run at (17,6) width 60: "Steak & Ribs"
RenderListItem {LI} at (0,96) size 120x21
RenderListMarker at (-14,6) size 5x12: bullet
RenderInline (generated) at (0,0) size 12x25
RenderText {#text} at (5,-4) size 12x25
text run at (5,-4) width 12: "\x{B7} "
RenderText {#text} at (0,0) size 0x0
RenderInline {A} at (0,0) size 40x14 [color=#0000EE]
RenderText {#text} at (17,5) size 40x14
text run at (17,5) width 40: "Seafood"
RenderListItem {LI} at (0,124) size 120x22
RenderListMarker at (-14,5) size 5x14: bullet
RenderInline (generated) at (0,0) size 12x27
RenderText {#text} at (5,-5) size 12x27
text run at (5,-5) width 12: "\x{B7} "
RenderInline {A} at (0,0) size 40x12 [color=#0000EE]
RenderText {#text} at (17,6) size 40x12
text run at (17,6) width 40: "Seafood"
RenderListItem {LI} at (0,117) size 120x21
RenderListMarker at (-14,6) size 5x12: bullet
RenderInline (generated) at (0,0) size 12x25
RenderText {#text} at (5,-4) size 12x25
text run at (5,-4) width 12: "\x{B7} "
RenderText {#text} at (0,0) size 0x0
RenderInline {A} at (0,0) size 38x14 [color=#0000EE]
RenderText {#text} at (17,5) size 38x14
text run at (17,5) width 38: "Combos"
RenderInline {A} at (0,0) size 38x12 [color=#0000EE]
RenderText {#text} at (17,6) size 38x12
text run at (17,6) width 38: "Combos"
selection start: position 0 of child 0 {#text} of child 1 {A} of child 1 {LI} of child 1 {UL} of child 1 {DIV} of body
selection end: position 5 of child 0 {#text} of child 1 {A} of child 7 {LI} of child 1 {UL} of child 1 {DIV} of body
d356d9e212f9ef394f4c242b356ccf4a
\ No newline at end of file
733d3e128fe95ebc02c9ae6eda87b111
\ No newline at end of file
1fc66e69eb983ff7954a09be6d7e2520
\ No newline at end of file
d36bf1ab4010fee7a6ff7193f665e8aa
\ No newline at end of file
c05bfdce638dfead2a20ee46e5672e67
\ No newline at end of file
95544f8e782dcec0c17d6df1c524875d
\ No newline at end of file
ae9bb1ad897b84203f4b2573fc498033
\ No newline at end of file
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 1 of #text > DIV > BODY > HTML > #document to 1 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 1 of #text > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 6 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 (0,0) size 800x600
RenderBlock {DIV} at (0,0) size 800x21
RenderText {#text} at (0,0) size 199x21
text run at (0,0) width 199: "Select me, select me, select me"
selection start: position 0 of child 0 {#text} of child 1 {DIV} of body
selection end: position 6 of child 0 {#text} of child 1 {DIV} of body
5b9a4d5574298c392f7ac655b30bea4f
\ No newline at end of file
f61c5da4c0b9bd7e6d2c19d3ecd0aca2
\ No newline at end of file
9e6b78317015ae0240395767c916e423
\ No newline at end of file
eb742b02f99efe36e2a451a0f9c2da73
\ No newline at end of file
6db9ccd481f8d0281413fa584e179c62
\ No newline at end of file
......@@ -7,8 +7,8 @@ layer 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
RenderText {#text} at (0,0) size 448x19
text run at (0,0) width 224: "This test focuses an editable body. "
text run at (224,0) width 224: "Its contents should not be selected."
RenderText {#text} at (0,0) size 465x21
text run at (0,0) width 233: "This test focuses an editable body. "
text run at (233,0) width 232: "Its contents should not be selected."
RenderText {#text} at (0,0) size 0x0
caret: position 0 of child 0 {#text} of body
4048491b18694184c67625a5b363eaa6
\ No newline at end of file
ac9925a91f91953653115c936416432d
\ No newline at end of file
9298be3778ea91664661d140da57f047
\ No newline at end of file
......@@ -6,25 +6,24 @@ EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 9 of BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
layer at (0,0) size 2008x2093
RenderView at (0,0) size 800x600
layer at (0,0) size 2008x2093
RenderBlock {HTML} at (0,0) size 800x2093
RenderBody {BODY} at (8,8) size 784x2077
RenderBlock (anonymous) at (0,0) size 784x58
RenderText {#text} at (0,0) size 585x19
text run at (0,0) width 585: "This test makes sure that we don't scroll unnecessarily to reveal an editable HTML Element. "
RenderBR {BR} at (585,14) size 0x0
RenderText {#text} at (0,19) size 270x19
text run at (0,19) width 270: "If the document doesn't scroll, test passes."
RenderBR {BR} at (270,33) size 0x0
RenderInline {B} at (0,0) size 549x20
RenderText {#text} at (0,38) size 549x20
text run at (0,38) width 549: "This demonstrates a bug: normally, focusing an element will select its contents."
RenderText {#text} at (0,0) size 0x0
RenderBlock {DIV} at (0,58) size 2000x2000
RenderBlock (anonymous) at (0,2058) size 784x19
RenderText {#text} at (0,0) size 240x19
text run at (0,0) width 240: "If the document scrolls here, test fails."
layer at (0,0) size 2008x2100
RenderView at (0,0) size 784x584
layer at (0,0) size 784x2100
RenderBlock {HTML} at (0,0) size 784x2100
RenderBody {BODY} at (8,8) size 768x2084
RenderBlock (anonymous) at (0,0) size 768x63
RenderText {#text} at (0,0) size 626x21
text run at (0,0) width 626: "This test makes sure that we don't scroll unnecessarily to reveal an editable HTML Element. "
RenderBR {BR} at (626,16) size 0x0
RenderText {#text} at (0,21) size 280x21
text run at (0,21) width 280: "If the document doesn't scroll, test passes."
RenderBR {BR} at (280,37) size 0x0
RenderInline {B} at (0,0) size 528x21
RenderText {#text} at (0,42) size 528x21
text run at (0,42) width 528: "This demonstrates a bug: normally, focusing an element will select its contents."
RenderText {#text} at (0,0) size 0x0
RenderBlock {DIV} at (0,63) size 2000x2000
RenderBlock (anonymous) at (0,2063) size 768x21
RenderText {#text} at (0,0) size 253x21
text run at (0,0) width 253: "If the document scrolls here, test fails."
caret: position 1 of child 0 {#text} of body
5e01f8ebd136f6bd606c1f46e0d7fc47
\ No newline at end of file
ff9e8d9365ba492eb568459b91c559b3
\ No newline at end of file
67abbd1b717f08e1978b82363614d056
\ No newline at end of file
f23a6c4284cb82c7fe752ab5f231a478
\ No newline at end of file
9bf6e83ff8dd41909d0798f020990435
\ No newline at end of file
......@@ -144,49 +144,49 @@ layer 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 784x57
RenderText {#text} at (0,0) size 775x57
text run at (0,0) width 321: "This tests caret movement through an inline table. "
text run at (321,0) width 451: "There should be visual positions before and after the inline table, as if it"
text run at (0,19) width 102: "were an image. "
text run at (102,19) width 673: "The caret shouldn't skip across the table, but should enter it (unless we later decide that we don't want this"
text run at (0,38) width 64: "behavior)."
RenderBlock {DIV} at (0,71) size 784x84
RenderBlock {DIV} at (0,0) size 784x84
RenderText {#text} at (0,65) size 78x19
text run at (0,65) width 78: "Inline Table:"
RenderTable {TABLE} at (78,0) size 132x79 [border: (1px outset #808080)]
RenderTableSection {TBODY} at (1,1) size 130x77