Skip to content

Commit d2e4740

Browse files
Pin paint timing and add missing keys (#3398)
* Pin paint timing and add missing keys * leave painttime and presentationtime out of this PR * formatting
1 parent aa09254 commit d2e4740

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

features/paint-timing.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@ name: Paint timing
22
description: The `paint` performance entry and the `PerformancePaintTiming` API measures the duration of "paint" (also called "render") operations as a page loads. The API measures the time to First Paint (FP) and First Contentful Paint (FCP), common metrics for perceived loading times.
33
spec: https://w3c.github.io/paint-timing/
44
group: performance
5+
status:
6+
compute_from:
7+
# This is what developers want out of this API, and these are implemented in all browsers.
8+
- api.PerformancePaintTiming
9+
- api.PerformancePaintTiming.first-contentful-paint
510
compat_features:
611
- api.PerformancePaintTiming
712
- api.PerformancePaintTiming.first-contentful-paint
13+
- api.PerformancePaintTiming.toJSON
14+
# first-paint isn't part of compute_from because it's optional for user agents to report it.
815
- api.PerformancePaintTiming.first-paint

features/paint-timing.yml.dist

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33

44
status:
55
baseline: false
6-
support: {}
6+
support:
7+
firefox: "84"
8+
firefox_android: "84"
9+
safari: "14.1"
10+
safari_ios: "14.5"
711
compat_features:
812
# baseline: high
913
# baseline_low_date: 2021-04-26
@@ -17,7 +21,9 @@ compat_features:
1721
# safari: "14.1"
1822
# safari_ios: "14.5"
1923
- api.PerformancePaintTiming
24+
- api.PerformancePaintTiming.toJSON
2025

26+
# ⬇️ Same status as overall feature ⬇️
2127
# baseline: false
2228
# support:
2329
# firefox: "84"
@@ -26,7 +32,6 @@ compat_features:
2632
# safari_ios: "14.5"
2733
- api.PerformancePaintTiming.first-contentful-paint
2834

29-
# ⬇️ Same status as overall feature ⬇️
3035
# baseline: false
3136
# support: {}
3237
- api.PerformancePaintTiming.first-paint

0 commit comments

Comments
 (0)