EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 65 of #text > DIV to 65 of #text > DIV toDOMRange:range from 66 of #text > DIV to 66 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldInsertText:l replacingDOMRange:range from 65 of #text > DIV to 65 of #text > DIV givenAction:WebViewInsertActionTyped
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 65 of #text > DIV to 65 of #text > DIV toDOMRange:range from 66 of #text > DIV to 66 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x600
RenderText {TEXT} at (152,2) size 4x18
text run at (152,2) width 4: " "
RenderTextField {INPUT} at (158,2) size 148x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {TEXT} at (308,2) size 4x18
+ text run at (308,2) width 4: " "
+ RenderTextField {INPUT} at (314,2) size 148x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
RenderText {TEXT} at (0,0) size 0x0
RenderBlock {P} at (0,39) size 784x36
- RenderText {TEXT} at (0,0) size 777x36
- text run at (0,0) width 777: "Tests scrolling back to the beginning when a text field blurs. The first field should be scrolled to the left, the second scrolled"
- text run at (0,18) width 72: "to the right."
+ RenderText {TEXT} at (0,0) size 784x36
+ text run at (0,0) width 784: "Tests scrolling back to the beginning when a text field blurs. The first field should be scrolled to the left, the second and third"
+ text run at (0,18) width 125: "scrolled to the right."
layer at (13,13) size 142x13 scrollWidth 321
RenderBlock {DIV} at (3,3) size 142x13
RenderText {TEXT} at (1,0) size 319x13
text run at (1,0) width 319: "this text field has a lot of text in it so that it needs to scroll"
-layer at (169,13) size 142x13 scrollX 179 scrollWidth 321
+layer at (169,13) size 142x13 scrollX 178 scrollWidth 320
+ RenderBlock {DIV} at (3,3) size 142x13
+ RenderText {TEXT} at (-178,0) size 319x13
+ text run at (-178,0) width 319: "this text field has a lot of text in it so that it needs to scroll"
+layer at (325,13) size 142x13 scrollX 179 scrollWidth 321
RenderBlock {DIV} at (3,3) size 142x13
RenderText {TEXT} at (1,0) size 319x13
text run at (1,0) width 319: "this text field has a lot of text in it so that it needs to scroll"
<input id="a" type="text" value="this text field has a lot of text in it so that it needs to scrol">
-<input id="b" type="text" value="this text field has a lot of text in it so that it needs to scrol">
-<p>Tests scrolling back to the beginning when a text field blurs. The first field should be scrolled to the left, the second scrolled to the right.</p>
+<input id="b" type="text" style="direction: rtl" value="this text field has a lot of text in it so that it needs to scrol">
+<input id="c" type="text" value="this text field has a lot of text in it so that it needs to scrol">
+<p>Tests scrolling back to the beginning when a text field blurs. The first field should be scrolled to the left, the second and third scrolled to the right.</p>
<script>
var a = document.getElementById("a");
a.focus();
if (window.eventSender) {
eventSender.keyDown("l");
}
-a.blur();
var b = document.getElementById("b");
b.focus();
b.setSelectionRange(66, 66);
if (window.eventSender) {
eventSender.keyDown("l");
}
+var c = document.getElementById("c");
+c.focus();
+c.setSelectionRange(66, 66);
+if (window.eventSender) {
+ eventSender.keyDown("l");
+}
</script>