udom-svg-228-t

raster image of udom-svg-228-t

This tests setFocus and getCurrentFocusedObject, setting the focus and then checking that the correct element has focus. Successes are shown in green, failures in red. If all subtests pass, the text in the blue box changes from "failed" to "passed".

A numeric keypad is shown. Focus starts on the "5" and is then moved programatically to each of the other numbers, finally returning to "5". Since this happens on the load event, there is no indication of the focus moving.