May Baseline digest: container style queries and the :open pseudo-class
The May edition moves container style queries, the :open pseudo-class for dialog and details, ToggleEvent.source, image-rendering, text-decoration-skip-ink: all, and SharedWorker into newly available. The lh and rlh units, Navigator.userActivation, clip-path, and :user-invalid became widely available. Most of it takes work off JavaScript: state that used to be tracked in a script now has a selector of its own, and a component can finally read a custom property from its parent. Check the exact status for your own audience before you ship, because newly available and widely available are not the same thing.
Source
Majski Baseline digest: upiti o stilu kontejnera i pseudoklasa :openweb.dev Blog · Original published May 1, 2026
The monthly Baseline digest is the shortest way to track what has become safe to use. The May edition brings several things that take work off JavaScript directly.
Newly available
- Container style queries let you style based on a custom property of a parent element, which makes components genuinely self-contained.
- The
:openpseudo-class brings clean CSS for open and closed states on dialog and details. ToggleEvent.sourcetells you which control opened a popover.image-renderingcontrols how an image scales, which matters for pixel art and QR codes.text-decoration-skip-ink: all forces an underline to skip every glyph.SharedWorkeris a background worker reachable from several contexts of the same origin.
Widely available
- The lh and rlh units refer to the line height of the element and of the root element.
Navigator.userActivationchecks whether the user actually initiated something.clip-pathcuts a shape using basic shapes and SVG paths.- The
:user-invalidpseudo-class shows a form error only after the user has done something, rather than on load.
What pays off immediately
:user-invalid is the easiest win on forms, because it solves the familiar problem of red fields shouting before the user has typed anything. The lh unit tidies vertical rhythm without invented numbers.
Once a week, in your inbox
The whole week's news, gathered into one email. No ads, no passing your address on, one-click unsubscribe.
The address is used only for this roundup. It is not sold and not passed to anyone.
Related

Google's AI Mode can now draw on your Google Wallet spending if you connect it
Google is letting people connect Google Wallet to AI Mode, the conversational side of its search, with Drive and the Gemini app to follow. The connections are off until you turn them on, and Google says AI Mode can only read the accounts. AI Overviews will also start reflecting your recent searches, which you can switch off.
Googleverified
Google adds temporary threads to AI Mode, so conversations stay out of search history
AI Mode in Google Search now has temporary threads. A conversation opened this way is detached from the user's account, is not saved to history, and does not shape later recommendations.
Googleverified
Safari now runs on Apple HomeView, with a square screen and a viewport shorter than 600 pixels
Apple's new home device puts Safari on a square seven-inch display that people operate mostly by voice. The WebKit team says most sites will work as they are, and names the assumptions that break them: a tall viewport, pointer-only controls, and treating an iOS user agent as an iPhone.
WebKitverified

