Skip to content

Commit 0d4d229

Browse files
committed
[css-text-decor-4] Add 'always' value to text-decoration-skip-ink. Fixes w3c#4277
1 parent 71a1ee9 commit 0d4d229

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

css-text-decor-4/Overview.bs

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ Skipping Glyphs: the 'text-decoration-skip-ink' property</h4>
10311031

10321032
<pre class="propdef">
10331033
Name: text-decoration-skip-ink
1034-
Value: auto | none
1034+
Value: auto | none | always
10351035
Initial: ''auto''
10361036
Applies to: all elements
10371037
Inherited: yes
@@ -1049,10 +1049,10 @@ Skipping Glyphs: the 'text-decoration-skip-ink' property</h4>
10491049
The UA must also skip a small distance to either side of the glyph outline.
10501050

10511051
<div class="figure">
1052-
<p><img title="text-decoration-skip-ink: auto"
1053-
alt="An alphabetic underline through Myanmar text skips around descenders and the vertical strokes of combining characters that drop below the alphabetic baseline."
1054-
src="images/decoration-skip-ink.png">
1055-
<p class="caption">''text-decoration-skip-ink: auto''</p>
1052+
<img title="Skipping Descenders When Drawing an Underline"
1053+
alt="An alphabetic underline through Myanmar text skips around descenders and the vertical strokes of combining characters that drop below the alphabetic baseline."
1054+
src="images/decoration-skip-ink.png">
1055+
<p class="caption">Skipping Glyph Ink
10561056
</div>
10571057

10581058
<div class="issue">
@@ -1075,18 +1075,16 @@ Skipping Glyphs: the 'text-decoration-skip-ink' property</h4>
10751075
UAs <em>may</em> interrupt underlines and overlines
10761076
where the line would cross glyph ink
10771077
and to some distance to either side of the glyph outline.
1078-
Line-throughs must remain continuous, however.
10791078

1080-
<div class="figure">
1081-
<img title="Skipping Descenders When Drawing an Underline"
1082-
alt="An alphabetic underline through Myanmar text skips around descenders and the vertical strokes of combining characters that drop below the alphabetic baseline."
1083-
src="images/decoration-skip-ink.png">
1084-
<p class="caption">Skipping Glyph Ink
1085-
</div>
1079+
<dt><dfn value for="text-decoration-skip-ink">always</dfn></dt>
1080+
<dd>
1081+
UAs <em>must</em> interrupt underlines and overlines
1082+
where the line would cross glyph ink
1083+
and to some distance to either side of the glyph outline.
10861084

10871085
<dt><dfn value for="text-decoration-skip-ink">none</dfn></dt>
10881086
<dd>
1089-
UA must draw continuous lines,
1087+
UA must draw continuous underlines and overlines,
10901088
without interruptions when they cross over a glyph.
10911089
</dl>
10921090

0 commit comments

Comments
 (0)