Skip to content

Commit f943a34

Browse files
committed
[css-text-decor-4] Add trailing-spaces to text-decoration-skip
1 parent bc4e2d3 commit f943a34

File tree

2 files changed

+464
-285
lines changed

2 files changed

+464
-285
lines changed

css-text-decor-4/Overview.bs

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,52 @@ It has no status at W3C and has not yet been discussed by the CSSWG.
2828
<li>a text-line-width property
2929
</ul>
3030

31+
<h2 id=extend>Extentions to L3 features</h2>
32+
33+
<h3 id="text-decoration-skip-property">
34+
Text Decoration Line Continuity: the 'text-decoration-skip' property</h3>
35+
36+
This specification extends the 'text-decoration-skip' property
37+
present in level 3
38+
by adding the ''trailing-spaces'' value.
39+
40+
<pre class="propdef">
41+
Name: text-decoration-skip
42+
Value: ''none'' | [ ''objects'' || [ ''spaces'' | ''trailing-spaces'' ] || ''ink'' || ''edges'' || ''box-decoration'' ]
43+
Initial: objects
44+
Applies to: all elements
45+
Inherited: yes
46+
Percentages: N/A
47+
Media: visual
48+
Computed value: as specified
49+
Animatable: no
50+
</pre>
51+
52+
Issue: Add final level 3 content
53+
54+
<dl dfn-type=value dfn-for=text-decoration-skip>
55+
<dt><dfn>none</dfn></dt>
56+
<dt><dfn>objects</dfn></dt>
57+
<dt><dfn>spaces</dfn></dt>
58+
<dt><dfn>ink</dfn></dt>
59+
<dt><dfn>edges</dfn></dt>
60+
<dt><dfn>box-decoration</dfn>
61+
<dd>
62+
63+
Issue: Add final level 3 content
64+
<dt><dfn>trailing-spaces</dfn></dt>
65+
<dd>Skip all spacing, i.e. all <i>characters</i> with the Unicode White_Space property [[UAX44]]
66+
and all <a href="http://www.w3.org/TR/css3-text/#word-separator">word separators</a>,
67+
plus any adjacent 'letter-spacing' or 'word-spacing'
68+
when located then end of the line.
69+
</dl>
70+
71+
Issue: Should ''object trailing-spaces'' be the initial value instead of just ''object''?
72+
Should the initial value be auto,
73+
defined so that that it can vary between
74+
''object'' and ''object trailing-spaces''
75+
depending on properties like 'white-space', 'word-wrap', 'word-break' etc?
76+
3177
<h2 id=temp>Rescued L3 Brainstorming: Ignore For Now</h2>
3278

3379
<h3 id="text-emphasis-skip">

0 commit comments

Comments
 (0)