Skip to content

Commit ab9f9df

Browse files
committed
Merge pull request #26 from frivoal/florian/text-decor-skip
2 parents 56421d0 + fb82437 commit ab9f9df

File tree

4 files changed

+700
-65
lines changed

4 files changed

+700
-65
lines changed

css-text-decor-4/Overview.bs

+26-16
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ by adding the ''trailing-spaces'' value.
4040

4141
<pre class="propdef">
4242
Name: text-decoration-skip
43-
Value: ''none'' | [ ''objects'' || [ ''spaces'' | ''trailing-spaces'' ] || ''ink'' || ''edges'' || ''box-decoration'' ]
44-
Initial: objects
43+
Value: ''none'' | [ ''objects'' || [ ''spaces'' | [ ''leading-spaces'' || ''trailing-space'' ] ] || ''ink'' || ''edges'' || ''box-decoration'' ]
44+
Initial: objects leading-spaces trailing-spaces
4545
Applies to: all elements
4646
Inherited: yes
4747
Percentages: N/A
@@ -50,6 +50,15 @@ by adding the ''trailing-spaces'' value.
5050
Animatable: no
5151
</pre>
5252

53+
Note: The initial value is different
54+
from the one specified at the previous level,
55+
which was only ''text-decoration-skip: objects''.
56+
57+
Issue: The initial value is quite verbose,
58+
which makes it inconvenient to set the property
59+
to the initial value plus something else.
60+
We should make this easier to specify.
61+
5362
Issue: Add final level 3 content
5463

5564
<dl dfn-type=value dfn-for=text-decoration-skip>
@@ -62,23 +71,24 @@ by adding the ''trailing-spaces'' value.
6271
<dd>
6372

6473
Issue: Add final level 3 content
74+
<dt><dfn>leading-spaces</dfn></dt>
75+
<dd>Skip all spacing,
76+
i.e. all <i>characters</i> with the Unicode White_Space property [[UAX44]]
77+
and all <a href="http://www.w3.org/TR/css3-text/#word-separator">word separators</a>
78+
plus any adjacent 'letter-spacing' or 'word-spacing',
79+
when located at the start of the line.
6580
<dt><dfn>trailing-spaces</dfn></dt>
66-
<dd>Skip all spacing, i.e. all <i>characters</i> with the Unicode White_Space property [[UAX44]]
67-
and all <a href="http://www.w3.org/TR/css3-text/#word-separator">word separators</a>,
68-
plus any adjacent 'letter-spacing' or 'word-spacing'
69-
when located then end of the line.
81+
<dd>Skip all spacing,
82+
i.e. all <i>characters</i> with the Unicode White_Space property [[UAX44]]
83+
and all <a href="http://www.w3.org/TR/css3-text/#word-separator">word separators</a>
84+
plus any adjacent 'letter-spacing' or 'word-spacing',
85+
when located at the end of the line.
7086
</dl>
7187

72-
Issue: Should ''object trailing-spaces'' be the initial value instead of just ''object''?
73-
Should the initial value be auto,
74-
defined so that that it can vary between
75-
''object'' and ''object trailing-spaces''
76-
depending on properties like 'white-space', 'word-wrap', 'word-break' etc?
77-
78-
Issue: Should we have a ''leading-spaces'' value as well?
79-
It looks like ''object leading-spaces'' may be more appropriate than
80-
''object trailing-spaces'' in right-aligned text,
81-
even though common word processing applications don't do that.
88+
The following addition are made to the default UA stylesheet for HTML:
89+
<pre><code class="lang-css">
90+
ins, del { text-decoration-skip: none; }
91+
</code></pre>
8292

8393
<h2 id=temp>Rescued L3 Brainstorming: Ignore For Now</h2>
8494

0 commit comments

Comments
 (0)