W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

Re: [csswg-drafts] [css-highlight-api] Inline styles for Highlight should apply on top of styles provided by ::highlight (#4588)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Fri, 20 Dec 2019 06:40:58 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-567810047-1576824056-sysbot+gh@w3.org>
That makes sense to me. The #4607 Pull Request already greatly reduces the coupling, as after it, basically all that's left regarding style in the css-highlight-api spec is:
* a mention that `CSSPseudoElement.style` exists
* a requirement that `Element.pseudo()` accepts `"::highlights()"`
* an example

But indeed, the style attribute is a mere convenience, and it's not critical to the custom highlight api, so we could go further and drop it entirely from the spec, and just wait on css-pseudo defining the OM-based style attribute.

What would you rather do?

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4588#issuecomment-567810047 using your GitHub account
Received on Friday, 20 December 2019 06:40:59 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:18 UTC