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

Unified Diff: LayoutTests/media/track/opera/track/webvtt/parsing/support/settings-size.vtt

Issue 864043002: WebVTT: Support fractional percentage values for position/line/size (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moar tests. Created 5 years, 11 months 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/opera/track/webvtt/parsing/support/settings-size.vtt
diff --git a/LayoutTests/media/track/opera/track/webvtt/parsing/support/settings-size.vtt b/LayoutTests/media/track/opera/track/webvtt/parsing/support/settings-size.vtt
index 5de885fd3f7d9dfa0600e96c7c14524b9d6b1e65..c0439e1121df227e0aa65391b616581d3745a7ae 100644
--- a/LayoutTests/media/track/opera/track/webvtt/parsing/support/settings-size.vtt
+++ b/LayoutTests/media/track/opera/track/webvtt/parsing/support/settings-size.vtt
@@ -33,5 +33,20 @@ WEBVTT
00:00:00.000 --> 00:00:01.000 size:101%
{}
+00:00:00.000 --> 00:00:01.000 size:.5%
+{"size":0.5}
+
+00:00:00.000 --> 00:00:01.000 size:5.%
+{"size":5}
+
+00:00:00.000 --> 00:00:01.000 size:1e1%
+{}
+
+00:00:00.000 --> 00:00:01.000 size:1E1%
+{}
+
+00:00:00.000 --> 00:00:01.000 size:50.5%
+{"size":50.5}
+
00:00:00.000 --> 00:00:01.000 size:50% size:101%
{"size":50}

Powered by Google App Engine
This is Rietveld 408576698