Review Mozilla 1761043: Implement hidden=until-found attribute and beforematch event
🔍 Bugzilla Audit
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1761043
Description
Adds a new hidden="until-found"
attribute value. Content will have content-visibility: hidden
applied to it until the user navigates to the content:
- Via an anchor or fragment link.
- Or via "Find in page".
When this happens the hidden
attribute is removed and the beforematch
event is fired.
So this adds another way to track user interaction, but I'm not sure it is that strong compared to what is already permissible with javascript.
The javascript-free version would be covered by #42829 (closed) (cc @ma1).