WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
170051
[Modern Media Controls] Captions don't move with the appearance of the inline controls
https://bugs.webkit.org/show_bug.cgi?id=170051
Summary
[Modern Media Controls] Captions don't move with the appearance of the inline...
Antoine Quint
Reported
2017-03-24 06:31:42 PDT
We need to monitor when the controls bar fades in and out and offset the captions by the size of the controls bar.
Attachments
Patch
(15.18 KB, patch)
2017-03-24 06:54 PDT
,
Antoine Quint
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antoine Quint
Comment 1
2017-03-24 06:31:55 PDT
<
rdar://problem/30754428
>
Antoine Quint
Comment 2
2017-03-24 06:54:29 PDT
Created
attachment 305280
[details]
Patch
Dean Jackson
Comment 3
2017-03-24 12:25:11 PDT
Comment on
attachment 305280
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=305280&action=review
> Source/WebCore/Modules/modern-media-controls/media/media-controller.js:221 > + this.host.textTrackContainer.classList.toggle("compact-controls-bar", !!(layoutTraits & LayoutTraits.Compact));
I don't think you need the !! here.
Antoine Quint
Comment 4
2017-03-24 12:30:52 PDT
(In reply to Dean Jackson from
comment #3
)
> Comment on
attachment 305280
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=305280&action=review
> > > Source/WebCore/Modules/modern-media-controls/media/media-controller.js:221 > > + this.host.textTrackContainer.classList.toggle("compact-controls-bar", !!(layoutTraits & LayoutTraits.Compact)); > > I don't think you need the !! here.
It's just so that we're passing a boolean in and not a number, which I think is cleaner.
WebKit Commit Bot
Comment 5
2017-03-24 15:10:49 PDT
Comment on
attachment 305280
[details]
Patch Clearing flags on attachment: 305280 Committed
r214381
: <
http://trac.webkit.org/changeset/214381
>
WebKit Commit Bot
Comment 6
2017-03-24 15:10:53 PDT
All reviewed patches have been landed. Closing bug.
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