Skip to content

Commit 9d1b04d

Browse files
autonomeddbeck
andauthored
Add more HTML spec keys (#2405)
Co-authored-by: Daniel D. Beck <[email protected]>
1 parent e612546 commit 9d1b04d

26 files changed

+440
-21
lines changed

features/beforeunload.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: Beforeunload
22
description: "The `beforeunload` event is fired when the current window is about to be unloaded. Typically this is used to display a dialog to confirm if users really want to leave the page when there is unsaved data that would be lost."
33
spec: https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-beforeunloadevent-interface
4+
status:
5+
compute_from: api.Window.beforeunload_event
46
# The commented out keys below are deprecated.
57
compat_features:
68
- api.BeforeUnloadEvent
9+
- api.BeforeUnloadEvent.user_interaction
710
- api.Window.beforeunload_event
811
#- api.Window.beforeunload_event.event_returnvalue_activation
912
#- api.Window.beforeunload_event.generic_string_displayed

features/beforeunload.yml.dist

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@
22
# Do not edit this file by hand. Edit the source file instead!
33

44
status:
5-
baseline: false
5+
baseline: high
6+
baseline_low_date: 2015-07-29
7+
baseline_high_date: 2018-01-29
68
support:
7-
chrome: "119"
8-
chrome_android: "119"
9-
edge: "119"
10-
firefox: "6"
11-
firefox_android: "6"
12-
safari: "11"
9+
chrome: "1"
10+
chrome_android: "18"
11+
edge: "12"
12+
firefox: "1"
13+
firefox_android: "4"
14+
safari: "3"
15+
safari_ios: "1"
1316
compat_features:
17+
# ⬇️ Same status as overall feature ⬇️
1418
# baseline: high
1519
# baseline_low_date: 2015-07-29
1620
# baseline_high_date: 2018-01-29
@@ -37,7 +41,19 @@ compat_features:
3741
# safari_ios: "7"
3842
- api.BeforeUnloadEvent
3943

40-
# ⬇️ Same status as overall feature ⬇️
44+
# baseline: high
45+
# baseline_low_date: 2020-01-15
46+
# baseline_high_date: 2022-07-15
47+
# support:
48+
# chrome: "60"
49+
# chrome_android: "60"
50+
# edge: "79"
51+
# firefox: "44"
52+
# firefox_android: "44"
53+
# safari: "11"
54+
# safari_ios: "11"
55+
- api.BeforeUnloadEvent.user_interaction
56+
4157
# baseline: false
4258
# support:
4359
# chrome: "119"

features/bfcache-blocking-reasons.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ group: performance
55
compat_features:
66
- api.PerformanceNavigationTiming.notRestoredReasons
77
- api.NotRestoredReasonDetails
8+
- api.NotRestoredReasonDetails.toJSON
89
- api.NotRestoredReasonDetails.reason
910
- api.NotRestoredReasons
1011
- api.NotRestoredReasons.children
1112
- api.NotRestoredReasons.id
1213
- api.NotRestoredReasons.name
1314
- api.NotRestoredReasons.reasons
1415
- api.NotRestoredReasons.src
16+
- api.NotRestoredReasons.toJSON
1517
- api.NotRestoredReasons.url

features/bfcache-blocking-reasons.yml.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ status:
1010
compat_features:
1111
- api.NotRestoredReasonDetails
1212
- api.NotRestoredReasonDetails.reason
13+
- api.NotRestoredReasonDetails.toJSON
1314
- api.NotRestoredReasons
1415
- api.NotRestoredReasons.children
1516
- api.NotRestoredReasons.id
1617
- api.NotRestoredReasons.name
1718
- api.NotRestoredReasons.reasons
1819
- api.NotRestoredReasons.src
20+
- api.NotRestoredReasons.toJSON
1921
- api.NotRestoredReasons.url
2022
- api.PerformanceNavigationTiming.notRestoredReasons

features/canvas-2d.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,29 @@ compat_features:
9393
- api.ImageData.data
9494
- api.ImageData.height
9595
- api.ImageData.width
96+
- api.Path2D
97+
- api.Path2D.Path2D
98+
- api.Path2D.addPath
99+
- api.Path2D.arc
100+
- api.Path2D.arcTo
101+
- api.Path2D.bezierCurveTo
102+
- api.Path2D.closePath
103+
- api.Path2D.ellipse
104+
- api.Path2D.lineTo
105+
- api.Path2D.moveTo
106+
- api.Path2D.quadraticCurveTo
107+
- api.Path2D.rect
108+
- api.Path2D.roundRect
96109
- api.TextMetrics
110+
- api.TextMetrics.actualBoundingBoxAscent
111+
- api.TextMetrics.actualBoundingBoxDescent
112+
- api.TextMetrics.actualBoundingBoxLeft
113+
- api.TextMetrics.actualBoundingBoxRight
97114
- api.TextMetrics.alphabeticBaseline
115+
- api.TextMetrics.emHeightAscent
116+
- api.TextMetrics.emHeightDescent
117+
- api.TextMetrics.fontBoundingBoxAscent
118+
- api.TextMetrics.fontBoundingBoxDescent
98119
- api.TextMetrics.hangingBaseline
99120
- api.TextMetrics.ideographicBaseline
100121
- api.TextMetrics.width

features/canvas-2d.yml.dist

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,41 @@ compat_features:
239239
- api.CanvasRenderingContext2D.isPointInPath.path_parameter
240240
- api.CanvasRenderingContext2D.stroke.path_parameter
241241

242+
# baseline: high
243+
# baseline_low_date: 2016-08-02
244+
# baseline_high_date: 2019-02-02
245+
# support:
246+
# chrome: "36"
247+
# chrome_android: "36"
248+
# edge: "14"
249+
# firefox: "31"
250+
# firefox_android: "31"
251+
# safari: "8"
252+
# safari_ios: "8"
253+
- api.Path2D
254+
- api.Path2D.Path2D
255+
- api.Path2D.arc
256+
- api.Path2D.arcTo
257+
- api.Path2D.bezierCurveTo
258+
- api.Path2D.closePath
259+
- api.Path2D.lineTo
260+
- api.Path2D.moveTo
261+
- api.Path2D.quadraticCurveTo
262+
- api.Path2D.rect
263+
264+
# baseline: high
265+
# baseline_low_date: 2016-08-02
266+
# baseline_high_date: 2019-02-02
267+
# support:
268+
# chrome: "36"
269+
# chrome_android: "36"
270+
# edge: "14"
271+
# firefox: "48"
272+
# firefox_android: "48"
273+
# safari: "9"
274+
# safari_ios: "9"
275+
- api.Path2D.ellipse
276+
242277
# baseline: high
243278
# baseline_low_date: 2016-08-02
244279
# baseline_high_date: 2019-02-02
@@ -317,6 +352,19 @@ compat_features:
317352
# safari_ios: "11.3"
318353
- api.CanvasPattern.setTransform
319354

355+
# baseline: high
356+
# baseline_low_date: 2020-01-15
357+
# baseline_high_date: 2022-07-15
358+
# support:
359+
# chrome: "68"
360+
# chrome_android: "68"
361+
# edge: "79"
362+
# firefox: "34"
363+
# firefox_android: "34"
364+
# safari: "9"
365+
# safari_ios: "9"
366+
- api.Path2D.addPath
367+
320368
# baseline: high
321369
# baseline_low_date: 2020-07-28
322370
# baseline_high_date: 2023-01-28
@@ -344,6 +392,22 @@ compat_features:
344392
# safari_ios: "11.3"
345393
- api.CanvasPattern.setTransform.dommatrix
346394

395+
# baseline: high
396+
# baseline_low_date: 2020-07-28
397+
# baseline_high_date: 2023-01-28
398+
# support:
399+
# chrome: "77"
400+
# chrome_android: "77"
401+
# edge: "79"
402+
# firefox: "74"
403+
# firefox_android: "79"
404+
# safari: "11.1"
405+
# safari_ios: "11.3"
406+
- api.TextMetrics.actualBoundingBoxAscent
407+
- api.TextMetrics.actualBoundingBoxDescent
408+
- api.TextMetrics.actualBoundingBoxLeft
409+
- api.TextMetrics.actualBoundingBoxRight
410+
347411
# baseline: high
348412
# baseline_low_date: 2021-09-20
349413
# baseline_high_date: 2024-03-20
@@ -370,6 +434,31 @@ compat_features:
370434
# safari_ios: "9"
371435
- api.CanvasRenderingContext2D.direction
372436

437+
# baseline: low
438+
# baseline_low_date: 2023-04-11
439+
# support:
440+
# chrome: "99"
441+
# chrome_android: "99"
442+
# edge: "99"
443+
# firefox: "112"
444+
# firefox_android: "112"
445+
# safari: "16"
446+
# safari_ios: "16"
447+
- api.Path2D.roundRect
448+
449+
# baseline: low
450+
# baseline_low_date: 2023-08-01
451+
# support:
452+
# chrome: "87"
453+
# chrome_android: "87"
454+
# edge: "87"
455+
# firefox: "116"
456+
# firefox_android: "116"
457+
# safari: "11.1"
458+
# safari_ios: "11.3"
459+
- api.TextMetrics.fontBoundingBoxAscent
460+
- api.TextMetrics.fontBoundingBoxDescent
461+
373462
# baseline: low
374463
# baseline_low_date: 2023-08-29
375464
# support:
@@ -469,3 +558,12 @@ compat_features:
469558
# firefox_android: "117"
470559
- api.CanvasRenderingContext2D.fontStretch
471560
- api.CanvasRenderingContext2D.fontVariantCaps
561+
562+
# baseline: false
563+
# support:
564+
# firefox: "118"
565+
# firefox_android: "118"
566+
# safari: "11.1"
567+
# safari_ios: "11.3"
568+
- api.TextMetrics.emHeightAscent
569+
- api.TextMetrics.emHeightDescent

features/channel-messaging.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ compat_features:
1414
- api.MessagePort.message_event
1515
- api.MessagePort.postMessage
1616
- api.MessagePort.start
17+
- api.MessagePort.worker_support

features/channel-messaging.yml.dist

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,17 @@ compat_features:
4747
- api.MessagePort.message_event
4848
- api.MessagePort.postMessage
4949
- api.MessagePort.start
50+
51+
# ⬇️ Same status as overall feature ⬇️
52+
# baseline: high
53+
# baseline_low_date: 2015-09-22
54+
# baseline_high_date: 2018-03-22
55+
# support:
56+
# chrome: "4"
57+
# chrome_android: "18"
58+
# edge: "12"
59+
# firefox: "41"
60+
# firefox_android: "41"
61+
# safari: "5"
62+
# safari_ios: "4.2"
63+
- api.MessagePort.worker_support

features/dom.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ compat_features:
9292
- api.Document.createTreeWalker.whatToShow_filter_parameters_optional
9393
- api.Document.currentScript
9494
- api.Document.defaultView
95+
- api.Document.designMode
9596
- api.Document.dir
9697
- api.Document.doctype
9798
- api.Document.documentElement
@@ -123,6 +124,7 @@ compat_features:
123124
- api.Document.replaceChildren
124125
- api.Document.scripts
125126
- api.Document.title
127+
- api.Document.writeln
126128
- api.DocumentFragment
127129
- api.DocumentFragment.DocumentFragment
128130
- api.DocumentFragment.append

features/dom.yml.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ compat_features:
152152
# firefox_android: "4"
153153
# safari: "1.2"
154154
# safari_ios: "1"
155+
- api.Document.designMode
155156
- api.Node.childNodes
156157

157158
# baseline: high
@@ -886,6 +887,7 @@ compat_features:
886887
# safari_ios: "11"
887888
- api.Document.close
888889
- api.Document.open
890+
- api.Document.writeln
889891

890892
# baseline: high
891893
# baseline_low_date: 2018-04-30

0 commit comments

Comments
 (0)