WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
268269
Explore the usage of 'text-track.css' and 'mediaControls' as UA Stylesheet rule
https://bugs.webkit.org/show_bug.cgi?id=268269
Summary
Explore the usage of 'text-track.css' and 'mediaControls' as UA Stylesheet rule
Ahmad Saleem
Reported
2024-01-28 20:14:05 PST
Hi Team, I started noticing that for media controls, we have three UA stylesheets: 1) mediaControls.css 2) captions.css 3) text-track.css __ I'll start with simple one - 'captions.css': Only these exist in the file (which is not in either of others): video::cue(:future) > * video::cue(*) { ____ Then in text-track.css: We have following to cover 'captions.css' one: ::cue(:future) and have two '::-webkit-media-text-track-display' (in other files as well but also twice in same and conflict with each other -> e.g., white-space: pre-wrap; and white-space: pre-line; etc. __ and mediaControls.css is the biggest. ____ I think we can get rid of `captions.css` while we can trim and clean-up `text-track.css` while make `mediaControls.css` as defacto standard. Just raising to get input and also if someone want to tackle it. Thanks!
Attachments
Just a snapshot - Reference Image
(281.68 KB, image/png)
2024-01-28 20:21 PST
,
Ahmad Saleem
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2024-01-28 20:21:07 PST
Created
attachment 469587
[details]
Just a snapshot - Reference Image Diff for video::-webkit-media-text-track-container between:
> mediaControls.css > text-tracks.css
Radar WebKit Bug Importer
Comment 2
2024-02-04 20:15:19 PST
<
rdar://problem/122289181
>
Ahmad Saleem
Comment 3
2024-02-20 09:54:17 PST
`captions.css` is gone since it was accidentally added.
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