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

Unified Diff: LayoutTests/media/track/track-webvtt-tc022-entities.html

Issue 66503013: Support the 'lrm', 'rlm' and 'nbsp' entities in the WebVTTTokenizer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/media/track/track-webvtt-tc022-entities.html
diff --git a/LayoutTests/media/track/track-webvtt-tc022-entities.html b/LayoutTests/media/track/track-webvtt-tc022-entities.html
index f9706158a64e02fd71df5fefea9cd594a392cac4..b8e5b13b9af425ef163b4d31d09b58bf4a86e9d0 100644
--- a/LayoutTests/media/track/track-webvtt-tc022-entities.html
+++ b/LayoutTests/media/track/track-webvtt-tc022-entities.html
@@ -24,14 +24,17 @@
findMediaElement();
var expected =
{
- length : 3,
+ length : 6,
tests:
[
{
property : "getCueAsHTML().textContent",
values : ["This cue has an amp & character.",
"This cue has a less than < character.",
- "This cue has a greater than > character."],
+ "This cue has a greater than > character.",
+ "This cue has a Left-to-Right Mark \u200e.",
+ "This cue has a Right-to-Left Mark \u200f.",
+ "This cue has a non-breaking space \u00a0."],
},
],
};
@@ -63,10 +66,10 @@
</script>
</head>
<body onload="enableAllTextTracks()">
- <p>Tests special characters &amp;, &lt;, and &gt; in the cue text.</p>
+ <p>Tests entities in the cue text.</p>
<video>
<track src="captions-webvtt/tc022-entities.vtt" onload="trackLoaded()">
<track src="captions-webvtt/tc022-entities-wrong.vtt" onload="trackLoaded()">
</video>
</body>
-</html>
+</html>

Powered by Google App Engine
This is Rietveld 408576698