Changeset 202660 in webkit
- Timestamp:
- Jun 29, 2016 5:12:07 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r202658 r202660 1 2016-06-29 Jer Noble <jer.noble@apple.com> 2 3 Unprefix webkit-playsinline. 4 https://bugs.webkit.org/show_bug.cgi?id=159283 5 6 Reviewed by Eric Carlson. 7 8 Tests: media/video-playsinline.html 9 media/video-webkit-playsinline.html 10 11 Unprefix the webkit-playsinline content attribute, as an unprefixed version 12 was added to the HTML spec by <https://github.com/whatwg/html/pull/1444>. 13 The new 'playsinline' content attribute reflects to a new DOM property of 14 the same name. 15 16 * html/HTMLAttributeNames.in: 17 * html/HTMLVideoElement.idl: 18 * html/MediaElementSession.cpp: 19 (WebCore::MediaElementSession::requiresFullscreenForVideoPlayback): 20 1 21 2016-06-29 Alex Christensen <achristensen@webkit.org> 2 22 -
trunk/Source/WebCore/html/HTMLAttributeNames.in
r199650 r202660 300 300 pattern 301 301 placeholder 302 playsinline 302 303 pluginspage 303 304 pluginurl -
trunk/Source/WebCore/html/HTMLVideoElement.idl
r200361 r202660 34 34 [Reflect, URL] attribute DOMString poster; 35 35 36 [Reflect] attribute boolean playsinline; 36 37 readonly attribute boolean webkitSupportsFullscreen; 37 38 readonly attribute boolean webkitDisplayingFullscreen; -
trunk/Source/WebCore/html/MediaElementSession.cpp
r202459 r202660 451 451 return true; 452 452 453 return settings->inlineMediaPlaybackRequiresPlaysInlineAttribute() && ! element.fastHasAttribute(HTMLNames::webkit_playsinlineAttr);453 return settings->inlineMediaPlaybackRequiresPlaysInlineAttribute() && !(element.fastHasAttribute(HTMLNames::webkit_playsinlineAttr) || element.fastHasAttribute(HTMLNames::playsinlineAttr)); 454 454 } 455 455
Note: See TracChangeset
for help on using the changeset viewer.