Div contents: "foobar" state: false selection: #document 0 #document 0
Div contents: "foo<b>bar</b>" state: true selection: #text 0 #text 3
Div contents: "<b>foobar</b>" state: true selection: #text 0 #text 3
Div contents: "<b>foo</b>bar" state: false selection: #text 0 #text 3
