Changeset 147896 in webkit
- Timestamp:
- Apr 7, 2013 11:53:14 PM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r147891 r147896 1 2013-04-07 Christophe Dumez <ch.dumez@sisa.samsung.com> 2 3 Regression(r147893) Caused several editing tests to fail 4 https://bugs.webkit.org/show_bug.cgi?id=114143 5 6 Reviewed by Benjamin Poulain. 7 8 r147893 removed some Android code from WebCore but failed to update the 9 layout tests accordingly. This patch remove Android-specific tests from 10 several editing layout tests. 11 12 * editing/deleting/paragraph-in-preserveNewline-expected.txt: 13 * editing/deleting/paragraph-in-preserveNewline.html: 14 * editing/deleting/whitespace-pre-1-expected.txt: 15 * editing/deleting/whitespace-pre-1.html: 16 * editing/execCommand/script-tests/toggle-compound-styles.js: 17 * editing/execCommand/toggle-compound-styles-expected.txt: 18 * editing/selection/5354455-1-expected.txt: 19 * editing/selection/5354455-1.html: 20 * editing/selection/click-in-margins-inside-editable-div-expected.txt: 21 * editing/selection/click-in-padding-with-multiple-line-boxes-expected.txt: 22 * editing/selection/extend-after-mouse-selection-expected.txt: 23 * editing/selection/extend-after-mouse-selection.html: 24 * editing/selection/programmatic-selection-on-mac-is-directionless-expected.txt: 25 * editing/selection/programmatic-selection-on-mac-is-directionless.html: 26 * editing/selection/script-tests/click-in-margins-inside-editable-div.js: 27 * editing/selection/script-tests/click-in-padding-with-multiple-line-boxes.js: 28 * editing/selection/selection-extend-should-not-move-across-caret-on-mac-expected.txt: 29 * editing/selection/selection-extend-should-not-move-across-caret-on-mac.html: 30 1 31 2013-04-07 Benjamin Poulain <benjamin@webkit.org> 2 32 -
trunk/LayoutTests/editing/deleting/paragraph-in-preserveNewline-expected.txt
r141837 r147896 8 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 9 9 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of PRE > DIV > BODY > HTML > #document to 0 of PRE > DIV > BODY > HTML > #document toDOMRange:range from 0 of PRE > DIV > BODY > HTML > #document to 0 of PRE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE 10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification12 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of PRE > DIV > BODY > HTML > #document to 0 of PRE > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > PRE > DIV > BODY > HTML > #document to 3 of #text > PRE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE13 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification14 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification15 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification16 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification17 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification18 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification19 EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > PRE > DIV > BODY > HTML > #document to 3 of #text > PRE > DIV > BODY > HTML > #document20 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification21 10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 22 11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification … … 83 72 | "<#selection-anchor>foo<#selection-focus> 84 73 bar" 85 86 on android:87 | <pre>88 | "<#selection-caret>89 bar"90 91 after undo on android:92 | <pre>93 | "<#selection-anchor>foo<#selection-focus>94 bar" -
trunk/LayoutTests/editing/deleting/paragraph-in-preserveNewline.html
r141837 r147896 32 32 runTestsOn("win"); 33 33 runTestsOn("unix"); 34 runTestsOn("android");35 34 </script> 36 35 </body> -
trunk/LayoutTests/editing/deleting/whitespace-pre-1-expected.txt
r141837 r147896 6 6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 7 7 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification9 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification10 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 69 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE11 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification12 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification13 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification14 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification15 EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 69 of #text > DIV > BODY > HTML > #document16 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification17 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 18 9 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification … … 75 66 There should be three paragraphs in this editable region. 76 67 The first one should be empty." 77 78 on android:79 | "<#selection-caret>80 There should be three paragraphs in this editable region.81 The first one should be empty."82 83 after undo on android:84 | "<#selection-anchor>You should not see this paragraph unless the command has been undone.<#selection-focus>85 There should be three paragraphs in this editable region.86 The first one should be empty." -
trunk/LayoutTests/editing/deleting/whitespace-pre-1.html
r141837 r147896 29 29 runTestsOn("win"); 30 30 runTestsOn("unix"); 31 runTestsOn("android");32 31 </script> -
trunk/LayoutTests/editing/execCommand/script-tests/toggle-compound-styles.js
r141837 r147896 17 17 } 18 18 19 platforms = ['mac', 'win', 'unix' , 'android'];19 platforms = ['mac', 'win', 'unix']; 20 20 21 21 for (var i = 0; i < platforms.length; i++) { -
trunk/LayoutTests/editing/execCommand/toggle-compound-styles-expected.txt
r141837 r147896 46 46 PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b><i>hello world</i></b></s> 47 47 48 Platform: android49 PASS one bold command converted "<u><b>hello</b> world</u>" to "<u><b>hello world</b></u>50 PASS one bold command converted "<b>hello </b>world" to "<b>hello world</b>51 PASS one bold command converted "<u><b>hello </b></u>world" to "<b><u>hello </u>world</b>52 PASS one italic command converted "<i>hello</i> <img>" to "<i>hello <img></i>53 PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world</b></u>" to "<u><span id="test">hello</span>world</u>54 PASS one bold command converted "<span id='test' style='font-weight:normal;'><b>hello</b></span>" to "<span id="test">hello</span>55 PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div>56 PASS one italic command converted "<i>hello </i><img>" to "hello <img>57 PASS one italic command converted "<i><b>hello</b>world</i>" to "<b>hello</b>world58 PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello59 PASS one italic command converted "<p><i>hello</i><span style='font-style:italic;'>world</span></p>" to "<p>helloworld</p>60 PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b><i>hello world</i></b></s>61 62 48 PASS successfullyParsed is true 63 49 -
trunk/LayoutTests/editing/selection/5354455-1-expected.txt
r141837 r147896 8 8 9 9 Unix: Caret 10 11 Android: Caret -
trunk/LayoutTests/editing/selection/5354455-1.html
r141837 r147896 7 7 <p>Win: <span id="resultwin">RUNNING</span></p> 8 8 <p>Unix: <span id="resultunix">RUNNING</span></p> 9 <p>Android: <span id="resultandroid">RUNNING</span></p>10 9 11 10 <script> … … 35 34 test('win', 'resultwin'); 36 35 test('unix', 'resultunix'); 37 test('android', 'resultandroid');38 36 } 39 37 </script> -
trunk/LayoutTests/editing/selection/click-in-margins-inside-editable-div-expected.txt
r141837 r147896 32 32 PASS Selection is [anchorNode: [object Text](YY) anchorOffset: 1 focusNode: [object Text](YY) focusOffset: 1 isCollapsed: true] 33 33 PASS Selection is [anchorNode: [object Text](YY) anchorOffset: 2 focusNode: [object Text](YY) focusOffset: 2 isCollapsed: true] 34 PASS Selection is [anchorNode: [object Text](XX) anchorOffset: 0 focusNode: [object Text](XX) focusOffset: 0 isCollapsed: true]35 PASS Selection is [anchorNode: [object Text](XX) anchorOffset: 1 focusNode: [object Text](XX) focusOffset: 1 isCollapsed: true]36 PASS Selection is [anchorNode: [object Text](XX) anchorOffset: 2 focusNode: [object Text](XX) focusOffset: 2 isCollapsed: true]37 PASS Selection is [anchorNode: [object Text](XX) anchorOffset: 0 focusNode: [object Text](XX) focusOffset: 0 isCollapsed: true]38 PASS Selection is [anchorNode: [object Text](XX) anchorOffset: 2 focusNode: [object Text](XX) focusOffset: 2 isCollapsed: true]39 PASS Selection is [anchorNode: [object Text](XX) anchorOffset: 0 focusNode: [object Text](XX) focusOffset: 0 isCollapsed: true]40 PASS Selection is [anchorNode: [object Text](XX) anchorOffset: 1 focusNode: [object Text](XX) focusOffset: 1 isCollapsed: true]41 PASS Selection is [anchorNode: [object Text](XX) anchorOffset: 2 focusNode: [object Text](XX) focusOffset: 2 isCollapsed: true]42 PASS Selection is [anchorNode: [object Text](YY) anchorOffset: 0 focusNode: [object Text](YY) focusOffset: 0 isCollapsed: true]43 PASS Selection is [anchorNode: [object Text](YY) anchorOffset: 1 focusNode: [object Text](YY) focusOffset: 1 isCollapsed: true]44 PASS Selection is [anchorNode: [object Text](YY) anchorOffset: 2 focusNode: [object Text](YY) focusOffset: 2 isCollapsed: true]45 PASS Selection is [anchorNode: [object Text](YY) anchorOffset: 0 focusNode: [object Text](YY) focusOffset: 0 isCollapsed: true]46 PASS Selection is [anchorNode: [object Text](YY) anchorOffset: 1 focusNode: [object Text](YY) focusOffset: 1 isCollapsed: true]47 PASS Selection is [anchorNode: [object Text](YY) anchorOffset: 2 focusNode: [object Text](YY) focusOffset: 2 isCollapsed: true]48 34 PASS successfullyParsed is true 49 35 -
trunk/LayoutTests/editing/selection/click-in-padding-with-multiple-line-boxes-expected.txt
r141837 r147896 8 8 PASS Selection is [anchorNode: [object Text](FOO) anchorOffset: 1 focusNode: [object Text](FOO) focusOffset: 1 isCollapsed: true] 9 9 PASS Selection is [anchorNode: [object Text](FOO) anchorOffset: 1 focusNode: [object Text](FOO) focusOffset: 1 isCollapsed: true] 10 PASS Selection is [anchorNode: [object Text](FOO) anchorOffset: 1 focusNode: [object Text](FOO) focusOffset: 1 isCollapsed: true]11 PASS Selection is [anchorNode: [object Text](FOO) anchorOffset: 1 focusNode: [object Text](FOO) focusOffset: 1 isCollapsed: true]12 10 PASS successfullyParsed is true 13 11 -
trunk/LayoutTests/editing/selection/extend-after-mouse-selection-expected.txt
r141837 r147896 17 17 PASS Selection is [anchorNode: [object Text](bc) anchorOffset: 0 focusNode: [object Text]( ) focusOffset: 1 isCollapsed: false] 18 18 PASS Selection is [anchorNode: [object Text](bc) anchorOffset: 0 focusNode: [object HTMLSpanElement](null) focusOffset: 4 isCollapsed: false] 19 PASS Selection is [anchorNode: [object Text](bc) anchorOffset: 0 focusNode: [object Text](ef) focusOffset: 2 isCollapsed: false]20 PASS Selection is [anchorNode: [object Text](bc) anchorOffset: 0 focusNode: [object Text](ef) focusOffset: 1 isCollapsed: false]21 PASS Selection is [anchorNode: [object Text](bc) anchorOffset: 0 focusNode: [object Text](ef) focusOffset: 2 isCollapsed: false]22 PASS Selection is [anchorNode: [object Text](bc) anchorOffset: 0 focusNode: [object Text]( ) focusOffset: 1 isCollapsed: false]23 PASS Selection is [anchorNode: [object Text](bc) anchorOffset: 0 focusNode: [object HTMLSpanElement](null) focusOffset: 4 isCollapsed: false]24 19 PASS successfullyParsed is true 25 20 -
trunk/LayoutTests/editing/selection/extend-after-mouse-selection.html
r141837 r147896 78 78 editingTest("win"); 79 79 editingTest("unix"); 80 editingTest("android");81 80 </script> 82 81 <script src="../../fast/js/resources/js-test-post.js"></script> -
trunk/LayoutTests/editing/selection/programmatic-selection-on-mac-is-directionless-expected.txt
r141837 r147896 295 295 PASS right by line in text-input, after undoing bold 296 296 PASS right by line in text-input, after undoing insertText 297 android:298 PASS left by character in regular-div299 PASS left by character in regular-div, after undoing delete300 PASS left by character in regular-div, after undoing forwardDelete301 PASS left by character in regular-div, after undoing cut302 PASS left by character in regular-div, after undoing bold303 PASS left by character in regular-div, after undoing insertText304 PASS right by character in regular-div305 PASS right by character in regular-div, after undoing delete306 PASS right by character in regular-div, after undoing forwardDelete307 PASS right by character in regular-div, after undoing cut308 PASS right by character in regular-div, after undoing bold309 PASS right by character in regular-div, after undoing insertText310 PASS left by line in regular-div311 PASS left by line in regular-div, after undoing delete312 PASS left by line in regular-div, after undoing forwardDelete313 PASS left by line in regular-div, after undoing cut314 PASS left by line in regular-div, after undoing bold315 PASS left by line in regular-div, after undoing insertText316 PASS right by line in regular-div317 PASS right by line in regular-div, after undoing delete318 PASS right by line in regular-div, after undoing forwardDelete319 PASS right by line in regular-div, after undoing cut320 PASS right by line in regular-div, after undoing bold321 PASS right by line in regular-div, after undoing insertText322 PASS left by character in editable-div323 PASS left by character in editable-div, after undoing delete324 PASS left by character in editable-div, after undoing forwardDelete325 PASS left by character in editable-div, after undoing cut326 PASS left by character in editable-div, after undoing bold327 PASS left by character in editable-div, after undoing insertText328 PASS right by character in editable-div329 PASS right by character in editable-div, after undoing delete330 PASS right by character in editable-div, after undoing forwardDelete331 PASS right by character in editable-div, after undoing cut332 PASS right by character in editable-div, after undoing bold333 PASS right by character in editable-div, after undoing insertText334 PASS left by line in editable-div335 PASS left by line in editable-div, after undoing delete336 PASS left by line in editable-div, after undoing forwardDelete337 PASS left by line in editable-div, after undoing cut338 PASS left by line in editable-div, after undoing bold339 PASS left by line in editable-div, after undoing insertText340 PASS right by line in editable-div341 PASS right by line in editable-div, after undoing delete342 PASS right by line in editable-div, after undoing forwardDelete343 PASS right by line in editable-div, after undoing cut344 PASS right by line in editable-div, after undoing bold345 PASS right by line in editable-div, after undoing insertText346 PASS left by character in text-area347 PASS left by character in text-area, after undoing delete348 PASS left by character in text-area, after undoing forwardDelete349 PASS left by character in text-area, after undoing cut350 PASS left by character in text-area, after undoing bold351 PASS left by character in text-area, after undoing insertText352 PASS right by character in text-area353 PASS right by character in text-area, after undoing delete354 PASS right by character in text-area, after undoing forwardDelete355 PASS right by character in text-area, after undoing cut356 PASS right by character in text-area, after undoing bold357 PASS right by character in text-area, after undoing insertText358 PASS left by line in text-area359 PASS left by line in text-area, after undoing delete360 PASS left by line in text-area, after undoing forwardDelete361 PASS left by line in text-area, after undoing cut362 PASS left by line in text-area, after undoing bold363 PASS left by line in text-area, after undoing insertText364 PASS right by line in text-area365 PASS right by line in text-area, after undoing delete366 PASS right by line in text-area, after undoing forwardDelete367 PASS right by line in text-area, after undoing cut368 PASS right by line in text-area, after undoing bold369 PASS right by line in text-area, after undoing insertText370 PASS left by character in text-input371 PASS left by character in text-input, after undoing delete372 PASS left by character in text-input, after undoing forwardDelete373 PASS left by character in text-input, after undoing cut374 PASS left by character in text-input, after undoing bold375 PASS left by character in text-input, after undoing insertText376 PASS right by character in text-input377 PASS right by character in text-input, after undoing delete378 PASS right by character in text-input, after undoing forwardDelete379 PASS right by character in text-input, after undoing cut380 PASS right by character in text-input, after undoing bold381 PASS right by character in text-input, after undoing insertText382 PASS left by line in text-input383 PASS left by line in text-input, after undoing delete384 PASS left by line in text-input, after undoing forwardDelete385 PASS left by line in text-input, after undoing cut386 PASS left by line in text-input, after undoing bold387 PASS left by line in text-input, after undoing insertText388 PASS right by line in text-input389 PASS right by line in text-input, after undoing delete390 PASS right by line in text-input, after undoing forwardDelete391 PASS right by line in text-input, after undoing cut392 PASS right by line in text-input, after undoing bold393 PASS right by line in text-input, after undoing insertText394 297 PASS successfullyParsed is true 395 298 -
trunk/LayoutTests/editing/selection/programmatic-selection-on-mac-is-directionless.html
r141837 r147896 136 136 runTestsFor('win'); 137 137 runTestsFor('unix'); 138 runTestsFor('android');139 138 140 139 document.getElementById('test').innerHTML = ''; -
trunk/LayoutTests/editing/selection/script-tests/click-in-margins-inside-editable-div.js
r141837 r147896 96 96 editingTest("mac"); 97 97 editingTest("win"); 98 editingTest("android");99 98 100 99 // Clean up after ourselves if we're not being run in the browser -
trunk/LayoutTests/editing/selection/script-tests/click-in-padding-with-multiple-line-boxes.js
r141837 r147896 70 70 editingTest("mac"); 71 71 editingTest("win"); 72 editingTest("android");73 72 74 73 // Clean up after ourselves if we're not being run in the browser -
trunk/LayoutTests/editing/selection/selection-extend-should-not-move-across-caret-on-mac-expected.txt
r141837 r147896 22 22 Extend backward and then forward by paragraph: PASS 23 23 Extend forward and then backward by paragraph: PASS 24 android:25 Extend backward and then forward by word: PASS26 Extend forward and then backward by word: PASS27 Extend backward and then forward by line: PASS28 Extend forward and then backward by line: PASS29 Extend backward and then forward by paragraph: PASS30 Extend forward and then backward by paragraph: PASS31 24 -
trunk/LayoutTests/editing/selection/selection-extend-should-not-move-across-caret-on-mac.html
r141837 r147896 60 60 editingTest("win"); 61 61 editingTest("unix"); 62 editingTest("android");63 62 64 63 var node = document.getElementById("test-div");
Note: See TracChangeset
for help on using the changeset viewer.