Skip to content

Commit 0f7ab93

Browse files
committed
[css-pseudo-4] Move note
1 parent 1ced47f commit 0f7ab93

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

css-pseudo-4/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -917,18 +917,18 @@ Text and Text Decorations</h4>
917917
(those applied by the [=originating element=] or
918918
an intervening [=pseudo-element=] such as ''::first-line'' or ''::first-letter'').
919919

920-
Any text decorations introduced by each <a>highlight pseudo-element</a>
921-
are stacked in the same order as their backgrounds
922-
over the text’s original decorations
923-
and are all drawn, each decoration in its own color.
924-
925920
Note: The element’s own text decorations
926921
(both <a href="https://www.w3.org/TR/css-text-decor/#line-decoration">line decorations</a>
927922
and <a href="https://www.w3.org/TR/css-text-decor/#emphasis-marks">emphasis marks</a>)
928923
are thus drawn in the pseudo-element’s own 'color'
929924
when that is not ''currentColor'',
930925
regardless of their original color or fill specifications.
931926

927+
Any text decorations introduced by each <a>highlight pseudo-element</a>
928+
are stacked in the same order as their backgrounds
929+
over the text’s original decorations
930+
and are all drawn, each decoration in its own color.
931+
932932
<h4 id="highlight-replaced">
933933
Replaced Elements</h4>
934934

0 commit comments

Comments
 (0)