@@ -825,10 +825,11 @@ <h3 id=text-decoration-skip-property><span class=secno>2.5. </span> Text
825
825
class =css > edges</ code > ’</ dfn >
826
826
827
827
< dd > The UA should place the start and end of the line inwards slightly
828
- (e.g. by half a line thickness) from the content edge of the
829
- < i > decorating element</ i > so that, e.g. two underlined elements
830
- side-by-side do not appear to have a single underline. (This is important
831
- in Chinese, where underlining is a form of punctuation.)
828
+ (e.g. by half a line thickness) from the content edge of the < a
829
+ href ="#decorating-box "> < i > decorating box</ i > </ a > so that, e.g. two
830
+ underlined elements side-by-side do not appear to have a single
831
+ underline. (This is important in Chinese, where underlining is a form of
832
+ punctuation.)
832
833
< div class =figure >
833
834
< p > < img
834
835
alt ="An underline below a series of Chinese characters has a gap between two adjacent underlining elements. "
@@ -844,17 +845,18 @@ <h3 id=text-decoration-skip-property><span class=secno>2.5. </span> Text
844
845
class =css > box-decoration</ code > ’</ dfn >
845
846
846
847
< dd > Skip over the box's margin, border, and padding areas. Note that this
847
- only has an effect on decorations imposed by an ancestor; a < i > decorating
848
- element</ i > never draws over its own box decoration.
848
+ only has an effect on decorations imposed by an ancestor; a < a
849
+ href ="#decorating-box "> < i > decorating box</ i > </ a > never draws over its own
850
+ box decoration.
849
851
</ dl >
850
852
851
853
< p class =note > Note that this property inherits and that descendant elements
852
854
can have a different setting.
853
855
854
856
< p class =note > Note that CSS 2.1 required skipping margins, borders, and
855
857
padding always. In this level, by default only the margins, borders, and
856
- padding of the < i > decorating element </ i > are skipped. In the future CSS2.1
857
- may be updated to match this new default.
858
+ padding of the < a href =" #decorating-box " > < i > decorating box </ i > </ a > are
859
+ skipped. In the future CSS2.1 may be updated to match this new default.
858
860
859
861
< h3 id =text-underline-position-property > < span class =secno > 2.6. </ span > Text
860
862
Underline Position: the ‘< a href ="#text-underline-position "> < code
@@ -1037,18 +1039,20 @@ <h3 id=line-position><span class=secno>2.7. </span> Determining the
1037
1039
1038
1040
< p > Since line decorations can span elements with varying font sizes and
1039
1041
vertical alignments, the best position for a line decoration is not
1040
- necessarily the ideal position dictated by the decorating element. In
1041
- determining the position of text decoration lines, user agents must
1042
- consider, for each < a href ="#decorating-box "> < i > decorating box</ i > </ a > ,
1043
- the “ideal” positions of such line decorations per fragment of the < a
1042
+ necessarily the ideal position dictated by the < a
1043
+ href ="#decorating-box "> < i > decorating box</ i > </ a > . In determining the
1044
+ position of text decoration lines, user agents must consider, for each < a
1045
+ href ="#decorating-box "> < i > decorating box</ i > </ a > , the “ideal”
1046
+ positions of such line decorations per fragment of the < a
1044
1047
href ="#decorating-box "> < i > decorating box</ i > </ a > —or its in-flow inline
1045
1048
descendant—that draws the text decoration. However, descendants of the
1046
- < i > decorating element </ i > that are skipped due to ‘< a
1049
+ < i > decorating boxF </ i > that are skipped due to ‘< a
1047
1050
href ="#text-decoration-skip "> < code
1048
1051
class =property > text-decoration-skip</ code > </ a > ’, descendant inlines with
1049
1052
‘< 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.
1053
+ descendants that do not participate in the < a
1054
+ href ="#decorating-box "> < i > decorating box</ i > </ a > ’s inline formatting
1055
+ context are excluded from consideration.
1052
1056
1053
1057
< p > The line decoration positions are then calculated as follows (treating
1054
1058
< a href ="#underline-left "> < i > over</ i > -positioned underlines</ a > as
0 commit comments