| EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE |
| EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
| EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 4 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE |
| EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
| This tests the anchorNode, anchorOffset, focusNode and focusOffset properties of the Selection object. These properties are part of Mozilla's Selection object API, and so their values should be consistent in both browsers. |
| |
| |
| text |
| Anchor ([object Text], 0) is correct. |
| Focus ([object Text], 4) is correct. |