[Webkit-unassigned] [Bug 229797] New: [css-highlight-api] Use AbstractRange instead of StaticRange in Highlight IDL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 2 02:24:53 PDT 2021


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

            Bug ID: 229797
           Summary: [css-highlight-api] Use AbstractRange instead of
                    StaticRange in Highlight IDL
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: WebExposed
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rego at igalia.com
                CC: megan_gardner at apple.com
            Blocks: 204903

The IDL is using StaticRange: https://github.com/WebKit/WebKit/blob/main/Source/WebCore/Modules/highlight/Highlight.idl

AbstractRange was implemented in https://trac.webkit.org/changeset/268648/webkit

So we could now update the Highlight API to accept AbstractRange and match the spec: https://drafts.csswg.org/css-highlight-api-1/#highlight

Otherwise most of the WPT tests that use Range() will fail in WebKit: https://wpt.fyi/results/css/css-highlight-api


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=204903
[Bug 204903] Implement Highlight API
-- 
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/20210902/e301bbd9/attachment.htm>


More information about the webkit-unassigned mailing list