[Webkit-unassigned] [Bug 204937] Support for resolving highlight pseudo element style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 7 08:39:41 PST 2019


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

--- Comment #8 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
(In reply to Antti Koivisto from comment #3)
> > How does code discover the names of all the applicable highlights for a
> > given element?
> 
> The spec connects styles with
> 
> CSS.highlights.set("example-highlight", highlightRangeGroup);
> 
> and then you would query for "example-highlight" for all elements within the
> range. As far as I see there is no need to ever enumerate highlight names.

I meant how does our text painting code find the list of highlights that may apply to an element?

-- 
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/20191207/282ac94b/attachment.htm>


More information about the webkit-unassigned mailing list