@@ -989,22 +989,15 @@ Text and Text Decorations</h4>
989
989
</div>
990
990
</div>
991
991
992
- While the element’s own
993
- <a href="https://www.w3.org/TR/css-text-decor/#line-decoration">line decorations</a>
994
- are propagated from
995
- containing <a spec=css-text-decor>decorating boxes</a>
996
- as usual,
997
- decorations introduced by [=highlight pseudo-elements=]
998
- apply only to the text
999
- directly associated with the [=originating element=]
1000
- (or intervening [=pseudo-element=] such as ''::first-line'' or ''::first-letter'' ).
1001
-
1002
- Note: Because highlight decorations
1003
- are propagated through inheritance,
1004
- not through the box tree,
1005
- they can be declared on the root element
1006
- and still reliably decorate out-of-flow descendants,
1007
- which is not the case for the element’s own decorations.
992
+ <a href="https://www.w3.org/TR/css-text-decor/#line-decoration">Line decorations</a> introduced by [=highlight pseudo-elements=]
993
+ apply only to the text associated with their [=originating element=] ,
994
+ and are not propagated to descendants
995
+ except via property [=inheritance=] (as described [[#highlight-cascade|above]] ).
996
+
997
+ Note: Unlike the element’s own decorations,
998
+ decorations declared on the root element’s highlights
999
+ propagate to [=out-of-flow|out-of-flow elements=] and [=inline blocks=] ,
1000
+ with thickness and position varying between descendants.
1008
1001
1009
1002
<h4 id="highlight-replaced">
1010
1003
Replaced Elements</h4>
0 commit comments