From aa25fb6452a0449f31b8432f57343ba5db8a44d3 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Fri, 22 Nov 2024 11:54:32 +0100 Subject: [PATCH 1/3] Use compute_from in WebVTT --- features/webvtt.yml | 13 +++---------- features/webvtt.yml.dist | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/features/webvtt.yml b/features/webvtt.yml index f608a8f398a..cb09c09ffa2 100644 --- a/features/webvtt.yml +++ b/features/webvtt.yml @@ -7,17 +7,10 @@ caniuse: webvtt # be used to compute the status. It matches https://caniuse.com/webvtt other # than the Safari iOS version. TODO: Research whether WebVTT was shipped in # iOS 6, 7, or 8, and align all sources on the right answer. +status: + compute_from: api.VTTCue compat_features: - api.VTTCue - api.VTTCue.getCueAsHTML - api.VTTCue.text - # The VTTCue constructor came a bit later as it was originally the - # TextTrackCue constructor. - # - api.VTTCue.VTTCue - # Cue settings should be a separate feature - # - api.VTTCue.align - # - api.VTTCue.line - # - api.VTTCue.position - # - api.VTTCue.size - # - api.VTTCue.snapToLines - # - api.VTTCue.vertical + - api.VTTCue.VTTCue diff --git a/features/webvtt.yml.dist b/features/webvtt.yml.dist index 18ae0e85b97..66978acd59e 100644 --- a/features/webvtt.yml.dist +++ b/features/webvtt.yml.dist @@ -14,6 +14,31 @@ status: safari: "6" safari_ios: "8" compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "23" + # chrome_android: "25" + # edge: "12" + # firefox: "31" + # firefox_android: "31" + # safari: "6" + # safari_ios: "8" - api.VTTCue - api.VTTCue.getCueAsHTML - api.VTTCue.text + + # baseline: high + # baseline_low_date: 2020-01-15 + # baseline_high_date: 2022-07-15 + # support: + # chrome: "33" + # chrome_android: "33" + # edge: "79" + # firefox: "31" + # firefox_android: "31" + # safari: "8" + # safari_ios: "8" + - api.VTTCue.VTTCue From 635632dfda578a5db440d69ccb1354b0503ba674 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Tue, 26 Nov 2024 11:30:56 +0100 Subject: [PATCH 2/3] Update features/webvtt.yml Co-authored-by: James Stuckey Weber --- features/webvtt.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/features/webvtt.yml b/features/webvtt.yml index cb09c09ffa2..1f38a4e981a 100644 --- a/features/webvtt.yml +++ b/features/webvtt.yml @@ -13,4 +13,5 @@ compat_features: - api.VTTCue - api.VTTCue.getCueAsHTML - api.VTTCue.text + - api.VTTCue.text.all_html_character_references - api.VTTCue.VTTCue From 5a21b1e66918957961be398694897215ac3ac77c Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Tue, 26 Nov 2024 11:31:59 +0100 Subject: [PATCH 3/3] rerun dist --- features/webvtt.yml.dist | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/features/webvtt.yml.dist b/features/webvtt.yml.dist index 66978acd59e..738ed8f50d5 100644 --- a/features/webvtt.yml.dist +++ b/features/webvtt.yml.dist @@ -42,3 +42,15 @@ compat_features: # safari: "8" # safari_ios: "8" - api.VTTCue.VTTCue + + # baseline: low + # baseline_low_date: 2024-06-11 + # support: + # chrome: ≤80 + # chrome_android: "80" + # edge: "80" + # firefox: "127" + # firefox_android: "127" + # safari: "17.5" + # safari_ios: "17.5" + - api.VTTCue.text.all_html_character_references