-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow external language information to apply
Make it possible for `<track srclang>` (or other external language) to apply to the WebVTT nodes for the purpose of CSS `:lang()` matching, glyph selection, etc. "WebVTT cue text parsing rules" takes an optional fallback language. The "rules for updating the display of WebVTT text tracks" also takes an optional fallback language, since it is the entry point for HTML and this algorithm then invokes the "WebVTT cue text parsing rules". `getCueAsHTML()` does not provide a fallback language. Fixes (1) in https://www.w3.org/Bugs/Public/show_bug.cgi?id=28255#c16.
- Loading branch information
Showing
2 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters