Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: LayoutTests/media/track/captions-webvtt/tc022-entities-wrong.vtt

Issue 97103002: Fix corner-cases for WebVTT tokenizer escape handling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 WEBVTT 1 WEBVTT
2 Invalid use of &, <, and > characters. 2 Invalid use of < and > characters.
3
4 1
5 00:00:00.000 --> 00:00:30.500 align:start position:20%
6 This cue has an amp & character.
7 Ampersand is ignored.
8 3
9 2 4 2
10 00:00:31.000 --> 00:01:00.500 align:start position:20% 5 00:00:31.000 --> 00:01:00.500 align:start position:20%
11 This cue has a less than < character. 6 This cue has a less than < character.
12 It turns everything from there on into an annotation 7 It turns everything from there on into an annotation
13 for an empty tag and ends only at the next &gt; or &amp; character. 8 for an empty tag and ends only at the next &gt; or &amp; character.
14 9
15 10
16 3 11 3
17 00:01:01.000 --> 00:02:00.500 align:start position:20% 12 00:01:01.000 --> 00:02:00.500 align:start position:20%
18 This cue has a greater than > character. 13 This cue has a greater than > character.
19 Since it's not related to a &lt; character, 14 Since it's not related to a &lt; character,
20 it's just interpreted as text. 15 it's just interpreted as text.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698