WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
139200
[Media] Audio content shouldn't have fullscreen buttons, even if in a video element
https://bugs.webkit.org/show_bug.cgi?id=139200
Summary
[Media] Audio content shouldn't have fullscreen buttons, even if in a video e...
Dean Jackson
Reported
2014-12-02 14:41:30 PST
[Media] Audio content shouldn't have fullscreen buttons, even if in a video element
Attachments
Patch
(10.49 KB, patch)
2014-12-02 17:27 PST
,
Dean Jackson
eric.carlson
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dean Jackson
Comment 1
2014-12-02 17:27:38 PST
Created
attachment 242467
[details]
Patch
Dean Jackson
Comment 2
2014-12-02 17:27:48 PST
<
rdar://problem/18914506
>
Eric Carlson
Comment 3
2014-12-02 17:53:52 PST
Comment on
attachment 242467
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=242467&action=review
> Source/WebCore/ChangeLog:36 > +2014-12-02 Dean Jackson <
dino@apple.com
> > + > + Missing support for innerHTML on SVGElement > +
https://bugs.webkit.org/show_bug.cgi?id=136903
> + > + Unreviewed followup from
r176630
. Minor style nits that I missed in my review. > + > + * dom/Element.h: Remove unnecessary parameter name. > + * html/parser/HTMLTreeBuilder.cpp: Whitespace cleanup. > + (WebCore::HTMLTreeBuilder::adjustedCurrentStackItem):
Double ChangeLog :-O
> Source/WebCore/Modules/mediacontrols/mediaControlsApple.js:559 > + if (this.video.videoTracks && this.video.videoTracks.length > 0) > + this.hasVisualMedia = true;
Is there any reason to not do this as "this.hasVisualMedia = this.video.videoTracks && this.video.videoTracks.length > 0"?
> Source/WebCore/Modules/mediacontrols/mediaControlsBase.js:559 > + if (this.video.videoTracks && this.video.videoTracks.length > 0) > + this.hasVisualMedia = true;
Ditto.
> Source/WebCore/dom/Element.h:569 > - void clearTabIndexExplicitlyIfNeeded(); > + void clearTabIndexExplicitlyIfNeeded();
You probably don't want these changes in this patch.
> Source/WebCore/dom/Element.h:580 > - > - static void mergeWithNextTextNode(Text& node, ExceptionCode& ec); > + > + static void mergeWithNextTextNode(Text& node, ExceptionCode&);
Ditto.
> Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2842 > - > +
Ditto
> Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2849 > - > +
Ditto
Dean Jackson
Comment 4
2014-12-03 02:04:15 PST
Comment on
attachment 242467
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=242467&action=review
>> Source/WebCore/ChangeLog:36 >> + (WebCore::HTMLTreeBuilder::adjustedCurrentStackItem): > > Double ChangeLog :-O
Oops. I'm not sure why that was included in the patch. It's already landed, I hope.
>> Source/WebCore/Modules/mediacontrols/mediaControlsApple.js:559 >> + this.hasVisualMedia = true; > > Is there any reason to not do this as "this.hasVisualMedia = this.video.videoTracks && this.video.videoTracks.length > 0"?
Because I'm a moron!! :)
>> Source/WebCore/dom/Element.h:569 >> + void clearTabIndexExplicitlyIfNeeded(); > > You probably don't want these changes in this patch.
Yeah, that's the patch for another bug that should already be landed.
Dean Jackson
Comment 5
2014-12-03 02:05:00 PST
Ah, I didn't actually commit those other changes. Ignore them, they'll land separately (and are a completely different bug).
Dean Jackson
Comment 6
2014-12-03 02:08:57 PST
Committed
r176714
: <
http://trac.webkit.org/changeset/176714
>
Xabier Rodríguez Calvar
Comment 7
2014-12-05 11:06:43 PST
Thanks for considering the Base.js also to fix this!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug