Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more HTML spec keys #2405

Merged
merged 22 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions features/beforeunload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ spec: https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-beforeunl
# The commented out keys below are deprecated.
compat_features:
- api.BeforeUnloadEvent
- api.BeforeUnloadEvent.user_interaction
- api.Window.beforeunload_event
#- api.Window.beforeunload_event.event_returnvalue_activation
#- api.Window.beforeunload_event.generic_string_displayed
Expand Down
18 changes: 15 additions & 3 deletions features/beforeunload.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ status:
chrome: "119"
chrome_android: "119"
edge: "119"
firefox: "6"
firefox_android: "6"
firefox: "44"
firefox_android: "44"
safari: "11"
compat_features:
# baseline: high
Expand Down Expand Up @@ -37,7 +37,19 @@ compat_features:
# safari_ios: "7"
- api.BeforeUnloadEvent

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "60"
# chrome_android: "60"
# edge: "79"
# firefox: "44"
# firefox_android: "44"
# safari: "11"
# safari_ios: "11"
- api.BeforeUnloadEvent.user_interaction

# baseline: false
# support:
# chrome: "119"
Expand Down
2 changes: 2 additions & 0 deletions features/bfcache-blocking-reasons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ group: performance
compat_features:
- api.PerformanceNavigationTiming.notRestoredReasons
- api.NotRestoredReasonDetails
- api.NotRestoredReasonDetails.toJSON
- api.NotRestoredReasonDetails.reason
- api.NotRestoredReasons
- api.NotRestoredReasons.children
- api.NotRestoredReasons.id
- api.NotRestoredReasons.name
- api.NotRestoredReasons.reasons
- api.NotRestoredReasons.src
- api.NotRestoredReasons.toJSON
- api.NotRestoredReasons.url
2 changes: 2 additions & 0 deletions features/bfcache-blocking-reasons.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ status:
compat_features:
- api.NotRestoredReasonDetails
- api.NotRestoredReasonDetails.reason
- api.NotRestoredReasonDetails.toJSON
- api.NotRestoredReasons
- api.NotRestoredReasons.children
- api.NotRestoredReasons.id
- api.NotRestoredReasons.name
- api.NotRestoredReasons.reasons
- api.NotRestoredReasons.src
- api.NotRestoredReasons.toJSON
- api.NotRestoredReasons.url
- api.PerformanceNavigationTiming.notRestoredReasons
21 changes: 21 additions & 0 deletions features/canvas-2d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,29 @@ compat_features:
- api.ImageData.data
- api.ImageData.height
- api.ImageData.width
- api.Path2D
- api.Path2D.Path2D
- api.Path2D.addPath
- api.Path2D.arc
- api.Path2D.arcTo
- api.Path2D.bezierCurveTo
- api.Path2D.closePath
- api.Path2D.ellipse
- api.Path2D.lineTo
- api.Path2D.moveTo
- api.Path2D.quadraticCurveTo
- api.Path2D.rect
- api.Path2D.roundRect
- api.TextMetrics
- api.TextMetrics.actualBoundingBoxAscent
- api.TextMetrics.actualBoundingBoxDescent
- api.TextMetrics.actualBoundingBoxLeft
- api.TextMetrics.actualBoundingBoxRight
- api.TextMetrics.alphabeticBaseline
- api.TextMetrics.emHeightAscent
- api.TextMetrics.emHeightDescent
- api.TextMetrics.fontBoundingBoxAscent
- api.TextMetrics.fontBoundingBoxDescent
- api.TextMetrics.hangingBaseline
- api.TextMetrics.ideographicBaseline
- api.TextMetrics.width
98 changes: 98 additions & 0 deletions features/canvas-2d.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,41 @@ compat_features:
- api.CanvasRenderingContext2D.isPointInPath.path_parameter
- api.CanvasRenderingContext2D.stroke.path_parameter

# baseline: high
# baseline_low_date: 2016-08-02
# baseline_high_date: 2019-02-02
# support:
# chrome: "36"
# chrome_android: "36"
# edge: "14"
# firefox: "31"
# firefox_android: "31"
# safari: "8"
# safari_ios: "8"
- api.Path2D
- api.Path2D.Path2D
- api.Path2D.arc
- api.Path2D.arcTo
- api.Path2D.bezierCurveTo
- api.Path2D.closePath
- api.Path2D.lineTo
- api.Path2D.moveTo
- api.Path2D.quadraticCurveTo
- api.Path2D.rect

# baseline: high
# baseline_low_date: 2016-08-02
# baseline_high_date: 2019-02-02
# support:
# chrome: "36"
# chrome_android: "36"
# edge: "14"
# firefox: "48"
# firefox_android: "48"
# safari: "9"
# safari_ios: "9"
- api.Path2D.ellipse

# baseline: high
# baseline_low_date: 2016-08-02
# baseline_high_date: 2019-02-02
Expand Down Expand Up @@ -317,6 +352,19 @@ compat_features:
# safari_ios: "11.3"
- api.CanvasPattern.setTransform

# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "68"
# chrome_android: "68"
# edge: "79"
# firefox: "34"
# firefox_android: "34"
# safari: "9"
# safari_ios: "9"
- api.Path2D.addPath

# baseline: high
# baseline_low_date: 2020-07-28
# baseline_high_date: 2023-01-28
Expand Down Expand Up @@ -344,6 +392,22 @@ compat_features:
# safari_ios: "11.3"
- api.CanvasPattern.setTransform.dommatrix

# baseline: high
# baseline_low_date: 2020-07-28
# baseline_high_date: 2023-01-28
# support:
# chrome: "77"
# chrome_android: "77"
# edge: "79"
# firefox: "74"
# firefox_android: "79"
# safari: "11.1"
# safari_ios: "11.3"
- api.TextMetrics.actualBoundingBoxAscent
- api.TextMetrics.actualBoundingBoxDescent
- api.TextMetrics.actualBoundingBoxLeft
- api.TextMetrics.actualBoundingBoxRight

# baseline: high
# baseline_low_date: 2021-09-20
# baseline_high_date: 2024-03-20
Expand All @@ -370,6 +434,31 @@ compat_features:
# safari_ios: "9"
- api.CanvasRenderingContext2D.direction

# baseline: low
# baseline_low_date: 2023-04-11
# support:
# chrome: "99"
# chrome_android: "99"
# edge: "99"
# firefox: "112"
# firefox_android: "112"
# safari: "16"
# safari_ios: "16"
- api.Path2D.roundRect

# baseline: low
# baseline_low_date: 2023-08-01
# support:
# chrome: "87"
# chrome_android: "87"
# edge: "87"
# firefox: "116"
# firefox_android: "116"
# safari: "11.1"
# safari_ios: "11.3"
- api.TextMetrics.fontBoundingBoxAscent
- api.TextMetrics.fontBoundingBoxDescent

# baseline: low
# baseline_low_date: 2023-08-29
# support:
Expand Down Expand Up @@ -469,3 +558,12 @@ compat_features:
# firefox_android: "117"
- api.CanvasRenderingContext2D.fontStretch
- api.CanvasRenderingContext2D.fontVariantCaps

# baseline: false
# support:
# firefox: "118"
# firefox_android: "118"
# safari: "11.1"
# safari_ios: "11.3"
- api.TextMetrics.emHeightAscent
- api.TextMetrics.emHeightDescent
1 change: 1 addition & 0 deletions features/channel-messaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ compat_features:
- api.MessagePort.message_event
- api.MessagePort.postMessage
- api.MessagePort.start
- api.MessagePort.worker_support
16 changes: 15 additions & 1 deletion features/channel-messaging.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ status:
firefox: "41"
firefox_android: "41"
safari: "5"
safari_ios: "4.2"
safari_ios: "5"
autonome marked this conversation as resolved.
Show resolved Hide resolved
compat_features:
# baseline: high
# baseline_low_date: 2015-07-29
Expand Down Expand Up @@ -47,3 +47,17 @@ compat_features:
- api.MessagePort.message_event
- api.MessagePort.postMessage
- api.MessagePort.start

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2015-09-22
# baseline_high_date: 2018-03-22
# support:
# chrome: "4"
# chrome_android: "18"
# edge: "12"
# firefox: "41"
# firefox_android: "41"
# safari: "5"
# safari_ios: "5"
- api.MessagePort.worker_support
7 changes: 7 additions & 0 deletions features/dom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ compat_features:
- api.Document.createTreeWalker.whatToShow_filter_parameters_optional
- api.Document.currentScript
- api.Document.defaultView
- api.Document.designMode
autonome marked this conversation as resolved.
Show resolved Hide resolved
- api.Document.dir
- api.Document.doctype
- api.Document.documentElement
Expand Down Expand Up @@ -122,7 +123,10 @@ compat_features:
- api.Document.referrer
- api.Document.replaceChildren
- api.Document.scripts
- api.Document.scroll_event
- api.Document.title
- api.Document.write
autonome marked this conversation as resolved.
Show resolved Hide resolved
- api.Document.writeln
- api.DocumentFragment
- api.DocumentFragment.DocumentFragment
- api.DocumentFragment.append
Expand All @@ -148,6 +152,7 @@ compat_features:
- api.Element.append
- api.Element.attributes
- api.Element.before
- api.Element.beforematch_event
autonome marked this conversation as resolved.
Show resolved Hide resolved
- api.Element.childElementCount
- api.Element.children
- api.Element.classList
Expand All @@ -164,6 +169,7 @@ compat_features:
- api.Element.getElementsByTagName.all_elements_selector
- api.Element.getElementsByTagNameNS
- api.Element.getElementsByTagNameNS.all_elements_selector
- api.Element.getHTML
autonome marked this conversation as resolved.
Show resolved Hide resolved
- api.Element.hasAttribute
- api.Element.hasAttributeNS
- api.Element.hasAttributes
Expand All @@ -189,6 +195,7 @@ compat_features:
- api.Element.removeAttributeNode
- api.Element.replaceChildren
- api.Element.replaceWith
- api.Element.scroll_event
- api.Element.setAttribute
- api.Element.setAttributeNS
- api.Element.setAttributeNode
Expand Down
48 changes: 48 additions & 0 deletions features/dom.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ compat_features:
- api.Document.links
- api.Document.referrer
- api.Document.title
- api.Document.write
- api.Element
- api.Element.attributes
- api.Element.getAttribute
Expand Down Expand Up @@ -152,6 +153,7 @@ compat_features:
# firefox_android: "4"
# safari: "1.2"
# safari_ios: "1"
- api.Document.designMode
- api.Node.childNodes

# baseline: high
Expand Down Expand Up @@ -360,6 +362,32 @@ compat_features:
- api.TreeWalker.root
- api.TreeWalker.whatToShow

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "6"
# firefox_android: "6"
# safari: "1.3"
# safari_ios: "1"
- api.Element.scroll_event

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "6"
# firefox_android: "6"
# safari: "2"
# safari_ios: "1"
- api.Document.scroll_event

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
Expand Down Expand Up @@ -863,6 +891,7 @@ compat_features:
# safari_ios: "11"
- api.Document.close
- api.Document.open
- api.Document.writeln

# baseline: high
# baseline_low_date: 2018-04-30
Expand Down Expand Up @@ -1187,6 +1216,18 @@ compat_features:
# safari_ios: "1"
- api.HTMLElement.outerText

# baseline: low
# baseline_low_date: 2024-09-16
# support:
# chrome: "125"
# chrome_android: "125"
# edge: "125"
# firefox: "128"
# firefox_android: "128"
# safari: "18"
# safari_ios: "18"
- api.Element.getHTML

# baseline: false
# support:
# chrome: "56"
Expand All @@ -1196,3 +1237,10 @@ compat_features:
# firefox_android: "50"
- api.Document.createElement.options_parameter
- api.Document.createElementNS.options_parameter

# baseline: false
# support:
# chrome: "102"
# chrome_android: "102"
# edge: "102"
- api.Element.beforematch_event
3 changes: 3 additions & 0 deletions features/form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ compat_features:
- html.elements.form.novalidate
- html.elements.form.rel
- html.elements.form.target
- api.SubmitEvent
- api.SubmitEvent.SubmitEvent
- api.SubmitEvent.submitter
Loading
Loading