We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90862f1 commit ad4ead5Copy full SHA for ad4ead5
1 file changed
css-highlight-api-1/Overview.bs
@@ -352,8 +352,10 @@ Priority of Overlapping Highlights</h4>
352
This is used to determine the stacking order of the corresponding [=highlight overlay=]
353
during painting operations (see [[#painting]]).
354
A higher [=priority=] results in being above in the stacking order.
355
+ A custom highlight will have a default numerical priority of 0
356
+ if its {{Highlight/priority}} attribute has not been explicitly set.
357
- When two ore more [=custom highlights=] have the same numerical priority,
358
+ When two or more [=custom highlights=] have the same numerical priority,
359
the one most recently [=registered=] has the higher effective [=priority=].
360
361
<div class=example id=overlap-highlight-ex>
0 commit comments