Skip to content

Instantly share code, notes, and snippets.

@JohnRiv
Last active August 10, 2022 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnRiv/9c1f613bf6d069520dc4a8ec2c4b29f9 to your computer and use it in GitHub Desktop.
Save JohnRiv/9c1f613bf6d069520dc4a8ec2c4b29f9 to your computer and use it in GitHub Desktop.
WMAS 2022 Research log

w3c/webmediaapi#297 (comment)

Research results:

CURRENTLY A WORK IN PROGRESS

CSS Snapshot 2021

CSS Snapshot 2021 includes CSS Counter Styles Level 3, which is not supported by Safari according to caniuse.com, so we cannot require CSS Snapshot 2021 in WMAS2022.

CSS Snapshot 2020

CSS Snapshot 2020 also references CSS Counter Styles Level 3, so we cannot require CSS Snapshot 2020 either in WMAS2022.

Individual changes in CSS Snapshot 2021

Individual changes in CSS Snapshot 2021 are potentially worth updating in WMAS2022:

Official Definition

Fairly Stable Modules with limited implementation experience

Modules with Rough Interoperability

Current state of CSS exceptions from WMAS2021

Additional CSS Comments

  • TBD

State of ECMAScript exceptions called out in WMAS2021:

  • SharedArrayBuffer is not yet widely supported in an effort to mitigate the Spectre attack.
  • Atomics are not yet widely supported.
  • look-behind assertions are not yet widely supported.
  • The Function.prototype.toString revisions from ECMAScript 2019 are not yet widely supported.
  • BigInt is not yet widely supported.
    • Safari now supports BigInt, but it does not support BigInt64Array, BigUint64Array, DataView.prototype.getBigInt64, and DataView.prototype.getBigUint64

Based on the same dates we've done in the past, the set for WMAS2022 would be:

Page Visibility is now in HTML: w3c/page-visibility#74

The HTML updates include the addition of CSS module scripts, which Chrome supports, but Firefox and Safari do not yet.

The HTML updates include the addition of HTMLScriptElement.supports(), which is not yet in a GA Safari release.

Notifications API: New High Resolution Time reference: HR-TIME-3 instead of HR-TIME-1 https://github.com/whatwg/notifications/commit/e0cadb2d4ababe1c8dc37623e182e989c0206a42


There have been some interesting developments in the HTML spec this year that are worth noting. We typically reference the January Review Draft for HTML

In January of 2022, the W3C issued a CFC for the January 2021 HTML Review Draft (that WMAS2021 references) as a W3C Candidate Recommendation, and that was rejected (see w3c htmlwg # 22). The reasoning was around the outline algorithm not reflecting reality (which has been the case for years), and this was just resolved last month via whatwg html #7829.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment