<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic 【bug】Firefox 140.0beta Added support for the Custom Highlight API, cannot apply to shadow-root in Firefox Labs</title>
    <link>https://connect.mozilla.org/t5/firefox-labs/bug-firefox-140-0beta-added-support-for-the-custom-highlight-api/m-p/99091#M4492</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I'm setting a highlight for a Range in a shadow-root using CSS.highlight.set('search-results-active', new Highlight(range1)). I've confirmed that the pseudo-element styles for the highlight have been injected into the page, and also verified that there's no error with range1. It works normally in Chrome, but the highlight style doesn't appear in Firefox.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The highlight style of a normal document is normal.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jun 2025 06:10:10 GMT</pubDate>
    <dc:creator>ImSwordTooth</dc:creator>
    <dc:date>2025-06-20T06:10:10Z</dc:date>
    <item>
      <title>【bug】Firefox 140.0beta Added support for the Custom Highlight API, cannot apply to shadow-root</title>
      <link>https://connect.mozilla.org/t5/firefox-labs/bug-firefox-140-0beta-added-support-for-the-custom-highlight-api/m-p/99091#M4492</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm setting a highlight for a Range in a shadow-root using CSS.highlight.set('search-results-active', new Highlight(range1)). I've confirmed that the pseudo-element styles for the highlight have been injected into the page, and also verified that there's no error with range1. It works normally in Chrome, but the highlight style doesn't appear in Firefox.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The highlight style of a normal document is normal.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 06:10:10 GMT</pubDate>
      <guid>https://connect.mozilla.org/t5/firefox-labs/bug-firefox-140-0beta-added-support-for-the-custom-highlight-api/m-p/99091#M4492</guid>
      <dc:creator>ImSwordTooth</dc:creator>
      <dc:date>2025-06-20T06:10:10Z</dc:date>
    </item>
  </channel>
</rss>

