Skip to content

Commit

Permalink
FF131 Relnote - Text fragments supported (#35717)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Sep 3, 2024
1 parent c3c36c4 commit 67c79b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/en-us/mozilla/firefox/releases/131/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ This article provides information about the changes in Firefox 131 that affect d

### APIs

- [Text fragments](/en-US/docs/Web/URI/Fragment/Text_fragments) are now supported, allowing users to link to and highlight specific portions of text in a web page. This feature uses a particular syntax in the [URL fragment](/en-US/docs/Web/URI/Fragment) that identifies the target based on patterns in the rendered text.
Website developers can also use the existence of the {{domxref("Document.fragmentDirective")}} property (an instance of the {{domxref("FragmentDirective")}} interface) to feature check for text fragment support, and the {{CSSxRef("::target-text")}} pseudo element to select and style text that has been selected using a text fragment link. ([Firefox bug 1914877](https://bugzil.la/1914877))

#### DOM

#### Media, WebRTC, and Web Audio
Expand Down

0 comments on commit 67c79b5

Please sign in to comment.