[webvtt] Process cue and apply related CSS attributes on the div element
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
Updated•8 years ago
|
Updated•8 years ago
|
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
There is no need to check whether the code is running on other browser, because we won't upstream the change back to the github repo, as this code uses a lots mozilla-only APIs.
Assignee | ||
Comment 3•6 years ago
|
||
Using class syntax for CueStyleBox made us easier to simplify the code and make it more readable.
Assignee | ||
Comment 4•6 years ago
|
||
Follow the spec 7.2 and 7.4 to process cue and apply css setting for the div element.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 5•6 years ago
|
||
CueStyleBox should handle all css attributes, so it make more sense to adjust font size and style inside CueStyleBox.
Assignee | ||
Comment 6•6 years ago
|
||
If cue div is not a pseudo element, which means we don't have a default style applying on it. Therefore, we should set the default css style for it.
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/797abfd47a05
https://hg.mozilla.org/mozilla-central/rev/45a5af08e7f6
https://hg.mozilla.org/mozilla-central/rev/f21dc82d9ba7
https://hg.mozilla.org/mozilla-central/rev/b6a5f3dc8878
https://hg.mozilla.org/mozilla-central/rev/eff6eff2d385
Comment 9•6 years ago
|
||
bugherder |
Description
•