EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification layer at (0,0) LayoutView at (0,0) size 800x600 layer at (0,0) LayoutBlockFlow {HTML} at (0,0) size 800x600 LayoutBlockFlow {BODY} at (8,8) size 784x584 LayoutBlockFlow (children-inline) {P} at (0,0) size 784x20 LayoutText {#text} at (0,0) size 178x19 text run at (0,0) width 178: "Only 'bar' should be selected." LayoutBlockFlow (children-inline) {DIV} at (0,36) size 52x42 [border: (1px solid #000000) (1px solid #000000) (1px solid #000000) (1px solid #000000)] LayoutText {#text} at (1,1) size 45x39 text run at (1,1) width 44: "foo bar" text run at (1,21) width 45: "baz foo" selection start: position 4 of child 0 {#text} of child 2 {DIV} of body selection end: position 7 of child 0 {#text} of child 2 {DIV} of body