← Chrome 149 reference

v149 · html · developer trial

Popover=hint behavior changes

Chrome 149 ships a revised and simplified stacking model for popover="hint" and its interactions with popover="auto", resolving corner-case inconsistencies that could cause hint popovers to close unexpectedly or stack incorrectly when nested.

Developer trial / behind a flag The updated popover="hint" behaviour is in developer trial in Chrome 149 — enable via chrome://flags/#enable-experimental-web-platform-features. Ships as enabled by default in Chrome 150.

at a glance

Status in 149In developer trial (behind a flag)
Ships by defaultChrome 150
Flagchrome://flags/#enable-experimental-web-platform-features
Standards positionFirefox: Positive  ·  Safari: Positive
Spec / PRwhatwg/html PR #12345
ChromeStatus6282804208992256 — Popover=hint behavior changes

background: popover types

The Popover API has three values for the popover attribute:

popover="auto"Light-dismiss on outside click. Multiple autos form a stack; opening a new auto closes unrelated ones.
popover="hint"Tooltip-like. Does not close other autos when it opens. Light-dismiss.
popover="manual"No automatic dismissal; must be closed programmatically.
Source: HTML Standard §popover attribute.

what changed in Chrome 149

The original popover="hint" implementation had edge cases where:

Chrome 149 implements the revised model from whatwg/html PR #12345:

Hints sit above autosA popover="hint" always renders above popover="auto" elements in the top layer, not interleaved.
Hints don't disrupt auto stackOpening a hint never causes an open auto to close.
One hint at a timeOpening a new hint closes any other currently-open hint (like tooltips replacing each other).
Light-dismiss rules unchangedClicking outside any popover still closes light-dismissable popovers.
Source: chromestatus summary + whatwg/html PR #12345.

example

<button popovertarget="menu">Open menu</button>
<div id="menu" popover="auto">
  <button popovertarget="tip">Hover for tip</button>
  <p>Menu content</p>
</div>

<div id="tip" popover="hint">
  This is a tooltip — does not close the menu
</div>

In Chrome 149+, showing #tip no longer dismisses #menu. The hint stacks on top of the auto, and dismissing the hint leaves the auto open.

compatibility

Most code using popover="hint" will behave more correctly after this change. If you had workarounds for the incorrect closing behaviour, those workarounds may now cause double-closes and should be removed.

browser support

Chrome149 — revised model
Edge149 (Chromium)
FirefoxPositive signal; implementation tracking
SafariPositive signal; implementation tracking
Source: chromestatus browser views.

see also