May 2022 web platform update
Newly available on the web platform
Newly available
-
dynamic-range media query: The
dynamic-range
CSS media query sets styles based on whether a device can display at leaststandard
range colors or at leasthigh
range colors. Non-visual devices will match neither. Learn more. -
prefers-contrast media query: The
prefers-contrast
CSS media query sets styles based on whether the user prefers more or less contrast, the difference between foreground and background colors. Learn more. -
Exception handling (WebAssembly): Exceptions break the normal control flow of execution to represent exceptional behavior, such as an error. You can respond to the exception in JavaScript code. Learn more.