Changeset 113275 in webkit
- Timestamp:
- Apr 4, 2012 7:07:27 PM (12 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r113270 r113275 1 2012-04-04 Hayato Ito <hayato@chromium.org> 2 3 Update a layout test, adding a case for traversing a ShadowRoot which does not have any children. 4 https://bugs.webkit.org/show_bug.cgi?id=82593 5 6 Reviewed by Dimitri Glazkov. 7 8 Prior to r113125, if we traverse a ShadowRoot which does not have any children, 9 it caused an assertion failure on debug build. r113125 fixed this issue implicitly. 10 Adds a test case for that to catch a future regression. 11 12 * fast/dom/shadow/focus-navigation-expected.html: 13 * fast/dom/shadow/focus-navigation.html: 14 1 15 2012-04-04 Oliver Hunt <oliver@apple.com> 2 16 -
trunk/LayoutTests/fast/dom/shadow/focus-navigation-expected.txt
r112511 r113275 47 47 Should move from input-C-0 to input-D-0 in forward 48 48 PASS 49 Should move from input-D-0 to input-A-1in forward49 Should move from input-D-0 to host-D in forward 50 50 PASS 51 Should move from input-A-1 to input-D-0 in backward 51 Should move from host-D to input-E-0 in forward 52 PASS 53 Should move from input-E-0 to input-A-1 in forward 54 PASS 55 Should move from input-A-1 to input-E-0 in backward 56 PASS 57 Should move from input-E-0 to host-D in backward 58 PASS 59 Should move from host-D to input-D-0 in backward 52 60 PASS 53 61 Should move from input-D-0 to input-C-0 in backward … … 97 105 Should move from input-B-1 to input-A-1 in backward 98 106 PASS 99 Should move from input-A-1 to input- D-0 in backward107 Should move from input-A-1 to input-E-0 in backward 100 108 PASS 101 109 Test finished. … … 105 113 106 114 115 -
trunk/LayoutTests/fast/dom/shadow/focus-navigation.html
r112511 r113275 51 51 createShadowRoot( 52 52 createDOM('input', {'tabindex': -1}))), 53 createDOM('input', {'id': 'input-D-0', 'tabindex': 0}))); 54 53 createDOM('input', {'id': 'input-D-0', 'tabindex': 0}), 54 createDOM('div', {}, 55 createDOM('div', {'id': 'host-D', 'tabindex': 0}, 56 createShadowRoot())), 57 createDOM('input', {'id': 'input-E-0', 'tabindex': 0}))); 55 58 parent.offsetLeft; 56 59 } … … 118 121 // A non-focusable shadow host (id=host-C), which does not have focusable elements, should be skipped entirely. 119 122 'input-D-0', 123 'host-D', 124 'input-E-0', 120 125 121 126 // Wraps to the first element in the outermost focus scope. … … 126 131 elementsNavigatedInBackward = [ 127 132 'input-A-1', 133 'input-E-0', 134 'host-D', 128 135 'input-D-0', 129 136 'input-C-0', … … 164 171 165 172 // Wraps to the last element in the outermost focus scope. 166 'input- D-0',173 'input-E-0', 167 174 ]; 168 175
Note: See TracChangeset
for help on using the changeset viewer.