[Webkit-unassigned] [Bug 238266] New: Implement hidden=until-found HTML attribute and beforematch event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 23 09:34:08 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=238266

            Bug ID: 238266
           Summary: Implement hidden=until-found HTML attribute and
                    beforematch event
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jarhar at chromium.org

This feature was added to the HTML spec here: https://github.com/whatwg/html/pull/7475
Here is an explainer: https://github.com/WICG/display-locking/blob/main/explainers/hidden-content-explainer.md

The "until-found" value for the hidden attribute should make the element content-visibility:hidden instead of display:none. When the browser searches for text via find-in-page or ScrollToTextFragment, it should also search for text in hidden=until-found elements. If find-in-page or ScrollToTextFragment want to scroll to a match inside a hidden=until-found element, it should remove the hidden attribute from the element and fire the "beforematch" event on it in order to reveal the match.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220323/246ac66a/attachment.htm>


More information about the webkit-unassigned mailing list