LayoutTests:
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Aug 2006 16:40:04 +0000 (16:40 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Aug 2006 16:40:04 +0000 (16:40 +0000)
        Updated expected results for this change:

        <rdar://problem/4522205> Represent controls in AXAttributedStringForTextMarkerRange

        * editing/selection/anchor-focus1-expected.txt:
        * editing/selection/anchor-focus2-expected.txt:
        * editing/selection/anchor-focus3-expected.txt:
        * editing/selection/move-begin-end-expected.txt:
        * fast/dom/Element/onclick-case-expected.txt:
        * fast/dom/HTMLInputElement/size-as-number-expected.txt:
        * fast/dom/document-all-input-expected.txt:
        * fast/dom/option-properties-expected.txt:
        * fast/events/objc-keyboard-event-creation-expected.txt:
        * fast/events/onsubmit-bubbling-expected.txt:
        * fast/forms/access-key-expected.txt:
        * fast/forms/activate-and-disabled-elements-expected.txt:
        * fast/forms/button-in-forms-collection-expected.txt:
        * fast/forms/check-box-enter-key-expected.txt:
        * fast/forms/cursor-position-expected.txt:
        * fast/forms/display-none-in-onchange-keyboard-expected.txt:
        * fast/forms/domstring-replace-crash-expected.txt:
        * fast/forms/double-focus-expected.txt:
        * fast/forms/element-by-name-expected.txt:
        * fast/forms/empty-get-expected.txt:
        * fast/forms/focus-expected.txt:
        * fast/forms/form-get-multipart-expected.txt:
        * fast/forms/form-get-multipart2-expected.txt:
        * fast/forms/form-get-multipart3-expected.txt:
        * fast/forms/form-post-urlencoded-expected.txt:
        * fast/forms/input-appearance-elementFromPoint-expected.txt:
        * fast/forms/input-appearance-maxlength-expected.txt:
        * fast/forms/input-changing-value-expected.txt:
        * fast/forms/input-delete-expected.txt:
        * fast/forms/input-selection-hidden-expected.txt:
        * fast/forms/input-selection-restore-expected.txt:
        * fast/forms/input-text-enter-expected.txt:
        * fast/forms/input-truncate-newline-expected.txt:
        * fast/forms/legend-access-key-expected.txt:
        * fast/forms/onchange-enter-submit-expected.txt:
        * fast/forms/onselect-textarea-expected.txt:
        * fast/forms/onselect-textfield-expected.txt:
        * fast/forms/paste-into-textarea-expected.txt:
        * fast/forms/plaintext-mode-1-expected.txt:
        * fast/forms/select-remove-option-expected.txt:
        * fast/forms/select-replace-option-expected.txt:
        * fast/forms/select-reset-expected.txt:
        * fast/forms/selection-functions-expected.txt:
        * fast/forms/text-field-setvalue-crash-expected.txt:
        * fast/forms/textarea-crlf-expected.txt:
        * fast/forms/textarea-scrolled-endline-caret-expected.txt:
        * fast/forms/textarea-setvalue-submit-expected.txt:
        * fast/forms/textfield-focus-out-expected.txt:

WebCore:

        Reinstate r15966 because layout test changes are correct.

        <rdar://problem/4522205> Represent controls in AXAttributedStringForTextMarkerRange

        * editing/TextIterator.cpp:
        (WebCore::TextIterator::advance):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16011 268f45cc-cd09-0410-ab3c-d52691b4dbfc

51 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/selection/anchor-focus1-expected.txt
LayoutTests/editing/selection/anchor-focus2-expected.txt
LayoutTests/editing/selection/anchor-focus3-expected.txt
LayoutTests/editing/selection/move-begin-end-expected.txt
LayoutTests/fast/dom/Element/onclick-case-expected.txt
LayoutTests/fast/dom/HTMLInputElement/size-as-number-expected.txt
LayoutTests/fast/dom/document-all-input-expected.txt
LayoutTests/fast/dom/option-properties-expected.txt
LayoutTests/fast/events/objc-keyboard-event-creation-expected.txt
LayoutTests/fast/events/onsubmit-bubbling-expected.txt
LayoutTests/fast/forms/access-key-expected.txt
LayoutTests/fast/forms/activate-and-disabled-elements-expected.txt
LayoutTests/fast/forms/button-in-forms-collection-expected.txt
LayoutTests/fast/forms/check-box-enter-key-expected.txt
LayoutTests/fast/forms/cursor-position-expected.txt
LayoutTests/fast/forms/display-none-in-onchange-keyboard-expected.txt
LayoutTests/fast/forms/domstring-replace-crash-expected.txt
LayoutTests/fast/forms/double-focus-expected.txt
LayoutTests/fast/forms/element-by-name-expected.txt
LayoutTests/fast/forms/empty-get-expected.txt
LayoutTests/fast/forms/focus-expected.txt
LayoutTests/fast/forms/form-get-multipart-expected.txt
LayoutTests/fast/forms/form-get-multipart2-expected.txt
LayoutTests/fast/forms/form-get-multipart3-expected.txt
LayoutTests/fast/forms/form-post-urlencoded-expected.txt
LayoutTests/fast/forms/input-appearance-elementFromPoint-expected.txt
LayoutTests/fast/forms/input-appearance-maxlength-expected.txt
LayoutTests/fast/forms/input-changing-value-expected.txt
LayoutTests/fast/forms/input-delete-expected.txt
LayoutTests/fast/forms/input-selection-hidden-expected.txt
LayoutTests/fast/forms/input-selection-restore-expected.txt
LayoutTests/fast/forms/input-text-enter-expected.txt
LayoutTests/fast/forms/input-truncate-newline-expected.txt
LayoutTests/fast/forms/legend-access-key-expected.txt
LayoutTests/fast/forms/onchange-enter-submit-expected.txt
LayoutTests/fast/forms/onselect-textarea-expected.txt
LayoutTests/fast/forms/onselect-textfield-expected.txt
LayoutTests/fast/forms/paste-into-textarea-expected.txt
LayoutTests/fast/forms/plaintext-mode-1-expected.txt
LayoutTests/fast/forms/select-remove-option-expected.txt
LayoutTests/fast/forms/select-replace-option-expected.txt
LayoutTests/fast/forms/select-reset-expected.txt
LayoutTests/fast/forms/selection-functions-expected.txt
LayoutTests/fast/forms/text-field-setvalue-crash-expected.txt
LayoutTests/fast/forms/textarea-crlf-expected.txt
LayoutTests/fast/forms/textarea-scrolled-endline-caret-expected.txt
LayoutTests/fast/forms/textarea-setvalue-submit-expected.txt
LayoutTests/fast/forms/textfield-focus-out-expected.txt
WebCore/ChangeLog
WebCore/editing/TextIterator.cpp

index be217f417fb3d543c616cc80c69131ecf6a90e64..76e2be04abb7f39e9ad409fa76f14580d2261eb4 100644 (file)
@@ -1,3 +1,58 @@
+2006-08-24  David Harrison  <harrison@apple.com>
+
+        Updated expected results for this change:
+        
+        <rdar://problem/4522205> Represent controls in AXAttributedStringForTextMarkerRange
+
+        * editing/selection/anchor-focus1-expected.txt:
+        * editing/selection/anchor-focus2-expected.txt:
+        * editing/selection/anchor-focus3-expected.txt:
+        * editing/selection/move-begin-end-expected.txt:
+        * fast/dom/Element/onclick-case-expected.txt:
+        * fast/dom/HTMLInputElement/size-as-number-expected.txt:
+        * fast/dom/document-all-input-expected.txt:
+        * fast/dom/option-properties-expected.txt:
+        * fast/events/objc-keyboard-event-creation-expected.txt:
+        * fast/events/onsubmit-bubbling-expected.txt:
+        * fast/forms/access-key-expected.txt:
+        * fast/forms/activate-and-disabled-elements-expected.txt:
+        * fast/forms/button-in-forms-collection-expected.txt:
+        * fast/forms/check-box-enter-key-expected.txt:
+        * fast/forms/cursor-position-expected.txt:
+        * fast/forms/display-none-in-onchange-keyboard-expected.txt:
+        * fast/forms/domstring-replace-crash-expected.txt:
+        * fast/forms/double-focus-expected.txt:
+        * fast/forms/element-by-name-expected.txt:
+        * fast/forms/empty-get-expected.txt:
+        * fast/forms/focus-expected.txt:
+        * fast/forms/form-get-multipart-expected.txt:
+        * fast/forms/form-get-multipart2-expected.txt:
+        * fast/forms/form-get-multipart3-expected.txt:
+        * fast/forms/form-post-urlencoded-expected.txt:
+        * fast/forms/input-appearance-elementFromPoint-expected.txt:
+        * fast/forms/input-appearance-maxlength-expected.txt:
+        * fast/forms/input-changing-value-expected.txt:
+        * fast/forms/input-delete-expected.txt:
+        * fast/forms/input-selection-hidden-expected.txt:
+        * fast/forms/input-selection-restore-expected.txt:
+        * fast/forms/input-text-enter-expected.txt:
+        * fast/forms/input-truncate-newline-expected.txt:
+        * fast/forms/legend-access-key-expected.txt:
+        * fast/forms/onchange-enter-submit-expected.txt:
+        * fast/forms/onselect-textarea-expected.txt:
+        * fast/forms/onselect-textfield-expected.txt:
+        * fast/forms/paste-into-textarea-expected.txt:
+        * fast/forms/plaintext-mode-1-expected.txt:
+        * fast/forms/select-remove-option-expected.txt:
+        * fast/forms/select-replace-option-expected.txt:
+        * fast/forms/select-reset-expected.txt:
+        * fast/forms/selection-functions-expected.txt:
+        * fast/forms/text-field-setvalue-crash-expected.txt:
+        * fast/forms/textarea-crlf-expected.txt:
+        * fast/forms/textarea-scrolled-endline-caret-expected.txt:
+        * fast/forms/textarea-setvalue-submit-expected.txt:
+        * fast/forms/textfield-focus-out-expected.txt:
+
 2006-08-24  Rob Buis  <buis@kde.org>
 
         Reviewed by Darin.
index 187545c57129bed5588d4d8b0d888818c2621040..6301bba792b20ec2b8f22d5ec52f91f56013222e 100644 (file)
@@ -4,6 +4,7 @@ EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DI
 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.
index 950b6cae061d4c3baa55add857a625c288298dc8..c691cd8fed0b7852da3b7e2cd29b38a94c56340f 100644 (file)
@@ -5,6 +5,7 @@ EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML
 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.
index 0694c4b5cf7843bffd953c5f4d74567b36042b73..688efe8fe1c48d37f0a2ee6c8569d23216a0e849 100644 (file)
@@ -5,6 +5,7 @@ EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 4 of #text > DIV > BOD
 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], 4) is correct.
 Focus ([object Text], 0) is correct.
index b9a42d077c80f723cbaf1664d15f58d36a018b2e..c5539fa81285e92cb4df28197aad9518dc00b039 100644 (file)
@@ -11,6 +11,7 @@ EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV to 9
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 9 of #text > DIV to 9 of #text > DIV toDOMRange:range from 0 of #text > DIV to 9 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+
 This tests that moving the caret and selecting using Command+Left/Right arrows work correctly. If this text is successful, the text "SUCCESS" will be shown below.
 SUCCESS
 
index 3c538b9f0e9c282562da9b4f235a7858a1618ad1..4de8bab1489929f32fb3e5517fba405559fc958f 100644 (file)
@@ -1,5 +1,6 @@
 This tests whether an element's onclick attribute can be a function named "OnClick". Some older versions of WebKit had a bug in the DOM binding for Element that would prevent the function from being called because we have an attribute of the same name.
 
+
 Hooray! All is well!
 
 
index 2b69097876f93965e5f2e563149523b522045aaa..a5af62fcbd3efcce4bd244607b8233dbab864683 100644 (file)
@@ -1,3 +1,4 @@
+
 This tests to make sure that HTMLInputElement::size returns a number, not a string. This is in violation of the DOM Level 1 spec, but is what FireFox does, so we match.
 
 You should see 2 lines with "SUCCESS" below:
index 2606504100bbc72c8d6f80ea784368d7ec957ecf..57b455f77b6b8a4ebd06ae6dcdf65664cf0e2318 100644 (file)
@@ -1,4 +1,5 @@
 This tests setting inputs using document.all. If successful, the input should show PASS.
 
+
 PASS
 
index 13bf0fe84c1db70d1049a68cac431409aa525347..f956d95ecef6c88946ff04f3071634dce64bbd3c 100644 (file)
@@ -6,3 +6,4 @@ PASS: document.getElementById('sel').options.selectedIndex should be 1 and is.
 PASS: document.getElementById('sel').options[1].selected should be true and is.
 PASS: document.getElementById('sel').options[1].text should be PASS and is.
 
+
index a8f18e52c6573b2bf3ab227ec0c0879b53566621..27c9b01fef4c6e4261e24508b6a2b39b1e13f826 100644 (file)
@@ -1,3 +1,4 @@
+
 This tests that DOMKeyboardEvents are created correctly in the ObjC API. See bug 9736.
 
 keydown - key: U+000041@0 (keyCode/charCode: 0/0) modifiers: true,false,false,false
index 1385dc005737f324bd4e71524fb1a6b3d442ea3f..85c3222f1428208ecb490604ced58c1f915471b8 100644 (file)
@@ -3,3 +3,4 @@ This page tests whether the form 'submit' event bubbles to containing elements.
 PASS: containing element div2 caught submit event
 PASS: containing element div1 caught submit event
 
+
index 68d9d9372319483b1324f3448845ae0cc099e1ca..0f85012366e05b71e73afbb13eba493b73e0a191 100644 (file)
@@ -11,6 +11,7 @@ If this test passes you should see 1 - 9 and a, b and c clicked or focussed.
 
      
 
+
    
 1 button clicked
 2 input type button focussed
index dc7823b10bd25d94a110fa622db4dd4a16f1b1ee..d6e4a0ac5a0fade771d1bf91860dcf1a35d3eb01 100644 (file)
@@ -1,4 +1,4 @@
-Disabled button 
+Disabled button  
 This tests that disabled form elements don't call submit when they receive a DOMActivate event. If this test is successful, the text "SUCCESS" should be shown below.
 SUCCESS
 
index 315c1263f3d62257628d1c0d63224b19ed1ed3aa..164ee3c6f85963274033718e374eaa675c68a6f4 100644 (file)
@@ -1,6 +1,6 @@
 The following tests for regression against 4405: <button> not listed in form collections. You should see a series of lines starting with PASS.
 
- Button2
 Button2
 
 PASS document.test.elements.length is 2
 PASS document.test.elements[0].name is "foo"
index a2ec8cd26335cd9461afd704472fdc1b2dfbcfe6..bc3765912fb5fea17e5d0ea66bf524a388adc25e 100644 (file)
@@ -2,6 +2,7 @@ This test checks to see if hitting the Enter key on a check box submits the form
 
 If the test passes, the text below should say both "tried to submit form" and "check box is not checked".
 
+
 Tried to submit form.
 Check box is not checked.
 
index b7e4e6dbf11e9034deefc1d8236fdcf8811748af..8be908347fa4f99f111343b68022de518d07c247 100644 (file)
@@ -6,6 +6,7 @@ This test sets a non-standard line endings, sets selection, then sets a standard
 
 If this test succeeded, you should see 2 lines saying "10, 10" below.
 
+
 10, 10
 10, 10
 
index ee861700a106e6d81059c986dce49e8af4ceb7ab..d49a5644458203cba2a8393fbaf0e82e8b7e8bf2 100644 (file)
@@ -5,6 +5,7 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+
 This tests that setting display to 'none' for an element that's about to get focus doesn't crash.
 
 SUCCESS - Didn't crash
index 30d4b19e22bb04053a056ff7dc623cdd5a7e3317..45c924247e758b707f91f6172da7c18cdb6d2a23 100644 (file)
@@ -2,3 +2,4 @@ This test checks for a regression against http://bugzilla.opendarwin.org/show_bu
 
 No crash = test PASS.
 
+
index 021137efbb84f38d4540847bfc8259f38470325c..10a7a4ee7f8a9b89719d25668098da61368e543a 100644 (file)
@@ -16,3 +16,5 @@ Passed.
 
 
 
+
+
index 083bdf1d8f8ae15dec9441a9c045ded50af6771d..3b558c6e0a9b654722430eeff2bee4965da6567b 100644 (file)
@@ -4,6 +4,7 @@ This is a regression test for bug 3481. The problem is that form elements added
 If the test succeeds, there will be a line below that says "form element was found".
 
 
+
 Form element was found.
 
 
index 2f973c224f3bcbda1fced7250fa7689849be89d5..b0b86d98129d03f57fa53618817f946e9a102d41 100644 (file)
@@ -1,5 +1,6 @@
 Test for bug 8051: Empty forms are submitted incorrectly.
 
+
 Success
 
 
index 1470c270ed5cb572e0d99f455aa9415eabaebf9e..e5c1687111d6fb8ee1dbe4742a5253aec7c93a8c 100644 (file)
@@ -9,6 +9,7 @@ If the test passes, you should see a line saying "focused 1", then 2, then 3.
 
 
 Legend
+
 Label2 Label3
 
 focused 1
index 2b9eab5204c22334262e2a7d4e7c680761f66be0..662eb144284e86748cd2c81c343dc21aa5daba5f 100644 (file)
@@ -1,3 +1,4 @@
+
 Success
 
 
index 2b9eab5204c22334262e2a7d4e7c680761f66be0..662eb144284e86748cd2c81c343dc21aa5daba5f 100644 (file)
@@ -1,3 +1,4 @@
+
 Success
 
 
index 2b9eab5204c22334262e2a7d4e7c680761f66be0..662eb144284e86748cd2c81c343dc21aa5daba5f 100644 (file)
@@ -1,3 +1,4 @@
+
 Success
 
 
index 75dcf86c0ad74c1b162c5dc367d525b78ff65723..e2c9620749d2a06932ab6af9cdaff3e871927312 100644 (file)
@@ -1,3 +1,3 @@
-This tests that elementFromPoint will get the input element.
+This tests that elementFromPoint will get the input element. 
 Test Passed
 
index 39eb6a77d52a50daf8422497462e4d2a0e5830b0..00b1674b6c8abae0fff1d4af1967e5537ee58d8a 100644 (file)
@@ -7,5 +7,6 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 This test changes the value of the text field by simulating typing, and then gets the value. 
 
+
 Test 1 Passed. Maxlength works for default value. Test 2 Passed. Maxlength works for inserted text.
 
index 760d33c9c6af764599a430e7a1766ab0537eed0a..072357809d0d1e225b3f0961fb4c698df3174f23 100644 (file)
@@ -4,5 +4,6 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 This test changes the value of the text field by simulating typing, and then gets the value. 
 
+
 Passed
 
index dec6d3a57d3de3454491d360552968da980c7c67..81d8e5e84b401450bd163e37a3d8bf61d120a96d 100644 (file)
@@ -5,5 +5,6 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 This tests that calling setSelectionRange on a text field will correctly close the typing command. If the test fails, the deleteCommand that happens after the setSelectionRange will fail, and the text field will say "Test Failed".
 
+
 Passed
 
index 2f84a622acc675a9acccb354f93f93b74016d52c..6a234a089eedcc57e43ad13d15823cbc867515b0 100644 (file)
@@ -1,5 +1,6 @@
 This tests the selection methods on the new text field when it is hidden and then made visible.
 
+
 setSelectionRange(3, 12)
 Passed.
 
index 4229f57e6f02a04c1aaad5d815189ae6446b7258..524b775600c639e3ae37cc4d4736e6b765ef9f52 100644 (file)
@@ -4,5 +4,6 @@ This tests that the selection is restored when a text field's value changes.
 
 If this test succeeded, you should see a line saying "4, 4" below.
 
+
 4, 4
 
index 01a38d0d9ae26a17820ea6261f8a948536f66b10..8c211ccdd7686f85d6066ed34f3567c83d9de82f 100644 (file)
@@ -2,6 +2,7 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
 This test selects some characters, then simulates a press of the Enter key (marked Return on Macintosh keyboards).
 
 
+
 Content of input after pressing return is "12345678". It should be "12345678".
 
 
index d602e37f3efddcd39cb762d0d893cb9a5da6b957..ffc42c11079e0937bbecd300e9fa97d154e827a7 100644 (file)
@@ -13,5 +13,6 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 This tests that when newlines are pasted into text fields, the text gets truncated properly. 
 
+
 Passed.
 
index 53ca2810ffed4821a9a66c6944ed28cf0dd4012a..132a7645c4a1e675d6c64fcdb24bb1927f60450a 100644 (file)
@@ -5,5 +5,6 @@ If the test passes, you should see one line saying "focused" and the text field
 
 Information:
 
+
 focused
 
index 12b45f0438f37e3ecf4a779d4c710e2f2b2b643c..81e1ab7677c62c95e33c2cf13d9fcf6d7b3cd70b 100644 (file)
@@ -5,6 +5,7 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 This tests that onchange fires when you press Enter to submit a form.
+
 text onchange
 text onblur
 on submit
index 7e0bce1bc73a45c6fe37ac03a555be496e1340c2..5abf18b26c7ec207ffbab915533a88af963fed59 100644 (file)
@@ -10,6 +10,7 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
 This tests onSelect for textareas. 
 This also makes sure that the correct selection is restored when the element regains focus.
 
+
 Calling focus on textarea
 After focus: textarea selection start: 34 end: 34
 
index 92dcd504a9b8ca54caec209d9fbeaaa8b5463028..6c4ceba0175608230693ba10218b6ad97a5fced3 100644 (file)
@@ -9,6 +9,7 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
 
 This tests onSelect for text fields. 
 
+
 Calling focus on text field
 After focus: text field selection start: 0 end: 10
 
index 3d24a5f8f9642472f5264924795d33dff6a56d15..d71c4e55e37a7b9a0baf0e6517e7e6573288e4f3 100644 (file)
@@ -4,6 +4,7 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 This tests for a bug where text pasted into a textarea would appear one character before the position where it was pasted.
 
+
 Hooray, test succeeded.
 
 
index 815f70c5a785394228d5883d423f2a452de27717..4cf0dc6b64341c7714d0951a5edcf582e5d5ecb8 100644 (file)
@@ -9,6 +9,7 @@ EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV to 0 of #text > DIV toDOMRange:range from 0 of #text > DIV to 5 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+
 Success: document.queryCommandEnabled("BackColor") == false
 Success: document.queryCommandEnabled("Bold") == false
 Success: document.queryCommandEnabled("Copy") == true
index 067e2ab040c4d43a7af2ae770dbde9426c42e49a..f17bf6f10cfffb1088e67a618fdb2f9a2e4a45ae 100644 (file)
@@ -1,2 +1,3 @@
 test passed
 
+
index b34ccfc9d8365eddb07a82440973280f55074b8b..373a0813445362c9821e560e48d1221b78426eff 100644 (file)
@@ -1,5 +1,6 @@
 This tests replacing an option using JavaScript. If successful, the options should be "Replacement Option 0", "Option 1", and "Option 2", and selected index should be 0.
 
+
 options[0] is Option 0
 options[1] is Replacement Option 1
 options[2] is Option 2
index 0871aa04ff609bbbb03734d228dd75ae2e8e8558..9f7f1b5da32b1646c7621f3f0e954f865de36332 100644 (file)
@@ -1,5 +1,6 @@
 This tests reseting of a select box with no selected options using JavaScript. If successful, both times the selected index should be 0.
 
+
 selected index is 0 before and 0 after reset().
 
 
index 77de5d4cf47ab630874c958f4b2c6f0a324c049f..f8ed1c92d064dad9be9a6dd20fe8e34067868e25 100644 (file)
@@ -34,7 +34,7 @@ This test checks if setSelectionRange(), selectionStart, and selectionEnd on a t
 
 If this test passed you'll see a bunch of correct selection ranges below. Check the expected file for the correct ranges.
 
-  
+    
 ===textarea===
 setSelectionRange():
 3, 7
index 9d4c4629cb82cca7ba6910322898e226d6e75488..c121228ef4f21853f9c489966adcd0333b4a0aee 100644 (file)
@@ -12,3 +12,4 @@ EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 This test checks that undoing across a programmatic change to a text field's value doesn't cause crashes or assertion failures. If this test does not crash, it has passed.
 
 
+
index f56089add75db3110de11103cde646e3dec296c6..cea41d1f7378945db05bbbf1044a4f8cce061b93 100644 (file)
@@ -2,6 +2,7 @@ This test attempts to set non-standard line endings in a text area and reads the
 
 If the test passes, you should see three lines saying "Passed" below.
 
+
 Passed
 Passed
 Passed
index d3e74632dcc87f288cad172dfbad5890f0e952ba..b0023442499e77a9677c12a62f959e13cc0be8bf 100644 (file)
@@ -1,5 +1,6 @@
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 20 of #text > DIV to 20 of #text > DIV toDOMRange:range from 17 of #text > DIV to 17 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+
 Test Succeeded
 
index 1915073db9624b0fd83b2d3419729e6c36898f49..6d86a4f92cc40c50d491b0dc42cbd0d79eff3aa4 100644 (file)
@@ -1,5 +1,6 @@
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 This is a test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7363. Taking focus away from a text field that no longer had focus was crashing Safari.
 
 Success: finished the test without crashing.
 
index 4a07607f9862e22107be89e0eb0f45620d1af143..02dfacc6c41d9d66b39cfcedb6fd74dedc61d767 100644 (file)
@@ -1,3 +1,12 @@
+2006-08-24  David Harrison  <harrison@apple.com>
+
+        Reinstate r15966 because layout test changes are correct.
+
+        <rdar://problem/4522205> Represent controls in AXAttributedStringForTextMarkerRange
+
+        * editing/TextIterator.cpp:
+        (WebCore::TextIterator::advance):
+
 2006-08-24  Nikolas Zimmermann  <zimmermann@kde.org>
 
         Reviewed by ap.
index 21181fc788b3497df2b4f141b73bf4cb5a0c55a7..966ad2b4d25ea0daae415feea7d7b5cc6b11e089 100644 (file)
@@ -157,7 +157,7 @@ void TextIterator::advance()
                 // FIXME: What about CDATA_SECTION_NODE?
                 if (renderer->style()->visibility() == VISIBLE)
                     m_handledNode = handleTextNode();
-            } else if (renderer && (renderer->isImage() || renderer->isWidget())) {
+            } else if (renderer && (renderer->isImage() || renderer->isWidget() || (renderer->element() && renderer->element()->isControl()))) {
                 if (renderer->style()->visibility() == VISIBLE)
                     m_handledNode = handleReplacedElement();
             } else