[Webkit-unassigned] [Bug 204937] Support for resolving highlight pseudo element style
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 6 08:31:20 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=204937
--- Comment #3 from Antti Koivisto <koivisto at iki.fi> ---
> 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.
--
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/20191206/7aa6c90c/attachment.htm>
More information about the webkit-unassigned
mailing list