EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of HTML > #document to 2 of HTML > #document EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of BODY > HTML > #document to 0 of BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE EDITING DELEGATE: shouldEndEditingInDOMRange:range from 0 of HTML > #document to 2 of HTML > #document 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 2008x2096 RenderView at (0,0) size 800x600 layer at (0,0) size 800x2096 RenderBlock {HTML} at (0,0) size 800x2096 RenderBody {BODY} at (8,8) size 784x2080 RenderBlock (anonymous) at (0,0) size 784x60 RenderText {#text} at (0,0) size 595x19 text run at (0,0) width 595: "This test makes sure that we don't scroll unnecessarily to reveal an editable HTML Element. " RenderBR {BR} at (594,0) size 1x19 RenderText {#text} at (0,20) size 269x19 text run at (0,20) width 269: "If the document doesn't scroll, test passes." RenderBR {BR} at (268,20) size 1x19 RenderInline {B} at (0,0) size 537x19 RenderText {#text} at (0,40) size 537x19 text run at (0,40) width 537: "This demonstrates a bug: normally, focusing an element will select its contents." RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,60) size 2000x2000 RenderBlock (anonymous) at (0,2060) size 784x20 RenderText {#text} at (0,0) size 245x19 text run at (0,0) width 245: "If the document scrolls here, test fails." caret: position 1 of child 0 {#text} of body