From d01a1353b251654e7d00daa0b85c5097b714d700 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 4 Dec 2024 14:35:51 +0000 Subject: [PATCH 1/3] Add resize observer --- ...ize-observer-1.yml => resize-observer.yml} | 3 ++- ...er-1.yml.dist => resize-observer.yml.dist} | 20 +++++++++++-------- 2 files changed, 14 insertions(+), 9 deletions(-) rename features/{draft/spec/resize-observer-1.yml => resize-observer.yml} (93%) rename features/{draft/spec/resize-observer-1.yml.dist => resize-observer.yml.dist} (86%) diff --git a/features/draft/spec/resize-observer-1.yml b/features/resize-observer.yml similarity index 93% rename from features/draft/spec/resize-observer-1.yml rename to features/resize-observer.yml index 70c129e14dd..f4452b4d274 100644 --- a/features/draft/spec/resize-observer-1.yml +++ b/features/resize-observer.yml @@ -1,7 +1,8 @@ -draft_date: 2024-10-21 name: Resize Observer description: TODO spec: https://drafts.csswg.org/resize-observer-1/ +status: + compute_from: api.ResizeObserver compat_features: - api.ResizeObserver - api.ResizeObserver.ResizeObserver diff --git a/features/draft/spec/resize-observer-1.yml.dist b/features/resize-observer.yml.dist similarity index 86% rename from features/draft/spec/resize-observer-1.yml.dist rename to features/resize-observer.yml.dist index 886a24b3ecb..d28b3706fd5 100644 --- a/features/draft/spec/resize-observer-1.yml.dist +++ b/features/resize-observer.yml.dist @@ -1,15 +1,20 @@ -# Generated from: resize-observer-1.yml +# Generated from: resize-observer.yml # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2020-07-28 + baseline_high_date: 2023-01-28 support: - chrome: "84" - chrome_android: "84" - edge: "84" - firefox: "93" - firefox_android: "93" + chrome: "64" + chrome_android: "64" + edge: "79" + firefox: "69" + firefox_android: "79" + safari: "13.1" + safari_ios: "13.4" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2020-07-28 # baseline_high_date: 2023-01-28 @@ -60,7 +65,6 @@ compat_features: - api.ResizeObserverEntry.borderBoxSize - api.ResizeObserverEntry.contentBoxSize - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "84" From ada1d35fa4925642c472e55dedeae0861b27d751 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 4 Dec 2024 19:24:44 +0000 Subject: [PATCH 2/3] Update desc, caniuse --- features/resize-observer.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/features/resize-observer.yml b/features/resize-observer.yml index f4452b4d274..f6bc800b044 100644 --- a/features/resize-observer.yml +++ b/features/resize-observer.yml @@ -1,6 +1,8 @@ -name: Resize Observer -description: TODO +name: Resize observer +description: The `ResizeObserver` API is for observing and reacting to changes in the size of DOM elements. spec: https://drafts.csswg.org/resize-observer-1/ +caniuse: resizeobserver +# Computed to match Caniuse. status: compute_from: api.ResizeObserver compat_features: From 803ed2337dc0f90080d99b86cc5c94ca5eb2ea31 Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Fri, 6 Dec 2024 23:16:28 +0700 Subject: [PATCH 3/3] Update features/resize-observer.yml Co-authored-by: James Stuckey Weber --- features/resize-observer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/resize-observer.yml b/features/resize-observer.yml index f6bc800b044..f9e7e019ef5 100644 --- a/features/resize-observer.yml +++ b/features/resize-observer.yml @@ -1,5 +1,5 @@ name: Resize observer -description: The `ResizeObserver` API is for observing and reacting to changes in the size of DOM elements. +description: The `ResizeObserver` API observes and reacts to changes in the size of DOM elements. spec: https://drafts.csswg.org/resize-observer-1/ caniuse: resizeobserver # Computed to match Caniuse.