Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions css-pseudo-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,16 @@ Text and Text Decorations</h4>
</div>
</div>

<a href="https://www.w3.org/TR/css-text-decor/#line-decoration">Line decorations</a> introduced by [=highlight pseudo-elements=]
apply only to the text associated with their [=originating element=],
and are not propagated to descendants
except via property [=inheritance=] (as described [[#highlight-cascade|above]]).

Note: Unlike the originating element’s own decorations,
decorations declared on a highlight pseudo-element
propagate to [=out-of-flow|out-of-flow elements=] and [=inline blocks=],
with thickness and position varying between descendants.

<h4 id="highlight-replaced">
Replaced Elements</h4>

Expand Down