@@ -40,8 +40,8 @@ by adding the ''trailing-spaces'' value.
40
40
41
41
<pre class="propdef">
42
42
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
45
45
Applies to : all elements
46
46
Inherited : yes
47
47
Percentages : N/A
@@ -50,6 +50,15 @@ by adding the ''trailing-spaces'' value.
50
50
Animatable : no
51
51
</pre>
52
52
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
+
53
62
Issue: Add final level 3 content
54
63
55
64
<dl dfn-type=value dfn-for=text-decoration-skip>
@@ -62,23 +71,24 @@ by adding the ''trailing-spaces'' value.
62
71
<dd>
63
72
64
73
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.
65
80
<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.
70
86
</dl>
71
87
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>
82
92
83
93
<h2 id=temp>Rescued L3 Brainstorming: Ignore For Now</h2>
84
94
0 commit comments