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

Unified Diff: LayoutTests/media/track/track-webvtt-tc023-markup.html

Issue 98783005: WebVTT only allows <rt> if the currently innermost node is <ruby> (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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/media/track/track-webvtt-tc023-markup.html
diff --git a/LayoutTests/media/track/track-webvtt-tc023-markup.html b/LayoutTests/media/track/track-webvtt-tc023-markup.html
index 3dd8bd72b91b4984a0c1dc96f33f7b90ecb03838..4574dd11d72092497df90e66996c196caa9eaa7a 100644
--- a/LayoutTests/media/track/track-webvtt-tc023-markup.html
+++ b/LayoutTests/media/track/track-webvtt-tc023-markup.html
@@ -97,9 +97,7 @@
fragment = document.createDocumentFragment();
fragment.appendChild(document.createTextNode("The following bear is not ruby annotated and markup is removed:\nI said "));
fragment.appendChild(document.createTextNode("Bear"));
- var rt = document.createElement("rt");
- rt.appendChild(document.createTextNode("bear with me"));
- fragment.appendChild(rt);
+ fragment.appendChild(document.createTextNode("bear with me"));
fragment.appendChild(document.createTextNode(" is coming!!!!"));
testExpected(fragment.isEqualNode(video.textTracks[i].cues[3].getCueAsHTML()), true);
@@ -115,4 +113,4 @@
<track src="captions-webvtt/tc023-markup-bad.vtt" onload="trackLoaded()">
</video>
</body>
-</html>
+</html>

Powered by Google App Engine
This is Rietveld 408576698