Skip to content

Commit 2baa313

Browse files
committed
[css-text-decor] Shadows match ink color, per wg resolution
1 parent b3fbc24 commit 2baa313

File tree

4 files changed

+24
-6
lines changed

4 files changed

+24
-6
lines changed

css-text-decor/Overview.html

+7
Original file line numberDiff line numberDiff line change
@@ -1695,6 +1695,13 @@ <h2 id=text-shadow-property><span class=secno>4. </span> Text Shadows: the
16951695
allowed.) The shadow is applied to all of the element's text as well as
16961696
any text decorations it specifies.
16971697

1698+
<p>If the color of the shadow is not specified, the shadow has the color of
1699+
the ink it shadows; that is, it matches the ‘<code
1700+
class=property>color</code>’ property when shadowing text, and the ‘<a
1701+
href="#text-decoration-color"><code
1702+
class=property>text-decoration-color</code></a>’ property when shadowing
1703+
text decorations.
1704+
16981705
<p>The shadow effects are applied front-to-back: the first shadow is on
16991706
top. The shadows may thus overlay each other, but they never overlay the
17001707
text itself. The shadow must be painted at a stack level between the

css-text-decor/Overview.src.html

+5
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,11 @@ <h2 id="text-shadow-property">
11561156
The shadow is applied to all of the element's text as well as any
11571157
text decorations it specifies.
11581158

1159+
<p>If the color of the shadow is not specified,
1160+
the shadow has the color of the ink it shadows;
1161+
that is, it matches the 'color' property when shadowing text,
1162+
and the 'text-decoration-color' property when shadowing text decorations.
1163+
11591164
<p>The shadow effects are applied front-to-back: the first shadow is on
11601165
top. The shadows may thus overlay each other, but they never overlay
11611166
the text itself. The shadow must be painted at a stack level between

css-text-decor/issues-lc-2013.html

+7-4
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ <h1>CSS Text Decoration Level 3 Disposition of Comments for 2013-01-03 LCWD</h1>
125125
From: dbaron
126126
Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2013Mar/0532.html">http://lists.w3.org/Archives/Public/www-style/2013Mar/0532.html</a>
127127
Response: <a href="http://lists.w3.org/Archives/Public/www-style/2013May/0145.html">http://lists.w3.org/Archives/Public/www-style/2013May/0145.html</a>
128+
Proposal: Mark undefined
128129
Open
129130
</pre>
130131
<pre class='open' id='issue-12'>
@@ -133,15 +134,17 @@ <h1>CSS Text Decoration Level 3 Disposition of Comments for 2013-01-03 LCWD</h1>
133134
From: dbaron
134135
Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2013Mar/0533.html">http://lists.w3.org/Archives/Public/www-style/2013Mar/0533.html</a>
135136
Response: <a href="http://lists.w3.org/Archives/Public/www-style/2013May/0146.html">http://lists.w3.org/Archives/Public/www-style/2013May/0146.html</a>
137+
Proposal: Mark undefined
136138
Open
137139
</pre>
138-
<pre class='r open' id='issue-13'>
140+
<pre class='open' id='issue-13'>
139141
Issue 13. <a href="#issue-13">#</a>
140142
Summary: Line decorations should have consistent position (ignoring descendants)
141143
From: dbaron
142144
Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2013Mar/0533.html">http://lists.w3.org/Archives/Public/www-style/2013Mar/0533.html</a>
143145
Response: <a href="http://lists.w3.org/Archives/Public/www-style/2013May/0146.html">http://lists.w3.org/Archives/Public/www-style/2013May/0146.html</a>
144-
Open: Rejected
146+
Proposal: Mark undefined
147+
Open
145148
</pre>
146149
<pre class='a' id='issue-14'>
147150
Issue 14. <a href="#issue-14">#</a>
@@ -152,11 +155,11 @@ <h1>CSS Text Decoration Level 3 Disposition of Comments for 2013-01-03 LCWD</h1>
152155
Response: <a href="http://lists.w3.org/Archives/Public/www-style/2013May/0147.html">http://lists.w3.org/Archives/Public/www-style/2013May/0147.html</a>
153156
Closed: Accepted
154157
</pre>
155-
<pre class='open' id='issue-15'>
158+
<pre class='a' id='issue-15'>
156159
Issue 15. <a href="#issue-15">#</a>
157160
Summary: Should text-shadow be ink color or currentColor?
158161
From: dbaron
159162
Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2013May/0150.html">http://lists.w3.org/Archives/Public/www-style/2013May/0150.html</a>
160163
Response: <a href="http://lists.w3.org/Archives/Public/www-style/2013May/0177.html">http://lists.w3.org/Archives/Public/www-style/2013May/0177.html</a>
161-
Open
164+
Closed: Accepted
162165
</pre>

css-text-decor/issues-lc-2013.txt

+5-2
Original file line numberDiff line numberDiff line change
@@ -88,21 +88,24 @@ Summary: Line positioning per-line or across lines?
8888
From: dbaron
8989
Comment: http://lists.w3.org/Archives/Public/www-style/2013Mar/0532.html
9090
Response: http://lists.w3.org/Archives/Public/www-style/2013May/0145.html
91+
Proposal: Mark undefined
9192
Open
9293
----
9394
Issue 12.
9495
Summary: Line decorations should have consistent thickness (ignoring descendants)
9596
From: dbaron
9697
Comment: http://lists.w3.org/Archives/Public/www-style/2013Mar/0533.html
9798
Response: http://lists.w3.org/Archives/Public/www-style/2013May/0146.html
99+
Proposal: Mark undefined
98100
Open
99101
----
100102
Issue 13.
101103
Summary: Line decorations should have consistent position (ignoring descendants)
102104
From: dbaron
103105
Comment: http://lists.w3.org/Archives/Public/www-style/2013Mar/0533.html
104106
Response: http://lists.w3.org/Archives/Public/www-style/2013May/0146.html
105-
Open: Rejected
107+
Proposal: Mark undefined
108+
Open
106109
----
107110
Issue 14.
108111
Summary: Underline positioning needs more detail
@@ -117,5 +120,5 @@ Summary: Should text-shadow be ink color or currentColor?
117120
From: dbaron
118121
Comment: http://lists.w3.org/Archives/Public/www-style/2013May/0150.html
119122
Response: http://lists.w3.org/Archives/Public/www-style/2013May/0177.html
120-
Open
123+
Closed: Accepted
121124
----

0 commit comments

Comments
 (0)