w3c / webmediaapi

Web Media API specification
https://w3c.github.io/webmediaapi/
31 stars 19 forks source link

CSS Updates for 2023 #312

Closed JohnRiv closed 1 year ago

JohnRiv commented 1 year ago

We currently reference CSS Snapshot 2018. CSS Snapshot 2020 was published after that. CSS Snapshot 2021 is the most current available CSS snapshot, and there also is a draft of CSS Snapshot 2022

We should review to see if it makes sense to update WMAS2023 to a more recent CSS Snapshot, and if any of the individual CSS specifications from CSS Snapshot 2022 that have full browser support now need to be added to WMAS2023 as well.

Similar to how we have done in years past (2022, 2021, 2020, 2019), this issue will track that research.

JohnRiv commented 1 year ago

Research results:

CSS Snapshot 2022

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

CSS Snapshot 2021

CSS Snapshot 2021 also references CSS Counter Styles Level 3

CSS Snapshot 2020

CSS Snapshot 2020 also references CSS Counter Styles Level 3

Individual changes in CSS Snapshot 2022

Individual changes in CSS Snapshot 2022 are potentially worth updating in WMAS2023:

Official Definition

Fairly Stable Modules with limited implementation experience

Modules with Rough Interoperability

JohnRiv commented 1 year ago

I also realize that CSS Snapshot 2018 references CSS Color Level 3, while we're ready to include CSS Color Level 4, so the wording for the first line of our CSS Specifications description should probably change from

Devices MUST be conforming implementations of the following specifications (CSS Snapshot 2018 [CSS-2018]):

to something along the lines of

Devices MUST be conforming implementations of the following specifications, which are derived from the official Cascading Style Sheets definition from CSS Snapshot 2018 [CSS-2018] as well as more recent revisions to CSS specifications as appropriate:

JohnRiv commented 1 year ago

Closed via #323