blob: 719e7bbf8256906114bf6cccbc6b462b0c9f0747 [file] [log] [blame]
Testing that entering fullscreen then going back into inline presents inline controls.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Media started playing, we pause it and enter fullscreen by clicking on the matching button.
PASS shadowRoot.querySelector('.media-controls').classList.contains('inline') is true
PASS internals.isChangingPresentationMode(media) became false
Media entered fullscreen.
PASS shadowRoot.querySelector('.media-controls').classList.contains('fullscreen') is true
We exit fullscreen by clicking on the matching button.
PASS internals.isChangingPresentationMode(media) became false
Media exited fullscreen.
PASS shadowRoot.querySelector('.media-controls').classList.contains('inline') is true
PASS shadowRoot.querySelector('.start-button') is null
PASS successfullyParsed is true
TEST COMPLETE