Changeset 203511 in webkit
- Timestamp:
- Jul 21, 2016, 10:54:27 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/media/video-playsinline-expected.txt (modified) (4 diffs)
-
LayoutTests/media/video-playsinline.html (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/html/HTMLVideoElement.idl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r203510 r203511 1 2016-07-21 Chris Dumez <cdumez@apple.com> 2 3 playsInline IDL attribute has the wrong casing 4 https://bugs.webkit.org/show_bug.cgi?id=160029 5 <rdar://problem/27474031> 6 7 Reviewed by Jon Lee. 8 9 Update test to use the correct case. 10 11 * media/video-playsinline-expected.txt: 12 * media/video-playsinline.html: 13 1 14 2016-07-21 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/LayoutTests/media/video-playsinline-expected.txt
r203484 r203511 1 1 RUN(internals.settings.setInlineMediaPlaybackRequiresPlaysInlineAttribute(true)) 2 RUN(video.plays inline = false)2 RUN(video.playsInline = false) 3 3 EVENT(canplaythrough) 4 4 RUN(video.play()) … … 6 6 EXPECTED (video.webkitDisplayingFullscreen == 'true') OK 7 7 RUN(internals.settings.setInlineMediaPlaybackRequiresPlaysInlineAttribute(true)) 8 RUN(video.plays inline = true)8 RUN(video.playsInline = true) 9 9 EVENT(canplaythrough) 10 10 RUN(video.play()) … … 12 12 EXPECTED (video.webkitDisplayingFullscreen == 'false') OK 13 13 RUN(internals.settings.setInlineMediaPlaybackRequiresPlaysInlineAttribute(false)) 14 RUN(video.plays inline = false)14 RUN(video.playsInline = false) 15 15 EVENT(canplaythrough) 16 16 RUN(video.play()) … … 18 18 EXPECTED (video.webkitDisplayingFullscreen == 'false') OK 19 19 RUN(internals.settings.setInlineMediaPlaybackRequiresPlaysInlineAttribute(false)) 20 RUN(video.plays inline = true)20 RUN(video.playsInline = true) 21 21 EVENT(canplaythrough) 22 22 RUN(video.play()) -
trunk/LayoutTests/media/video-playsinline.html
r203484 r203511 25 25 video.controls = true; 26 26 video.src = findMediaFile('video', 'content/test'); 27 run('video.plays inline = ' + hasPlaysInline);27 run('video.playsInline = ' + hasPlaysInline); 28 28 waitForEventOnce('canplaythrough', () => { 29 29 runWithKeyDown(() => { -
trunk/Source/WebCore/ChangeLog
r203510 r203511 1 2016-07-21 Chris Dumez <cdumez@apple.com> 2 3 playsInline IDL attribute has the wrong casing 4 https://bugs.webkit.org/show_bug.cgi?id=160029 5 <rdar://problem/27474031> 6 7 Reviewed by Jon Lee. 8 9 Fix case from video.playsinline to video.playsInline in order to match 10 the specification: 11 - https://html.spec.whatwg.org/multipage/embedded-content.html#the-video-element:dom-video-playsinline 12 13 It still reflects the "playsinline" content attribute though, as per 14 the specification: 15 - https://html.spec.whatwg.org/multipage/embedded-content.html#dom-video-playsinline 16 17 No new tests, updated existing test. 18 19 * html/HTMLVideoElement.idl: 20 1 21 2016-07-21 Chris Dumez <cdumez@apple.com> 2 22 -
trunk/Source/WebCore/html/HTMLVideoElement.idl
r202660 r203511 34 34 [Reflect, URL] attribute DOMString poster; 35 35 36 [Reflect ] attribute boolean playsinline;36 [Reflect=playsinline] attribute boolean playsInline; 37 37 readonly attribute boolean webkitSupportsFullscreen; 38 38 readonly attribute boolean webkitDisplayingFullscreen;
Note:
See TracChangeset
for help on using the changeset viewer.