File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1048,10 +1048,15 @@ <h3 id=line-position><span class=secno>2.7. </span> Determining the
10481048 vertical alignments, the best position for a line decoration is not
10491049 necessarily the ideal position dictated by the decorating element. In
10501050 determining the position of text decoration lines, user agents must
1051- consider, per line box, the “ideal” positions of such line decorations
1052- per fragment of the < a href ="#decorating-box "> < i > decorating
1053- box</ i > </ a > —or its in-flow inline descendant—that draws the text
1054- decoration.
1051+ consider, for each < a href ="#decorating-box "> < i > decorating box</ i > </ a > ,
1052+ the “ideal” positions of such line decorations per fragment of the < a
1053+ href ="#decorating-box "> < i > decorating box</ i > </ a > —or its in-flow inline
1054+ descendant—that draws the text decoration. However, descendant fragments
1055+ of the < i > decorating element</ i > that are skipped due to ‘< a
1056+ href ="#text-decoration-skip "> < code
1057+ class =property > text-decoration-skip</ code > </ a > ’ (including elements with
1058+ ‘< code class =css > text-decoration-skip: ink</ code > ’) are excluded from
1059+ consideration.
10551060
10561061 < p > The line decoration positions are then calculated as follows (treating
10571062 < a href ="#underline-left "> < i > over</ i > -positioned underlines</ a > as
Original file line number Diff line number Diff line change @@ -694,9 +694,14 @@ <h3 id="line-position">
694694 vertical alignments, the best position for a line decoration is not
695695 necessarily the ideal position dictated by the decorating element.
696696 In determining the position of text decoration lines,
697- user agents must consider, per line box, the “ideal” positions of such line decorations
698- per fragment of the < i > decorating box</ i > —or its in-flow inline descendant—that
697+ user agents must consider, for each < i > decorating box</ i > ,
698+ the “ideal” positions of such line decorations per fragment
699+ of the < i > decorating box</ i > —or its in-flow inline descendant—that
699700 draws the text decoration.
701+ However, descendant fragments of the < i > decorating element</ i >
702+ that are skipped due to 'text-decoration-skip'
703+ (including elements with ''text-decoration-skip: ink'')
704+ are excluded from consideration.
700705
701706 < p >
702707 The line decoration positions are then calculated
You can’t perform that action at this time.
0 commit comments