From 513aac5506e6013f2d7f96ae547a949a2f0de3f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Wed, 30 Apr 2025 16:37:08 +0200 Subject: [PATCH] Fix execCommand() browser support (still not Baseline) execCommand() is supported everywhere, it's just discouraged. --- features/execcommand.yml | 2 ++ features/execcommand.yml.dist | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/features/execcommand.yml b/features/execcommand.yml index 61adbac943d..f84249f44ae 100644 --- a/features/execcommand.yml +++ b/features/execcommand.yml @@ -8,6 +8,8 @@ discouraged: alternatives: - async-clipboard - contenteditable +status: + compute_from: api.Document.execCommand compat_features: - api.Document.execCommand - api.Document.execCommand.copy diff --git a/features/execcommand.yml.dist b/features/execcommand.yml.dist index 043c584ab10..24ed59883d8 100644 --- a/features/execcommand.yml.dist +++ b/features/execcommand.yml.dist @@ -4,9 +4,15 @@ status: baseline: false support: + chrome: "1" + chrome_android: "18" + edge: "12" firefox: "69" firefox_android: "79" + safari: "1.3" + safari_ios: "1" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "1" @@ -45,7 +51,6 @@ compat_features: - api.Document.execCommand.copy - api.Document.execCommand.cut - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # firefox: "69"