Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Scholz <[email protected]>
  • Loading branch information
hamishwillee and Elchi3 authored Aug 7, 2023
1 parent f7754a3 commit f45b7f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions files/en-us/mozilla/firefox/experimental_features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ See [Firefox bug 1840480](https://bugzil.la/1840480) for more details.

The [CSS Custom Highlight API](/en-US/docs/Web/API/CSS_Custom_Highlight_API) provides a mechanism for styling arbitrary text ranges in a document (generalizing the behaviour of other highlight pseudo-elements such as {{cssxref('::selection')}}, {{cssxref('::spelling-error')}}, {{cssxref('::grammar-error')}}, and {{cssxref('::target-text')}}).
The ranges are defined in JavaScript using [`Range`](/en-US/docs/Web/API/Range) instances grouped in a [`Highlight`](/en-US/docs/Web/API/Highlight), and then registered with a name using [`HighlightRegistry`](/en-US/docs/Web/API/HighlightRegistry).
The [`CSS::highlight`](/en-US/docs/Web/CSS/::highlight) pseudo-element is used to apply styles to a registered highlight.
The CSS [`::highlight`](/en-US/docs/Web/CSS/::highlight) pseudo-element is used to apply styles to a registered highlight.
See [Firefox bug 1703961](https://bugzil.la/1703961) for more details.

<table>
Expand All @@ -1389,17 +1389,17 @@ See [Firefox bug 1703961](https://bugzil.la/1703961) for more details.
</tr>
<tr>
<th>Developer Edition</th>
<td>111</td>
<td>117</td>
<td>No</td>
</tr>
<tr>
<th>Beta</th>
<td>111</td>
<td>117</td>
<td>No</td>
</tr>
<tr>
<th>Release</th>
<td>111</td>
<td>117</td>
<td>No</td>
</tr>
<tr>
Expand Down

0 comments on commit f45b7f6

Please sign in to comment.