mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Expose TextTrack.activeCues
This commit is contained in:
parent
2a7862540c
commit
69a79c7d75
3 changed files with 8 additions and 7 deletions
|
@ -110,6 +110,13 @@ impl TextTrackMethods for TextTrack {
|
|||
}
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-texttrack-activecues
|
||||
fn GetActiveCues(&self) -> Option<DomRoot<TextTrackCueList>> {
|
||||
// XXX implement active cues logic
|
||||
// https://github.com/servo/servo/issues/22314
|
||||
None
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-texttrack-addcue
|
||||
fn AddCue(&self, cue: &TextTrackCue) -> ErrorResult {
|
||||
// FIXME(#22314, dlrobertson) add Step 1 & 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue