@@ -384,9 +384,10 @@ <h2 id=line-decoration><span class=secno>2. </span> Line Decoration:
384
384
href ="#text-shadow "> < code class =property > text-shadow</ code > </ a > ’,
385
385
filters, and other graphical transformations likewise affect text
386
386
decorations as part of the text they're drawn on, even if the decorations
387
- were specified on an ancestor box. (In the case of line decorations drawn
388
- over an atomic inline or across box decorations, they are similarly
389
- associated with the affected box rather than the < a
387
+ were specified on an ancestor box, and do not affect the calculation of
388
+ their initial positions or thicknesses. (In the case of line decorations
389
+ drawn over an atomic inline or across box decorations, they are
390
+ analogously associated with the affected box rather than the < a
390
391
href ="#decorating-box "> < i > decorating box</ i > </ a > .)
391
392
392
393
< div class =example >
@@ -947,10 +948,6 @@ <h3 id=text-underline-position-property><span class=secno>2.6. </span> Text
947
948
< dd > In horizontal writing modes, the underline is positioned < i > under</ i >
948
949
the element's text content. In this case the underline usually does not
949
950
cross the descenders. (This is sometimes called "accounting" underline.)
950
- (Note that images that are not affected by the underline per ‘< a
951
- href ="#text-decoration-skip "> < code
952
- class =property > text-decoration-skip</ code > </ a > ’ will not affect the
953
- position of the underline.)
954
951
< div class =figure >
955
952
< p > < img
956
953
alt ="In a typical Latin font, the underline is far enough below the text that it does not cross the bottom of a 'g'. "
@@ -1045,12 +1042,13 @@ <h3 id=line-position><span class=secno>2.7. </span> Determining the
1045
1042
consider, for each < a href ="#decorating-box "> < i > decorating box</ i > </ a > ,
1046
1043
the “ideal” positions of such line decorations per fragment of the < a
1047
1044
href ="#decorating-box "> < i > decorating box</ i > </ a > —or its in-flow inline
1048
- descendant—that draws the text decoration. However, descendant fragments
1049
- of the < i > decorating element</ i > that are skipped due to ‘< a
1045
+ descendant—that draws the text decoration. However, descendants of the
1046
+ < i > decorating element</ i > that are skipped due to ‘< a
1050
1047
href ="#text-decoration-skip "> < code
1051
- class =property > text-decoration-skip</ code > </ a > ’ (including elements with
1052
- ‘< code class =css > text-decoration-skip: ink</ code > ’) are excluded from
1053
- consideration.
1048
+ class =property > text-decoration-skip</ code > </ a > ’, inline elements with
1049
+ ‘< code class =css > text-decoration-skip: ink</ code > ’, and any
1050
+ descendants that do not participate in the < i > decorating element</ i > ’s
1051
+ inline formatting context are excluded from consideration.
1054
1052
1055
1053
< p > The line decoration positions are then calculated as follows (treating
1056
1054
< a href ="#underline-left "> < i > over</ i > -positioned underlines</ a > as
0 commit comments