| OLD | NEW |
| 1 This tests the blur() on on shadow host should work when a shadow host contains
a focused element in its shadow DOM subtrees property (bug 81102) | 1 This tests the blur() on on shadow host should work when a shadow host contains
a focused element in its shadow DOM subtrees property (bug 81102) |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 getNodeInTreeOfTrees('shadowHostA/childInTreeOne').focus() | 7 getNodeInComposedTree('shadowHostA/childInTreeOne').focus() |
| 8 PASS document.activeElement.id is "shadowHostA" | 8 PASS document.activeElement.id is "shadowHostA" |
| 9 getNodeInTreeOfTrees('shadowHostA').blur(); | 9 getNodeInComposedTree('shadowHostA').blur(); |
| 10 shadowHostA onblur called! | 10 shadowHostA onblur called! |
| 11 PASS document.activeElement is document.body | 11 PASS document.activeElement is document.body |
| 12 PASS getNodeInTreeOfTrees('shadowHostA/').activeElement is null | 12 PASS getNodeInComposedTree('shadowHostA/').activeElement is null |
| 13 PASS getNodeInTreeOfTrees('shadowHostA/shadowHostB/').activeElement is null | 13 PASS getNodeInComposedTree('shadowHostA/shadowHostB/').activeElement is null |
| 14 PASS getNodeInTreeOfTrees('shadowHostC/').activeElement is null | 14 PASS getNodeInComposedTree('shadowHostC/').activeElement is null |
| 15 getNodeInTreeOfTrees('shadowHostA/shadowHostB/childInTreeTwo').focus() | 15 getNodeInComposedTree('shadowHostA/shadowHostB/childInTreeTwo').focus() |
| 16 PASS document.activeElement.id is "shadowHostA" | 16 PASS document.activeElement.id is "shadowHostA" |
| 17 getNodeInTreeOfTrees('shadowHostA/shadowHostB').blur(); | 17 getNodeInComposedTree('shadowHostA/shadowHostB').blur(); |
| 18 shadowHostB onblur called! | 18 shadowHostB onblur called! |
| 19 shadowHostA onblur called! | 19 shadowHostA onblur called! |
| 20 PASS document.activeElement is document.body | 20 PASS document.activeElement is document.body |
| 21 PASS getNodeInTreeOfTrees('shadowHostA/').activeElement is null | 21 PASS getNodeInComposedTree('shadowHostA/').activeElement is null |
| 22 PASS getNodeInTreeOfTrees('shadowHostA/shadowHostB/').activeElement is null | 22 PASS getNodeInComposedTree('shadowHostA/shadowHostB/').activeElement is null |
| 23 PASS getNodeInTreeOfTrees('shadowHostC/').activeElement is null | 23 PASS getNodeInComposedTree('shadowHostC/').activeElement is null |
| 24 getNodeInTreeOfTrees('shadowHostA/shadowHostB/childInTreeTwo').focus() | 24 getNodeInComposedTree('shadowHostA/shadowHostB/childInTreeTwo').focus() |
| 25 PASS document.activeElement.id is "shadowHostA" | 25 PASS document.activeElement.id is "shadowHostA" |
| 26 getNodeInTreeOfTrees('shadowHostA').blur(); | 26 getNodeInComposedTree('shadowHostA').blur(); |
| 27 shadowHostB onblur called! | 27 shadowHostB onblur called! |
| 28 shadowHostA onblur called! | 28 shadowHostA onblur called! |
| 29 PASS document.activeElement is document.body | 29 PASS document.activeElement is document.body |
| 30 PASS getNodeInTreeOfTrees('shadowHostA/').activeElement is null | 30 PASS getNodeInComposedTree('shadowHostA/').activeElement is null |
| 31 PASS getNodeInTreeOfTrees('shadowHostA/shadowHostB/').activeElement is null | 31 PASS getNodeInComposedTree('shadowHostA/shadowHostB/').activeElement is null |
| 32 PASS getNodeInTreeOfTrees('shadowHostC/').activeElement is null | 32 PASS getNodeInComposedTree('shadowHostC/').activeElement is null |
| 33 getNodeInTreeOfTrees('shadowHostC/childInTreeThree').focus() | 33 getNodeInComposedTree('shadowHostC/childInTreeThree').focus() |
| 34 PASS document.activeElement.id is "shadowHostC" | 34 PASS document.activeElement.id is "shadowHostC" |
| 35 getNodeInTreeOfTrees('shadowHostA').blur(); | 35 getNodeInComposedTree('shadowHostA').blur(); |
| 36 PASS document.activeElement.id is "shadowHostC" | 36 PASS document.activeElement.id is "shadowHostC" |
| 37 PASS getNodeInTreeOfTrees('shadowHostA/').activeElement is null | 37 PASS getNodeInComposedTree('shadowHostA/').activeElement is null |
| 38 PASS getNodeInTreeOfTrees('shadowHostA/shadowHostB/').activeElement is null | 38 PASS getNodeInComposedTree('shadowHostA/shadowHostB/').activeElement is null |
| 39 PASS getNodeInTreeOfTrees('shadowHostC/').activeElement.id is "childInTreeThree" | 39 PASS getNodeInComposedTree('shadowHostC/').activeElement.id is "childInTreeThree
" |
| 40 PASS successfullyParsed is true | 40 PASS successfullyParsed is true |
| 41 | 41 |
| 42 TEST COMPLETE | 42 TEST COMPLETE |
| 43 | 43 |
| OLD | NEW |