OLD | NEW |
1 This tests that media element in a standalone media document cannot be focused d
irectly using focus() method or by mouse click. | 1 This tests that media element in a standalone media document can be focused dire
ctly using focus() method and not by mouse click. |
2 | 2 |
3 | 3 |
4 | 4 |
5 *** Should not focus video element by calling focus() method. | 5 *** Should focus video element by calling focus() method. |
6 EXPECTED (standaloneMediaDocument.activeElement != '[object HTMLVideoElement]')
OK | 6 EXPECTED (standaloneMediaDocument.activeElement == '[object HTMLVideoElement]')
OK |
7 | 7 |
8 *** Should not focus video element by mouse click. | 8 *** Should not focus video element by mouse click. |
9 *** Video element clicked. | 9 *** Video element clicked. |
10 EXPECTED (standaloneMediaDocument.activeElement != '[object HTMLVideoElement]')
OK | 10 EXPECTED (standaloneMediaDocument.activeElement != '[object HTMLVideoElement]')
OK |
11 | 11 |
12 END OF TEST | 12 END OF TEST |
13 | 13 |
OLD | NEW |