DescriptionImplement the activation behavior of media elements (click to play/pause)
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#user-interface
Added to the spec in http://html5.org/r/8315 after a long discussion:
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2013-November/041662.html
Firefox already implements click to play/pause when controls are
visible, but that implementation predates the spec so accesskey does not
work.
HTMLMediaElement::togglePlayState() is made public so that it can be
used to implement play/pause in MediaControls also.
The video-click-dblckick-standalone.html test has been expected to fail
since April 2013, r148246, so remove it now since the the results would
change. The new tests provide sufficient coverage.
BUG=354746
TEST=LayoutTests/media/activation-behavior.html
LayoutTests/media/activation-behavior-accesskey.html
LayoutTests/media/activation-behavior-shadow.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169812
Patch Set 1 #
Total comments: 6
Patch Set 2 : nit and oops #Patch Set 3 : cancel activation behavior in a failing fullscreen test #Messages
Total messages: 13 (0 generated)
|