Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define how styling works #3

Open
hober opened this issue Jan 16, 2020 · 0 comments
Open

Define how styling works #3

hober opened this issue Jan 16, 2020 · 0 comments
Assignees
Labels
text tracks TextTrackCue enhancements for programmatic subtitle and caption presentation

Comments

@hober
Copy link
Member

hober commented Jan 16, 2020

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?

@hober hober added the text tracks TextTrackCue enhancements for programmatic subtitle and caption presentation label Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
text tracks TextTrackCue enhancements for programmatic subtitle and caption presentation
Projects
None yet
Development

No branches or pull requests

2 participants