popover="hint"
Chrome 133, Firefox 149; Safari pendente (item do Interop 2026), não é Baseline.
Chrome 133
Edge 133
Safari no
Firefox 149
Um popover da classe tooltip que não fecha popovers `auto` abertos e fecha quando outro hint abre. Com `popovertargetaction`, `interestfor` (Chrome) e anchor positioning, entrega tooltips nativos.
Saves the draft (Ctrl+S)
CSS
.fx-042-btn {
anchor-name: --fx-042;
padding: 8px 14px;
font: 600 14px system-ui
}
.fx-042 {
position-anchor: --fx-042;
position-area: top;
inset: auto;
margin: 0 0 6px;
padding: 6px 10px;
border: 0;
border-radius: 6px;
background: #111;
color: #fff;
font: 12px system-ui
}
.fx-042 :is(a,button,input,select,textarea):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
HTML
<button class="fx-042-btn" popovertarget="fx-042-tip">Save</button>
<div id="fx-042-tip" popover="hint" class="fx-042">Saves the draft (Ctrl+S)</div>Fallback: O Safari trata o valor desconhecido como `popover="manual"`; o tooltip ainda alterna a partir do botão.
Prompt
Use `popover="hint"` em tooltips para eles não fecharem um menu aberto (`popover="auto"`), prenda-os ao gatilho com anchor positioning, e deixe o navegador gerenciar o empilhamento. Onde o suporte do Safari importar, o comportamento degrada para um popover manual, o que é aceitável.