Newly available
Loading…
Newly available
Loading…
Newly available
HTML, CSS, and JS features that became Baseline newly available in February
6 features · 5 years
The getOrInsert() and getOrInsertComputed() methods of Map objects get a value, setting and getting a default value if needed.
The shadowrootmode attribute on <template> creates a shadow root without the use of JavaScript. It is a declarative alternative to the attachShadow() method.
The color-gamut media query sets styles based on the colors a device can display.
Container size queries with the @container (…) at-rule apply styles to an element based on a dimension of its container, such as width or height.
The color-scheme CSS property sets which color schemes (light or dark) an element uses and may prevent automatic dark mode adjustments by the browser.
The border-image CSS property draws an image around an element.