haikuwebkit/LayoutTests/fast/events/remove-focus-navigation-sta...

5 lines
324 B
Plaintext

After removing a focused element at the end of tree, accessing focus navigation starting point shouldn't lead to crash.
PASS insertEnd(); focusEnd(); removeEnd(); moveFocus('forward'); document.activeElement.id is 'next'
PASS insertEnd(); focusEnd(); removeEnd(); moveFocus('backward'); document.activeElement.id is 'prev'