Skip to content

Define how styling works #3

Open

Description

@hober

You can use ::cue and ::cue-region from the embedding page (right?), but how can you use CSS from within the cue fragment itself? What sorts of CSS can you use?

Note that in WebVTT today, ::cue has a limited set of styling that can be applied to it. Should that subset be the subset going forward?

In the WebKit prototype, only inline style attributes work. This is not great; we should support the stye element as well. Are there any issues speccing that? How does style get scoped?

Activity

  1. added
    text tracksTextTrackCue enhancements for programmatic subtitle and caption presentation
    on Jan 16, 2020
  2. added a commit that references this issue on May 6, 2026
    4d50ffb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

text tracksTextTrackCue enhancements for programmatic subtitle and caption presentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions