Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r241608 - [WebVTT] Inline WebVTT styles should start with '::cue'
https://bugs.webkit.org/show_bug.cgi?id=194227 Reviewed by Eric Carlson. Source/WebCore: The original fix in r241203 is not sufficient, since it only checks if the CSS string starts with '::cue'. Before accepting a CSS string from a WebVTT file, it should be checked that all selectors starts with '::cue'. Test: media/track/track-cue-css.html * html/track/WebVTTParser.cpp: (WebCore::WebVTTParser::checkAndStoreStyleSheet): LayoutTests: Add invalid 'STYLE' blocks which the WebVTT parser should reject. * media/track/captions-webvtt/css-styling.vtt:
- Loading branch information
1 parent
6d6b3d0
commit 15c36ce
Showing
4 changed files
with
89 additions
and
10 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
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