You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-text-decor/Overview.bs
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -81,15 +81,15 @@ Line Decoration: Underline, Overline, and Strike-Through</h2>
81
81
82
82
<p>
83
83
The following properties describe line decorations that are added to the content of an element.
84
-
When specified on or propagated to an inline box,
85
-
that box becomes a <dfn>decorating box</dfn> for that decoration,
86
-
applying the decoration to all its fragments.
87
-
The decoration is then further propagated to any in-flowblock-level boxes that split the inline
84
+
When specified on or propagated to an <a>inline box</a>,
85
+
that <a>box</a> becomes a <dfn>decorating box</dfn> for that decoration,
86
+
applying the decoration to all its <a>fragments</a>.
87
+
The decoration is then further propagated to any <a>in-flow</a><a>block-level</a> boxes that split the inline
88
88
(see <a href="https://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level">CSS2.1 section 9.2.1.1</a>).
89
-
When specified on or propagated to a block container that establishes an inline formatting context,
90
-
the decorations are propagated to an anonymous inline box that wraps all the in-flowinline-level children of the block container.
91
-
When specified on or propagated to a ruby box,
92
-
the decorations are propagated only to the ruby base.
89
+
When specified on or propagated to a <a>block container</a> that establishes an <a>inline formatting context</a>,
90
+
the decorations are propagated to an <a>anonymous</a> inline box that wraps all the <a>in-flow</a><a>inline-level</a> children of the <a>block container</a>.
91
+
When specified on or propagated to a <a>ruby box</a>,
92
+
the decorations are propagated only to the <a>ruby base</a>.
93
93
For all other box types,
94
94
the decorations are propagated to all in-flow children.
95
95
@@ -100,12 +100,12 @@ Line Decoration: Underline, Overline, and Strike-Through</h2>
100
100
although the decoration is <em>applied</em> to such boxes.
101
101
102
102
<p>
103
-
Underlines, overlines, and line-throughs are applied only to non-replacedinline boxes,
103
+
Underlines, overlines, and line-throughs are applied only to <a>non-replaced</a><a>inline boxes</a>,
104
104
and are drawn across all text (including white space, letter spacing, and word spacing)
105
105
except spacing (white space, letter spacing, and word spacing) at the beginning and end of a line.
106
-
Atomic inlines, such as images and inline blocks, are not decorated.
106
+
<a>Atomic inlines</a>, such as images and inline blocks, are not decorated.
107
107
Margins, borders, and padding of the <i>decorating box</i> are always skipped,
108
-
however the margins, border, and padding of descendant inline boxes are not.
108
+
however the margins, border, and padding of descendant <a>inline boxes</a> are not.
109
109
110
110
<p class='note'>
111
111
Note that CSS 2.1 required skipping margins, borders, and padding always.
0 commit comments