76 lines
4.0 KiB
Plaintext
76 lines
4.0 KiB
Plaintext
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > BODY > HTML > #document to 5 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
|
|
<textarea> focus selection
|
|
|
|
This test checks whether the selection is restored, cleared, or set to the full range when using different ways to focus a text area. These results all match Mozilla. When running manually, please follow the steps below. In the test harness, the test runs automatically.
|
|
|
|
1) Hit tab, only the word "SUCCESS" should be selected:
|
|
2) Hit Ctrl-Option-J (or Alt-J on Windows), only the word "SUCCESS" should be selected:
|
|
3) , only the word "SUCCESS" should be selected:
|
|
4) Click in the input field, nothing should be selected:
|
|
5) Click this label, only the word "SUCCESS" should be selected:
|
|
6) Hit Ctrl-Option-U (or Alt-U on Windows), only the word "SUCCESS" should be selected:
|
|
7) , only the word "SUCCESS" should be selected:
|
|
8) , only the word "SUCCESS" should be selected:
|
|
|
|
|
|
9) Hit Ctrl-Option-I (or Alt-I on Windows), only the word "SUCCESS" should be selected:
|
|
|
|
|
|
PASS first.selectionStart is 11
|
|
PASS first.selectionEnd is 18
|
|
FAIL first.selectionStart should be 11. Was 0.
|
|
FAIL first.selectionEnd should be 18. Was 0.
|
|
PASS second.selectionStart is 11
|
|
PASS second.selectionEnd is 18
|
|
PASS second.selectionStart is 11
|
|
PASS second.selectionEnd is 18
|
|
PASS third.selectionStart is 11
|
|
PASS third.selectionEnd is 18
|
|
PASS third.selectionStart is 11
|
|
PASS third.selectionEnd is 18
|
|
PASS fourth.selectionStart is 11
|
|
PASS fourth.selectionEnd is 18
|
|
PASS fourth.selectionStart is 0
|
|
PASS fourth.selectionEnd is 0
|
|
PASS fifth.selectionStart is 11
|
|
PASS fifth.selectionEnd is 18
|
|
PASS fifth.selectionStart is 11
|
|
PASS fifth.selectionEnd is 18
|
|
PASS sixth.selectionStart is 11
|
|
PASS sixth.selectionEnd is 18
|
|
PASS sixth.selectionStart is 11
|
|
PASS sixth.selectionEnd is 18
|
|
PASS seventh.selectionStart is 11
|
|
PASS seventh.selectionEnd is 18
|
|
PASS seventh.selectionStart is 11
|
|
PASS seventh.selectionEnd is 18
|
|
PASS eighth.selectionStart is 11
|
|
PASS eighth.selectionEnd is 18
|
|
FAIL eighth.selectionStart should be 11. Was 0.
|
|
FAIL eighth.selectionEnd should be 18. Was 0.
|
|
PASS ninth.selectionStart is 11
|
|
PASS ninth.selectionEnd is 18
|
|
PASS ninth.selectionStart is 11
|
|
PASS ninth.selectionEnd is 18
|
|
|