Closed Bug 1491365 Opened 6 years ago Closed 5 years ago

Support ::cue-region pseudo-elements

Categories

(Core :: Audio/Video: Playback, enhancement, P3)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1338031

People

(Reporter: modmaker, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36 Steps to reproduce: - Create a TextTrack on a video element. - Create a VTTCue element with a VTTRegion applied. - Style them using ::cue and ::cue-region pseudo-elements. Example: https://storage.googleapis.com/shaka-demo-assets/_bugs/firefox-vttregion-style/text.html Actual results: Styles have no effect. Expected results: I should be able to style the cue and region with CSS in the page. Note I can use ::cue if there is no VTTRegion applied. Spec: https://w3c.github.io/webvtt/#css-extensions-introduction
Setting the component in order to involve the development team in reviewing this issue. Also, Bug 1321490 looks similar.
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
jya, is this the same thing as bug 1321490?
Flags: needinfo?(jyavenard)
I have no knowledge with webvtt, :alwu maybe?
Flags: needinfo?(jyavenard) → needinfo?(alwu)
Will take a look later, keep NI.
Whiteboard: [needinfo to alwu on 2018-09-19]
No, it's not bug 1321490, we don't support ::cue-region yet. In bug1318542, we only implemented ::cue in document.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(alwu)
Summary: Cannot use ::cue and ::cue-region pseudo-elements with VTTRegion → Support ::cue-region pseudo-elements
Whiteboard: [needinfo to alwu on 2018-09-19]
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Type: defect → enhancement
You need to log in before you can comment on or make changes to this bug.