[webkit-changes] cvs commit: LayoutTests/editing/selection
3690703-2-expected.checksum 3690703-2-expected.png
3690703-2-expected.txt 3690703-2.html
3690703-expected.checksum 3690703-expected.png
3690703-expected.txt 3690703.html 3690719-expected.checksum
3690719-expected.png 3690719-expected.txt 3690719.html
Justin
justing at opensource.apple.com
Thu Oct 6 18:32:53 PDT 2005
justing 05/10/06 18:32:53
Modified: . ChangeLog
Added: editing/selection 3690703-2-expected.checksum
3690703-2-expected.png 3690703-2-expected.txt
3690703-2.html 3690703-expected.checksum
3690703-expected.png 3690703-expected.txt
3690703.html 3690719-expected.checksum
3690719-expected.png 3690719-expected.txt
3690719.html
Log:
Reviewed by harrison
Test cases for:
<rdar://problem/4073133> Tabbing between editable elements leads to loss of keyboard focus
<rdar://problem/3690719> "Select All" when in an editable area selects the whole containing document
<rdar://problem/3690703> selection is allowed to span editable area and rest of document
* editing/selection/3690703-2-expected.checksum: Added.
* editing/selection/3690703-2-expected.png: Added.
* editing/selection/3690703-2-expected.txt: Added.
* editing/selection/3690703-2.html: Added.
* editing/selection/3690703-expected.checksum: Added.
* editing/selection/3690703-expected.png: Added.
* editing/selection/3690703-expected.txt: Added.
* editing/selection/3690703.html: Added.
* editing/selection/3690719-expected.checksum: Added.
* editing/selection/3690719-expected.png: Added.
* editing/selection/3690719-expected.txt: Added.
* editing/selection/3690719.html: Added.
Revision Changes Path
1.17 +23 -0 LayoutTests/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/LayoutTests/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog 7 Oct 2005 00:50:51 -0000 1.16
+++ ChangeLog 7 Oct 2005 01:32:50 -0000 1.17
@@ -1,3 +1,26 @@
+2005-10-06 Justin Garcia <justin.garcia at apple.com>
+
+ Reviewed by harrison
+
+ Test cases for:
+
+ <rdar://problem/4073133> Tabbing between editable elements leads to loss of keyboard focus
+ <rdar://problem/3690719> "Select All" when in an editable area selects the whole containing document
+ <rdar://problem/3690703> selection is allowed to span editable area and rest of document
+
+ * editing/selection/3690703-2-expected.checksum: Added.
+ * editing/selection/3690703-2-expected.png: Added.
+ * editing/selection/3690703-2-expected.txt: Added.
+ * editing/selection/3690703-2.html: Added.
+ * editing/selection/3690703-expected.checksum: Added.
+ * editing/selection/3690703-expected.png: Added.
+ * editing/selection/3690703-expected.txt: Added.
+ * editing/selection/3690703.html: Added.
+ * editing/selection/3690719-expected.checksum: Added.
+ * editing/selection/3690719-expected.png: Added.
+ * editing/selection/3690719-expected.txt: Added.
+ * editing/selection/3690719.html: Added.
+
2005-10-06 Vicki Murley <vicki at apple.com>
- updated layout tests for <rdar://problem/4288307> <form> element is
1.1 LayoutTests/editing/selection/3690703-2-expected.checksum
Index: 3690703-2-expected.checksum
===================================================================
513ef666152837a6d1433316c6693fa5
1.1 LayoutTests/editing/selection/3690703-2-expected.png
<<Binary file>>
1.1 LayoutTests/editing/selection/3690703-2-expected.txt
Index: 3690703-2-expected.txt
===================================================================
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
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,3) size 784x581 [bgcolor=#FFFFFF]
RenderBlock {CENTER} at (0,0) size 784x255
RenderTable {TABLE} at (0,0) size 784x16
RenderTableSection {TBODY} at (0,0) size 0x16
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 784x15 [r=0 c=0 rs=1 cs=1]
RenderInline {FONT} at (0,0) size 104x15
RenderInline {A} at (0,0) size 104x15 [color=#0000CC]
RenderText {TEXT} at (680,0) size 104x15
text run at (680,0) width 104: "Personalized Home"
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,15) size 784x1 [r=1 c=0 rs=1 cs=1]
RenderImage {IMG} at (0,0) size 1x1
RenderBlock (anonymous) at (0,16) size 784x36
RenderBR {BR} at (392,0) size 0x18
RenderBR {BR} at (392,18) size 0x18
RenderBlock {DIV} at (0,52) size 784x105 [border: (2px solid #AAAAFF)]
RenderTable {TABLE} at (215,2) size 353x23
RenderTableSection {TBODY} at (0,0) size 0x23
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 353x23 [r=0 c=0 rs=1 cs=1]
RenderInline {FONT} at (0,0) size 345x15
RenderInline {B} at (0,0) size 26x15
RenderText {TEXT} at (4,4) size 26x15
text run at (4,4) width 26: "Web"
RenderText {TEXT} at (30,4) size 12x15
text run at (30,4) width 12: " "
RenderInline {A} at (0,0) size 38x15 [color=#0000CC]
RenderText {TEXT} at (42,4) size 38x15
text run at (42,4) width 38: "Images"
RenderText {TEXT} at (80,4) size 12x15
text run at (80,4) width 12: " "
RenderInline {A} at (0,0) size 39x15 [color=#0000CC]
RenderText {TEXT} at (92,4) size 39x15
text run at (92,4) width 39: "Groups"
RenderText {TEXT} at (131,4) size 12x15
text run at (131,4) width 12: " "
RenderInline {A} at (0,0) size 29x15 [color=#0000CC]
RenderText {TEXT} at (143,4) size 29x15
text run at (143,4) width 29: "News"
RenderText {TEXT} at (172,4) size 12x15
text run at (172,4) width 12: " "
RenderInline {A} at (0,0) size 42x15 [color=#0000CC]
RenderText {TEXT} at (184,4) size 42x15
text run at (184,4) width 42: "Froogle"
RenderText {TEXT} at (226,4) size 12x15
text run at (226,4) width 12: " "
RenderInline {A} at (0,0) size 31x15 [color=#0000CC]
RenderText {TEXT} at (238,4) size 31x15
text run at (238,4) width 31: "Local"
RenderInline {SUP} at (0,0) size 0x13
RenderInline {A} at (0,0) size 28x15
RenderInline {FONT} at (0,0) size 28x15 [color=#FF0000]
RenderText {TEXT} at (269,4) size 28x15
text run at (269,4) width 28: "New!"
RenderText {TEXT} at (297,4) size 12x15
text run at (297,4) width 12: " "
RenderInline {B} at (0,0) size 40x15
RenderInline {A} at (0,0) size 40x15 [color=#0000CC]
RenderText {TEXT} at (309,4) size 40x15
text run at (309,4) width 40: "more \x{BB}"
RenderTable {TABLE} at (2,25) size 780x45
RenderTableSection {TBODY} at (0,0) size 0x45
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,13) size 191x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (191,0) size 395x45 [r=0 c=1 rs=1 cs=1]
RenderLineEdit {INPUT} at (2,2) size 391x19
RenderBR {BR} at (0,0) size 0x0
RenderSubmitButton {INPUT} at (95,25) size 93x18
RenderSubmitButton {INPUT} at (192,25) size 108x18
RenderTableCell {TD} at (586,0) size 194x39 [r=0 c=2 rs=1 cs=1]
RenderInline {FONT} at (0,0) size 74x39
RenderText {TEXT} at (0,0) size 6x13
text run at (0,0) width 6: " "
RenderInline {A} at (0,0) size 68x13 [color=#0000CC]
RenderText {TEXT} at (6,0) size 68x13
text run at (6,0) width 68: "Advanced Search"
RenderBR {BR} at (0,0) size 0x0
RenderText {TEXT} at (0,13) size 6x13
text run at (0,13) width 6: " "
RenderInline {A} at (0,0) size 44x13 [color=#0000CC]
RenderText {TEXT} at (6,13) size 44x13
text run at (6,13) width 44: "Preferences"
RenderBR {BR} at (0,0) size 0x0
RenderText {TEXT} at (0,26) size 6x13
text run at (0,26) width 6: " "
RenderInline {A} at (0,0) size 64x13 [color=#0000CC]
RenderText {TEXT} at (6,26) size 64x13
text run at (6,26) width 64: "Language Tools"
RenderBlock (anonymous) at (2,70) size 780x33
RenderBR {BR} at (390,0) size 0x18
RenderInline {FONT} at (0,0) size 148x15
RenderInline {FONT} at (0,0) size 28x15 [color=#FF0000]
RenderText {TEXT} at (316,18) size 28x15
text run at (316,18) width 28: "New!"
RenderText {TEXT} at (344,18) size 3x15
text run at (344,18) width 3: " "
RenderInline {A} at (0,0) size 114x15 [color=#0000CC]
RenderText {TEXT} at (347,18) size 114x15
text run at (347,18) width 114: "Personalize this page"
RenderText {TEXT} at (461,18) size 3x15
text run at (461,18) width 3: "."
RenderText {TEXT} at (0,0) size 0x0
RenderBlock (anonymous) at (0,157) size 784x69
RenderBR {BR} at (392,0) size 0x18
RenderBR {BR} at (392,18) size 0x18
RenderBR {BR} at (392,36) size 0x18
RenderInline {FONT} at (0,0) size 317x15
RenderInline {A} at (0,0) size 117x15 [color=#0000CC]
RenderText {TEXT} at (233,54) size 117x15
text run at (233,54) width 117: "Advertising Programs"
RenderText {TEXT} at (350,54) size 10x15
text run at (350,54) width 10: " - "
RenderInline {A} at (0,0) size 103x15 [color=#0000CC]
RenderText {TEXT} at (360,54) size 103x15
text run at (360,54) width 103: "Business Solutions"
RenderText {TEXT} at (463,54) size 10x15
text run at (463,54) width 10: " - "
RenderInline {A} at (0,0) size 77x15 [color=#0000CC]
RenderText {TEXT} at (473,54) size 77x15
text run at (473,54) width 77: "About Google"
RenderBlock {P} at (0,242) size 784x13
RenderInline {FONT} at (0,0) size 60x13
RenderText {TEXT} at (362,0) size 60x13
text run at (362,0) width 60: "\x{A9}2005 Google"
selection start: position 0 of child 0 {TEXT} of child 0 {B} of child 0 {FONT} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 4 {DIV} of child 0 {CENTER} of child 1 {BODY} of child 0 {HTML} of document
selection end: position 1 of child 2 {BR} of child 0 {FONT} of child 2 {TD} of child 0 {TR} of child 0 {TBODY} of child 2 {TABLE} of child 4 {DIV} of child 0 {CENTER} of child 1 {BODY} of child 0 {HTML} of document
1.1 LayoutTests/editing/selection/3690703-2.html
Index: 3690703-2.html
===================================================================
<html>
<head>
<link rel=stylesheet href="../editingStyle.css" type="text/css">
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
for (var i = 0; i < 5; i++) {
moveSelectionForwardByLineCommand();
}
for (var i = 0; i < 30; i++) {
extendSelectionBackwardByLineCommand();
}
}
</script>
<title>Editing Test</title>
</head>
<body bgcolor=#ffffff text=#000000 link=#0000cc vlink=#551a8b alink=#ff0000 topmargin=3 marginheight=3><center><table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td align=right nowrap><font size=-1><a href="/url?sa=p&pref=ig&pval=2&q=http://www.google.com/ig" onmousedown="return asq(event,this,'pro','hppphnu:en_extra','')">Personalized Home</a></font></td></tr><tr height=4><td><img alt="" width=1 height=1></td></tr></table><br><br>
<div contentEditable="true" id="test">
<table border=0 cellspacing=0 cellpadding=4><tr><td nowrap><font size=-1><b>Web</b> <a id=1a class=q href="/imghp?hl=en&tab=wi" onClick="return qs(this);">Images</a> <a id=2a class=q href="http://groups.google.com/grphp?hl=en&tab=wg" onClick="return qs(this);">Groups</a> <a id=4a class=q href="http://news.google.com/nwshp?hl=en&tab=wn" onClick="return qs(this);">News</a> <a id=5a class=q href="http://froogle.google.com/frghp?hl=en&tab=wf" onClick="return qs(this);">Froogle</a> <a id=7a class=q href="/lochp?hl=en&tab=wl" onClick="return qs(this);">Local<sup><a style="text-decoration:none"><font color=red>New!</font></a></sup></a> <b><a href="/intl/en/options/" class=q>more »</a></b></font></td></tr></table><table cellspacing=0 cellpadding=0><tr><td width=25%> </td><td align=center><input type=hidden name=hl value=en><input
maxLength=256 size=55 name=q value=""><br><input type=submit value="Google Search" name=btnG><input type=submit value="I'm Feeling Lucky" name=btnI></td><td valign=top nowrap width=25%><font size=-2> <a href=/advanced_search?hl=en>Advanced Search</a><br> <a href=/preferences?hl=en>Preferences</a><br> <a href=/language_tools?hl=en>Language Tools</a></font></td></tr></table></form><br><font size=-1><font color=#ff0000>New!</font> <a href="http://www.google.com/ig" onmousedown="return asq(event,this,'pro','hppweb:en_us','')">Personalize this page</a>.</font>
</div>
<br><br><br><font size=-1><a href="/ads/">Advertising Programs</a> - <a href=/services/>Business Solutions</a> - <a href=/intl/en/about.html>About Google</a></font><p><font size=-2>©2005 Google</font></p></center>
<script>
runEditingTest();
</script>
</body>
</html>
1.1 LayoutTests/editing/selection/3690703-expected.checksum
Index: 3690703-expected.checksum
===================================================================
016b8c791c686fe0bbb20edf9ee9f42a
1.1 LayoutTests/editing/selection/3690703-expected.png
<<Binary file>>
1.1 LayoutTests/editing/selection/3690703-expected.txt
Index: 3690703-expected.txt
===================================================================
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
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,3) size 784x581 [bgcolor=#FFFFFF]
RenderBlock {CENTER} at (0,0) size 784x255
RenderTable {TABLE} at (0,0) size 784x16
RenderTableSection {TBODY} at (0,0) size 0x16
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 784x15 [r=0 c=0 rs=1 cs=1]
RenderInline {FONT} at (0,0) size 104x15
RenderInline {A} at (0,0) size 104x15 [color=#0000CC]
RenderText {TEXT} at (680,0) size 104x15
text run at (680,0) width 104: "Personalized Home"
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,15) size 784x1 [r=1 c=0 rs=1 cs=1]
RenderImage {IMG} at (0,0) size 1x1
RenderBlock (anonymous) at (0,16) size 784x36
RenderBR {BR} at (392,0) size 0x18
RenderBR {BR} at (392,18) size 0x18
RenderBlock {DIV} at (0,52) size 784x105 [border: (2px solid #AAAAFF)]
RenderTable {TABLE} at (215,2) size 353x23
RenderTableSection {TBODY} at (0,0) size 0x23
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 353x23 [r=0 c=0 rs=1 cs=1]
RenderInline {FONT} at (0,0) size 345x15
RenderInline {B} at (0,0) size 26x15
RenderText {TEXT} at (4,4) size 26x15
text run at (4,4) width 26: "Web"
RenderText {TEXT} at (30,4) size 12x15
text run at (30,4) width 12: " "
RenderInline {A} at (0,0) size 38x15 [color=#0000CC]
RenderText {TEXT} at (42,4) size 38x15
text run at (42,4) width 38: "Images"
RenderText {TEXT} at (80,4) size 12x15
text run at (80,4) width 12: " "
RenderInline {A} at (0,0) size 39x15 [color=#0000CC]
RenderText {TEXT} at (92,4) size 39x15
text run at (92,4) width 39: "Groups"
RenderText {TEXT} at (131,4) size 12x15
text run at (131,4) width 12: " "
RenderInline {A} at (0,0) size 29x15 [color=#0000CC]
RenderText {TEXT} at (143,4) size 29x15
text run at (143,4) width 29: "News"
RenderText {TEXT} at (172,4) size 12x15
text run at (172,4) width 12: " "
RenderInline {A} at (0,0) size 42x15 [color=#0000CC]
RenderText {TEXT} at (184,4) size 42x15
text run at (184,4) width 42: "Froogle"
RenderText {TEXT} at (226,4) size 12x15
text run at (226,4) width 12: " "
RenderInline {A} at (0,0) size 31x15 [color=#0000CC]
RenderText {TEXT} at (238,4) size 31x15
text run at (238,4) width 31: "Local"
RenderInline {SUP} at (0,0) size 0x13
RenderInline {A} at (0,0) size 28x15
RenderInline {FONT} at (0,0) size 28x15 [color=#FF0000]
RenderText {TEXT} at (269,4) size 28x15
text run at (269,4) width 28: "New!"
RenderText {TEXT} at (297,4) size 12x15
text run at (297,4) width 12: " "
RenderInline {B} at (0,0) size 40x15
RenderInline {A} at (0,0) size 40x15 [color=#0000CC]
RenderText {TEXT} at (309,4) size 40x15
text run at (309,4) width 40: "more \x{BB}"
RenderTable {TABLE} at (2,25) size 780x45
RenderTableSection {TBODY} at (0,0) size 0x45
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,13) size 191x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (191,0) size 395x45 [r=0 c=1 rs=1 cs=1]
RenderLineEdit {INPUT} at (2,2) size 391x19
RenderBR {BR} at (0,0) size 0x0
RenderSubmitButton {INPUT} at (95,25) size 93x18
RenderSubmitButton {INPUT} at (192,25) size 108x18
RenderTableCell {TD} at (586,0) size 194x39 [r=0 c=2 rs=1 cs=1]
RenderInline {FONT} at (0,0) size 74x39
RenderText {TEXT} at (0,0) size 6x13
text run at (0,0) width 6: " "
RenderInline {A} at (0,0) size 68x13 [color=#0000CC]
RenderText {TEXT} at (6,0) size 68x13
text run at (6,0) width 68: "Advanced Search"
RenderBR {BR} at (0,0) size 0x0
RenderText {TEXT} at (0,13) size 6x13
text run at (0,13) width 6: " "
RenderInline {A} at (0,0) size 44x13 [color=#0000CC]
RenderText {TEXT} at (6,13) size 44x13
text run at (6,13) width 44: "Preferences"
RenderBR {BR} at (0,0) size 0x0
RenderText {TEXT} at (0,26) size 6x13
text run at (0,26) width 6: " "
RenderInline {A} at (0,0) size 64x13 [color=#0000CC]
RenderText {TEXT} at (6,26) size 64x13
text run at (6,26) width 64: "Language Tools"
RenderBlock (anonymous) at (2,70) size 780x33
RenderBR {BR} at (390,0) size 0x18
RenderInline {FONT} at (0,0) size 148x15
RenderInline {FONT} at (0,0) size 28x15 [color=#FF0000]
RenderText {TEXT} at (316,18) size 28x15
text run at (316,18) width 28: "New!"
RenderText {TEXT} at (344,18) size 3x15
text run at (344,18) width 3: " "
RenderInline {A} at (0,0) size 114x15 [color=#0000CC]
RenderText {TEXT} at (347,18) size 114x15
text run at (347,18) width 114: "Personalize this page"
RenderText {TEXT} at (461,18) size 3x15
text run at (461,18) width 3: "."
RenderText {TEXT} at (0,0) size 0x0
RenderBlock (anonymous) at (0,157) size 784x69
RenderBR {BR} at (392,0) size 0x18
RenderBR {BR} at (392,18) size 0x18
RenderBR {BR} at (392,36) size 0x18
RenderInline {FONT} at (0,0) size 317x15
RenderInline {A} at (0,0) size 117x15 [color=#0000CC]
RenderText {TEXT} at (233,54) size 117x15
text run at (233,54) width 117: "Advertising Programs"
RenderText {TEXT} at (350,54) size 10x15
text run at (350,54) width 10: " - "
RenderInline {A} at (0,0) size 103x15 [color=#0000CC]
RenderText {TEXT} at (360,54) size 103x15
text run at (360,54) width 103: "Business Solutions"
RenderText {TEXT} at (463,54) size 10x15
text run at (463,54) width 10: " - "
RenderInline {A} at (0,0) size 77x15 [color=#0000CC]
RenderText {TEXT} at (473,54) size 77x15
text run at (473,54) width 77: "About Google"
RenderBlock {P} at (0,242) size 784x13
RenderInline {FONT} at (0,0) size 60x13
RenderText {TEXT} at (362,0) size 60x13
text run at (362,0) width 60: "\x{A9}2005 Google"
selection start: position 0 of child 0 {TEXT} of child 0 {B} of child 0 {FONT} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 4 {DIV} of child 0 {CENTER} of child 1 {BODY} of child 0 {HTML} of document
selection end: position 0 of child 5 {TEXT} of child 0 {CENTER} of child 1 {BODY} of child 0 {HTML} of document
1.1 LayoutTests/editing/selection/3690703.html
Index: 3690703.html
===================================================================
<html>
<head>
<link rel=stylesheet href="../editingStyle.css" type="text/css">
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
for (var i = 0; i < 30; i++) {
extendSelectionForwardByLineCommand();
}
}
</script>
<title>Editing Test</title>
</head>
<body bgcolor=#ffffff text=#000000 link=#0000cc vlink=#551a8b alink=#ff0000 topmargin=3 marginheight=3><center><table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td align=right nowrap><font size=-1><a href="/url?sa=p&pref=ig&pval=2&q=http://www.google.com/ig">Personalized Home</a></font></td></tr><tr height=4><td><img alt="" width=1 height=1></td></tr></table><br><br>
<div contentEditable="true" id="test">
<table border=0 cellspacing=0 cellpadding=4><tr><td nowrap><font size=-1><b>Web</b> <a id=1a class=q href="/imghp?hl=en&tab=wi" onClick="return qs(this);">Images</a> <a id=2a class=q href="http://groups.google.com/grphp?hl=en&tab=wg" onClick="return qs(this);">Groups</a> <a id=4a class=q href="http://news.google.com/nwshp?hl=en&tab=wn" onClick="return qs(this);">News</a> <a id=5a class=q href="http://froogle.google.com/frghp?hl=en&tab=wf" onClick="return qs(this);">Froogle</a> <a id=7a class=q href="/lochp?hl=en&tab=wl" onClick="return qs(this);">Local<sup><a style="text-decoration:none"><font color=red>New!</font></a></sup></a> <b><a href="/intl/en/options/" class=q>more »</a></b></font></td></tr></table><table cellspacing=0 cellpadding=0><tr><td width=25%> </td><td align=center><input type=hidden name=hl value=en><input
maxLength=256 size=55 name=q value=""><br><input type=submit value="Google Search" name=btnG><input type=submit value="I'm Feeling Lucky" name=btnI></td><td valign=top nowrap width=25%><font size=-2> <a href=/advanced_search?hl=en>Advanced Search</a><br> <a href=/preferences?hl=en>Preferences</a><br> <a href=/language_tools?hl=en>Language Tools</a></font></td></tr></table></form><br><font size=-1><font color=#ff0000>New!</font> <a href="http://www.google.com/ig" onmousedown="return asq(event,this,'pro','hppweb:en_us','')">Personalize this page</a>.</font>
</div>
<br><br><br><font size=-1><a href="/ads/">Advertising Programs</a> - <a href=/services/>Business Solutions</a> - <a href=/intl/en/about.html>About Google</a></font><p><font size=-2>©2005 Google</font></p></center>
<script>
runEditingTest();
</script>
</body>
</html>
1.1 LayoutTests/editing/selection/3690719-expected.checksum
Index: 3690719-expected.checksum
===================================================================
016b8c791c686fe0bbb20edf9ee9f42a
1.1 LayoutTests/editing/selection/3690719-expected.png
<<Binary file>>
1.1 LayoutTests/editing/selection/3690719-expected.txt
Index: 3690719-expected.txt
===================================================================
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of TD > TR > TBODY > TABLE > DIV > CENTER > BODY > HTML > #document to 0 of TD > TR > TBODY > TABLE > DIV > CENTER > BODY > HTML > #document toDOMRange:range from 0 of #text > B > FONT > TD > TR > TBODY > TABLE > DIV > CENTER > BODY > HTML > #document to 0 of #text > CENTER > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,3) size 784x581 [bgcolor=#FFFFFF]
RenderBlock {CENTER} at (0,0) size 784x255
RenderTable {TABLE} at (0,0) size 784x16
RenderTableSection {TBODY} at (0,0) size 0x16
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 784x15 [r=0 c=0 rs=1 cs=1]
RenderInline {FONT} at (0,0) size 104x15
RenderInline {A} at (0,0) size 104x15 [color=#0000CC]
RenderText {TEXT} at (680,0) size 104x15
text run at (680,0) width 104: "Personalized Home"
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,15) size 784x1 [r=1 c=0 rs=1 cs=1]
RenderImage {IMG} at (0,0) size 1x1
RenderBlock (anonymous) at (0,16) size 784x36
RenderBR {BR} at (392,0) size 0x18
RenderBR {BR} at (392,18) size 0x18
RenderBlock {DIV} at (0,52) size 784x105 [border: (2px solid #AAAAFF)]
RenderTable {TABLE} at (215,2) size 353x23
RenderTableSection {TBODY} at (0,0) size 0x23
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 353x23 [r=0 c=0 rs=1 cs=1]
RenderInline {FONT} at (0,0) size 345x15
RenderInline {B} at (0,0) size 26x15
RenderText {TEXT} at (4,4) size 26x15
text run at (4,4) width 26: "Web"
RenderText {TEXT} at (30,4) size 12x15
text run at (30,4) width 12: " "
RenderInline {A} at (0,0) size 38x15 [color=#0000CC]
RenderText {TEXT} at (42,4) size 38x15
text run at (42,4) width 38: "Images"
RenderText {TEXT} at (80,4) size 12x15
text run at (80,4) width 12: " "
RenderInline {A} at (0,0) size 39x15 [color=#0000CC]
RenderText {TEXT} at (92,4) size 39x15
text run at (92,4) width 39: "Groups"
RenderText {TEXT} at (131,4) size 12x15
text run at (131,4) width 12: " "
RenderInline {A} at (0,0) size 29x15 [color=#0000CC]
RenderText {TEXT} at (143,4) size 29x15
text run at (143,4) width 29: "News"
RenderText {TEXT} at (172,4) size 12x15
text run at (172,4) width 12: " "
RenderInline {A} at (0,0) size 42x15 [color=#0000CC]
RenderText {TEXT} at (184,4) size 42x15
text run at (184,4) width 42: "Froogle"
RenderText {TEXT} at (226,4) size 12x15
text run at (226,4) width 12: " "
RenderInline {A} at (0,0) size 31x15 [color=#0000CC]
RenderText {TEXT} at (238,4) size 31x15
text run at (238,4) width 31: "Local"
RenderInline {SUP} at (0,0) size 0x13
RenderInline {A} at (0,0) size 28x15
RenderInline {FONT} at (0,0) size 28x15 [color=#FF0000]
RenderText {TEXT} at (269,4) size 28x15
text run at (269,4) width 28: "New!"
RenderText {TEXT} at (297,4) size 12x15
text run at (297,4) width 12: " "
RenderInline {B} at (0,0) size 40x15
RenderInline {A} at (0,0) size 40x15 [color=#0000CC]
RenderText {TEXT} at (309,4) size 40x15
text run at (309,4) width 40: "more \x{BB}"
RenderTable {TABLE} at (2,25) size 780x45
RenderTableSection {TBODY} at (0,0) size 0x45
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,13) size 191x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (191,0) size 395x45 [r=0 c=1 rs=1 cs=1]
RenderLineEdit {INPUT} at (2,2) size 391x19
RenderBR {BR} at (0,0) size 0x0
RenderSubmitButton {INPUT} at (95,25) size 93x18
RenderSubmitButton {INPUT} at (192,25) size 108x18
RenderTableCell {TD} at (586,0) size 194x39 [r=0 c=2 rs=1 cs=1]
RenderInline {FONT} at (0,0) size 74x39
RenderText {TEXT} at (0,0) size 6x13
text run at (0,0) width 6: " "
RenderInline {A} at (0,0) size 68x13 [color=#0000CC]
RenderText {TEXT} at (6,0) size 68x13
text run at (6,0) width 68: "Advanced Search"
RenderBR {BR} at (0,0) size 0x0
RenderText {TEXT} at (0,13) size 6x13
text run at (0,13) width 6: " "
RenderInline {A} at (0,0) size 44x13 [color=#0000CC]
RenderText {TEXT} at (6,13) size 44x13
text run at (6,13) width 44: "Preferences"
RenderBR {BR} at (0,0) size 0x0
RenderText {TEXT} at (0,26) size 6x13
text run at (0,26) width 6: " "
RenderInline {A} at (0,0) size 64x13 [color=#0000CC]
RenderText {TEXT} at (6,26) size 64x13
text run at (6,26) width 64: "Language Tools"
RenderBlock (anonymous) at (2,70) size 780x33
RenderBR {BR} at (390,0) size 0x18
RenderInline {FONT} at (0,0) size 148x15
RenderInline {FONT} at (0,0) size 28x15 [color=#FF0000]
RenderText {TEXT} at (316,18) size 28x15
text run at (316,18) width 28: "New!"
RenderText {TEXT} at (344,18) size 3x15
text run at (344,18) width 3: " "
RenderInline {A} at (0,0) size 114x15 [color=#0000CC]
RenderText {TEXT} at (347,18) size 114x15
text run at (347,18) width 114: "Personalize this page"
RenderText {TEXT} at (461,18) size 3x15
text run at (461,18) width 3: "."
RenderText {TEXT} at (0,0) size 0x0
RenderBlock (anonymous) at (0,157) size 784x69
RenderBR {BR} at (392,0) size 0x18
RenderBR {BR} at (392,18) size 0x18
RenderBR {BR} at (392,36) size 0x18
RenderInline {FONT} at (0,0) size 317x15
RenderInline {A} at (0,0) size 117x15 [color=#0000CC]
RenderText {TEXT} at (233,54) size 117x15
text run at (233,54) width 117: "Advertising Programs"
RenderText {TEXT} at (350,54) size 10x15
text run at (350,54) width 10: " - "
RenderInline {A} at (0,0) size 103x15 [color=#0000CC]
RenderText {TEXT} at (360,54) size 103x15
text run at (360,54) width 103: "Business Solutions"
RenderText {TEXT} at (463,54) size 10x15
text run at (463,54) width 10: " - "
RenderInline {A} at (0,0) size 77x15 [color=#0000CC]
RenderText {TEXT} at (473,54) size 77x15
text run at (473,54) width 77: "About Google"
RenderBlock {P} at (0,242) size 784x13
RenderInline {FONT} at (0,0) size 60x13
RenderText {TEXT} at (362,0) size 60x13
text run at (362,0) width 60: "\x{A9}2005 Google"
selection start: position 0 of child 0 {TEXT} of child 0 {B} of child 0 {FONT} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 4 {DIV} of child 0 {CENTER} of child 1 {BODY} of child 0 {HTML} of document
selection end: position 0 of child 5 {TEXT} of child 0 {CENTER} of child 1 {BODY} of child 0 {HTML} of document
1.1 LayoutTests/editing/selection/3690719.html
Index: 3690719.html
===================================================================
<html>
<head>
<link rel=stylesheet href="../editingStyle.css" type="text/css">
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
selectAllCommand();
}
</script>
<title>Editing Test</title>
</head>
<body bgcolor=#ffffff text=#000000 link=#0000cc vlink=#551a8b alink=#ff0000 topmargin=3 marginheight=3><center><table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td align=right nowrap><font size=-1><a href="/url?sa=p&pref=ig&pval=2&q=http://www.google.com/ig">Personalized Home</a></font></td></tr><tr height=4><td><img alt="" width=1 height=1></td></tr></table><br><br>
<div contentEditable="true" id="test">
<table border=0 cellspacing=0 cellpadding=4><tr><td nowrap><font size=-1><b>Web</b> <a id=1a class=q href="/imghp?hl=en&tab=wi" onClick="return qs(this);">Images</a> <a id=2a class=q href="http://groups.google.com/grphp?hl=en&tab=wg" onClick="return qs(this);">Groups</a> <a id=4a class=q href="http://news.google.com/nwshp?hl=en&tab=wn" onClick="return qs(this);">News</a> <a id=5a class=q href="http://froogle.google.com/frghp?hl=en&tab=wf" onClick="return qs(this);">Froogle</a> <a id=7a class=q href="/lochp?hl=en&tab=wl" onClick="return qs(this);">Local<sup><a style="text-decoration:none"><font color=red>New!</font></a></sup></a> <b><a href="/intl/en/options/" class=q>more »</a></b></font></td></tr></table><table cellspacing=0 cellpadding=0><tr><td width=25%> </td><td align=center><input type=hidden name=hl value=en><input
maxLength=256 size=55 name=q value=""><br><input type=submit value="Google Search" name=btnG><input type=submit value="I'm Feeling Lucky" name=btnI></td><td valign=top nowrap width=25%><font size=-2> <a href=/advanced_search?hl=en>Advanced Search</a><br> <a href=/preferences?hl=en>Preferences</a><br> <a href=/language_tools?hl=en>Language Tools</a></font></td></tr></table></form><br><font size=-1><font color=#ff0000>New!</font> <a href="http://www.google.com/ig" onmousedown="return asq(event,this,'pro','hppweb:en_us','')">Personalize this page</a>.</font>
</div>
<br><br><br><font size=-1><a href="/ads/">Advertising Programs</a> - <a href=/services/>Business Solutions</a> - <a href=/intl/en/about.html>About Google</a></font><p><font size=-2>©2005 Google</font></p></center>
<script>
runEditingTest();
</script>
</body>
</html>
More information about the webkit-changes
mailing list