From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- dom/media/webvtt/test/reftest/black.mp4 | Bin 0 -> 15036 bytes .../test/reftest/cues_time_overlapping.webvtt | 7 ++++ dom/media/webvtt/test/reftest/reftest.list | 3 ++ .../test/reftest/vtt_overlapping_time-ref.html | 29 ++++++++++++++++ .../webvtt/test/reftest/vtt_overlapping_time.html | 30 +++++++++++++++++ .../test/reftest/vtt_reflow_display-ref.html | 28 ++++++++++++++++ .../webvtt/test/reftest/vtt_reflow_display.css | 33 ++++++++++++++++++ .../webvtt/test/reftest/vtt_reflow_display.html | 37 +++++++++++++++++++++ .../vtt_update_display_after_removed_cue.html | 36 ++++++++++++++++++++ .../vtt_update_display_after_removed_cue_ref.html | 6 ++++ dom/media/webvtt/test/reftest/white.webm | Bin 0 -> 10880 bytes 11 files changed, 209 insertions(+) create mode 100644 dom/media/webvtt/test/reftest/black.mp4 create mode 100644 dom/media/webvtt/test/reftest/cues_time_overlapping.webvtt create mode 100644 dom/media/webvtt/test/reftest/reftest.list create mode 100644 dom/media/webvtt/test/reftest/vtt_overlapping_time-ref.html create mode 100644 dom/media/webvtt/test/reftest/vtt_overlapping_time.html create mode 100644 dom/media/webvtt/test/reftest/vtt_reflow_display-ref.html create mode 100644 dom/media/webvtt/test/reftest/vtt_reflow_display.css create mode 100644 dom/media/webvtt/test/reftest/vtt_reflow_display.html create mode 100644 dom/media/webvtt/test/reftest/vtt_update_display_after_removed_cue.html create mode 100644 dom/media/webvtt/test/reftest/vtt_update_display_after_removed_cue_ref.html create mode 100644 dom/media/webvtt/test/reftest/white.webm (limited to 'dom/media/webvtt/test/reftest') diff --git a/dom/media/webvtt/test/reftest/black.mp4 b/dom/media/webvtt/test/reftest/black.mp4 new file mode 100644 index 0000000000..24eb3be139 Binary files /dev/null and b/dom/media/webvtt/test/reftest/black.mp4 differ diff --git a/dom/media/webvtt/test/reftest/cues_time_overlapping.webvtt b/dom/media/webvtt/test/reftest/cues_time_overlapping.webvtt new file mode 100644 index 0000000000..8ed899a9d8 --- /dev/null +++ b/dom/media/webvtt/test/reftest/cues_time_overlapping.webvtt @@ -0,0 +1,7 @@ +WEBVTT FILE + +00:00:00.000 --> 00:00:01.000 +First cue + +00:00:00.000 --> 00:00:04.000 +Second cue diff --git a/dom/media/webvtt/test/reftest/reftest.list b/dom/media/webvtt/test/reftest/reftest.list new file mode 100644 index 0000000000..8311bac10f --- /dev/null +++ b/dom/media/webvtt/test/reftest/reftest.list @@ -0,0 +1,3 @@ +skip-if(Android) fuzzy-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu)&&/^aarch64-msvc/.test(xulRuntime.XPCOMABI),0-136,0-427680) == vtt_update_display_after_removed_cue.html vtt_update_display_after_removed_cue_ref.html +skip-if(Android) fuzzy-if(winWidget,0-170,0-170) == vtt_overlapping_time.html vtt_overlapping_time-ref.html +skip-if(Android) != vtt_reflow_display.html vtt_reflow_display-ref.html diff --git a/dom/media/webvtt/test/reftest/vtt_overlapping_time-ref.html b/dom/media/webvtt/test/reftest/vtt_overlapping_time-ref.html new file mode 100644 index 0000000000..a44e24678b --- /dev/null +++ b/dom/media/webvtt/test/reftest/vtt_overlapping_time-ref.html @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/dom/media/webvtt/test/reftest/vtt_overlapping_time.html b/dom/media/webvtt/test/reftest/vtt_overlapping_time.html new file mode 100644 index 0000000000..f973b398d5 --- /dev/null +++ b/dom/media/webvtt/test/reftest/vtt_overlapping_time.html @@ -0,0 +1,30 @@ + + + + + + + + + diff --git a/dom/media/webvtt/test/reftest/vtt_reflow_display-ref.html b/dom/media/webvtt/test/reftest/vtt_reflow_display-ref.html new file mode 100644 index 0000000000..19f3208e6b --- /dev/null +++ b/dom/media/webvtt/test/reftest/vtt_reflow_display-ref.html @@ -0,0 +1,28 @@ + + + + +
+
+ +
+
+ + + diff --git a/dom/media/webvtt/test/reftest/vtt_reflow_display.css b/dom/media/webvtt/test/reftest/vtt_reflow_display.css new file mode 100644 index 0000000000..4b66a07bd4 --- /dev/null +++ b/dom/media/webvtt/test/reftest/vtt_reflow_display.css @@ -0,0 +1,33 @@ +body { + display: flex; + flex-direction: column; + align-items: center; + max-height: 100%; + width: 100vw; + height: 100vh; +} +.video-player { + display: flex; + max-height: calc(100% - 400px); + flex: 1 1 0; + flex-direction: column; + position: relative; + max-width: 100%; + height: 0; +} +.video-layer { + position: relative; + display: flex; + flex-direction: column; + width: 100%; + height: 100%; + flex: 1 1 0; +} +video { + object-fit: contain; + display: flex; + flex: auto; + max-width: 100%; + min-height: 0; + min-width: 0; +} diff --git a/dom/media/webvtt/test/reftest/vtt_reflow_display.html b/dom/media/webvtt/test/reftest/vtt_reflow_display.html new file mode 100644 index 0000000000..e7ec496bc1 --- /dev/null +++ b/dom/media/webvtt/test/reftest/vtt_reflow_display.html @@ -0,0 +1,37 @@ + + + + + + +
+
+ +
+
+ + + diff --git a/dom/media/webvtt/test/reftest/vtt_update_display_after_removed_cue.html b/dom/media/webvtt/test/reftest/vtt_update_display_after_removed_cue.html new file mode 100644 index 0000000000..4cd5d5bbd2 --- /dev/null +++ b/dom/media/webvtt/test/reftest/vtt_update_display_after_removed_cue.html @@ -0,0 +1,36 @@ + + + + + + + + + diff --git a/dom/media/webvtt/test/reftest/vtt_update_display_after_removed_cue_ref.html b/dom/media/webvtt/test/reftest/vtt_update_display_after_removed_cue_ref.html new file mode 100644 index 0000000000..0b1afdc568 --- /dev/null +++ b/dom/media/webvtt/test/reftest/vtt_update_display_after_removed_cue_ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/dom/media/webvtt/test/reftest/white.webm b/dom/media/webvtt/test/reftest/white.webm new file mode 100644 index 0000000000..bbacad7ffd Binary files /dev/null and b/dom/media/webvtt/test/reftest/white.webm differ -- cgit v1.2.3