You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two calls to CSS.highlights.add() which correspond to the version of a setlike HighlightRegistry. This no longer works in this way since it's been agreed to make it maplike here.
In the style section, the rules are of the form of p::highlight{} but there's no <p> in <body>, so no custom style will be used for painting.
In the explanation, there are references to rg1 and rg2 which aren't defined in the code.
The text was updated successfully, but these errors were encountered:
ffiori
changed the title
[css-highlight-api-1] Example 4 should be updated to comply with the newest specifications
[css-highlight-api-1] Example 4 is outdated and have some inconsistencies
Jun 1, 2021
ffiori
changed the title
[css-highlight-api-1] Example 4 is outdated and have some inconsistencies
[css-highlight-api-1] Example 4 is outdated and has some inconsistencies
Jun 1, 2021
Uh oh!
There was an error while loading. Please reload this page.
This issue is related to Example 4 of this draft: https://drafts.csswg.org/css-highlight-api-1
The text was updated successfully, but these errors were encountered: