Skip to content

Commit 7096764

Browse files
committed
[css-background] Add definition for ''none'' keyword.
1 parent b6a3c2e commit 7096764

2 files changed

Lines changed: 85 additions & 44 deletions

File tree

css-backgrounds/Overview.html

Lines changed: 69 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<meta content="CSS Backgrounds and Borders Module Level 3"
1313
name=dcterms.title>
1414
<meta content=text name=dcterms.type>
15-
<meta content=2014-08-13 name=dcterms.date>
15+
<meta content=2015-08-14 name=dcterms.date>
1616
<meta content="Bert Bos" name=dcterms.creator>
1717
<meta content="Elika J. Etemad" name=dcterms.creator>
1818
<meta content="Brad Kemper" name=dcterms.creator>
@@ -30,7 +30,7 @@
3030
#box-shadow-samples td { background: white; color: black; }
3131
.css::before, .css::after, .property::before, .property::after { content: none !important;}
3232
</style>
33-
<link href="https://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet
33+
<link href="https://www.w3.org/StyleSheets/TR/W3C-WD.css" rel=stylesheet
3434
type="text/css">
3535
<script defer=defer
3636
src="https://test.csswg.org/harness/annotate.js#css-backgrounds-3_dev"
@@ -39,11 +39,11 @@
3939
<body>
4040
<div class=head> <!--begin-logo-->
4141
<p><a href="http://www.w3.org/"><img alt=W3C height=48
42-
src="https://www.w3.org/Icons/w3c_home" width=72></a> <!--end-logo-->
42+
src="http://www.w3.org/Icons/w3c_home" width=72></a> <!--end-logo-->
4343

4444
<h1>CSS Backgrounds and Borders Module Level 3</h1>
4545

46-
<h2 class="no-num no-toc">Editor's Draft 13 August 2014</h2>
46+
<h2 class="no-num no-toc">Editor's Draft 14 August 2015</h2>
4747

4848
<dl>
4949
<dt>This version:
@@ -64,7 +64,7 @@ <h2 class="no-num no-toc">Editor's Draft 13 August 2014</h2>
6464
<dt>Previous version:
6565

6666
<dd><a
67-
href="http://www.w3.org/TR/2014/WD-css3-background-20140116/">http://www.w3.org/TR/2014/WD-css3-background-20140116/</a>
67+
href="http://www.w3.org/TR/2014/CR-css3-background-20140909/">http://www.w3.org/TR/2014/CR-css3-background-20140909/</a>
6868

6969
<dt>Issue Tracking:
7070

@@ -99,14 +99,14 @@ <h2 class="no-num no-toc">Editor's Draft 13 August 2014</h2>
9999
<!--begin-copyright-->
100100
<p class=copyright><a
101101
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
102-
rel=license>Copyright</a> © 2014 <a href="http://www.w3.org/"><abbr
102+
rel=license>Copyright</a> © 2015 <a href="http://www.w3.org/"><abbr
103103
title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a
104104
href="http://www.csail.mit.edu/"><abbr
105105
title="Massachusetts Institute of Technology">MIT</abbr></a>, <a
106106
href="http://www.ercim.eu/"><abbr
107107
title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>,
108108
<a href="http://www.keio.ac.jp/">Keio</a>, <a
109-
href="http://ev.buaa.edu.cn/">Beihang</a>), All Rights Reserved. W3C <a
109+
href="http://ev.buaa.edu.cn/">Beihang</a>). W3C <a
110110
href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
111111
<a
112112
href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>
@@ -371,21 +371,24 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
371371
<li><a href="#changes"><span class=secno>9. </span> Changes</a>
372372
<ul class=toc>
373373
<li><a href="#changes-2014-07"><span class=secno>9.1. </span> Changes
374+
since the 9 September 2014 Candidate Recommendation</a>
375+
376+
<li><a href="#changes-2014-07"><span class=secno>9.2. </span> Changes
374377
since the 4 February 2014 Last Call Working Draft</a>
375378

376-
<li><a href="#changes-2012-07"><span class=secno>9.2. </span> Changes
379+
<li><a href="#changes-2012-07"><span class=secno>9.3. </span> Changes
377380
since the 24 July 2012 Candidate Recommendation</a>
378381

379-
<li><a href="#changes-2012-04"><span class=secno>9.3. </span> Changes
382+
<li><a href="#changes-2012-04"><span class=secno>9.4. </span> Changes
380383
since the 17 April 2012 Candidate Recommendation</a>
381384

382-
<li><a href="#changes-2012LC"><span class=secno>9.4. </span> Changes
385+
<li><a href="#changes-2012LC"><span class=secno>9.5. </span> Changes
383386
since the 14 February 2012 “Last Call” Working Draft</a>
384387

385-
<li><a href="#changes-2011"><span class=secno>9.5. </span> Changes Since
388+
<li><a href="#changes-2011"><span class=secno>9.6. </span> Changes Since
386389
the 15 February 2011 Candidate Recommendation</a>
387390

388-
<li><a href="#changes-2009"><span class=secno>9.6. </span> Changes Since
391+
<li><a href="#changes-2009"><span class=secno>9.7. </span> Changes Since
389392
the 17 December 2009 Candidate Recommendation</a>
390393
</ul>
391394

@@ -535,7 +538,8 @@ <h3 id=layering><span class=secno>3.1. </span> Layering Multiple Background
535538
number of comma-separated values in the ‘<a
536539
href="#background-image"><code
537540
class=property>background-image</code></a>’ property. Note that a value
538-
of ‘<code class=property>none</code>’ still creates a layer.
541+
of ‘<a href="#box-shadow-none"><code class=property>none</code></a>
542+
still creates a layer.
539543

540544
<p>Each of the images is sized, positioned, and tiled according to the
541545
corresponding value in the other background properties. The lists are
@@ -2045,8 +2049,8 @@ <h4 id=body-background><span class=secno>3.11.2. </span> The Canvas
20452049
class=html>html</code> element <a href="#ref-XHTML11"
20462050
rel=biblioentry>[XHTML11]<!--{{!XHTML11}}--></a>: if the computed value of
20472051
<a href="#background-image"><code
2048-
class=property>background-image</code></a>’ on the root element is
2049-
<code class=css>none</code>’ and its ‘<a
2052+
class=property>background-image</code></a>’ on the root element is<a
2053+
href="#box-shadow-none"><code class=css>none</code></a>’ and its ‘<a
20502054
href="#background-color"><code
20512055
class=property>background-color</code></a>’ is ‘<code
20522056
class=css>transparent</code>’, user agents must instead propagate the
@@ -2347,9 +2351,10 @@ <h3 id=the-border-style><span class=secno>4.2. </span>Line Patterns: the
23472351

23482352
<dt><dfn id=hidden><code class=css>hidden</code></dfn>
23492353

2350-
<dd> Same as ‘<code class=property>none</code>’, but has different
2351-
behavior in the border conflict resolution rules for border-collapsed
2352-
tables <a href="#ref-CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>.
2354+
<dd> Same as ‘<a href="#box-shadow-none"><code
2355+
class=property>none</code></a>’, but has different behavior in the
2356+
border conflict resolution rules for border-collapsed tables <a
2357+
href="#ref-CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>.
23532358

23542359
<dt><dfn id=dotted><code class=css>dotted</code></dfn>
23552360

@@ -2466,7 +2471,8 @@ <h3 id=the-border-width><span class=secno>4.3. </span>Line Thickness: the
24662471
<th>Computed value:
24672472

24682473
<td>absolute length; ‘<code class=css>0</code>’ if the border style
2469-
is ‘<code class=property>none</code>’ or ‘<a href="#hidden"><code
2474+
is ‘<a href="#box-shadow-none"><code
2475+
class=property>none</code></a>’ or ‘<a href="#hidden"><code
24702476
class=property>hidden</code></a>
24712477

24722478
<tr>
@@ -2546,8 +2552,9 @@ <h3 id=the-border-width><span class=secno>4.3. </span>Line Thickness: the
25462552
as top; if right is missing, it is the same as top.
25472553

25482554
<p class=note>Note that the initial width is ‘<code
2549-
class=property>medium</code>’, but the initial style is ‘<code
2550-
class=property>none</code>’ and therefore the used width is 0.
2555+
class=property>medium</code>’, but the initial style is ‘<a
2556+
href="#box-shadow-none"><code class=property>none</code></a>’ and
2557+
therefore the used width is 0.
25512558

25522559
<p>When the used width of the border is 0, we say that the border is
25532560
absent.
@@ -3270,8 +3277,8 @@ <h3 id=the-border-image-source><span class=secno>6.1. </span>Image Source:
32703277
<tr>
32713278
<th>Computed value:
32723279

3273-
<td><code class=css>none</code>’ or the image with its URI made
3274-
absolute
3280+
<td><a href="#box-shadow-none"><code class=css>none</code></a>’ or
3281+
the image with its URI made absolute
32753282

32763283
<tr>
32773284
<th>Animatable:
@@ -3285,10 +3292,10 @@ <h3 id=the-border-image-source><span class=secno>6.1. </span>Image Source:
32853292
class=css>fill</code></a>’ keyword in ‘<a
32863293
href="#border-image-slice"><code
32873294
class=property>border-image-slice</code></a>’, as an additional image
3288-
backdrop for the element. If the value is ‘<code
3289-
class=css>none</code>’ or if the image cannot be displayed (or the
3290-
property doesn't apply), the border styles will be used; otherwise the
3291-
element's ‘<a href="#border-style"><code
3295+
backdrop for the element. If the value is ‘<a
3296+
href="#box-shadow-none"><code class=css>none</code></a>’ or if the image
3297+
cannot be displayed (or the property doesn't apply), the border styles
3298+
will be used; otherwise the element's ‘<a href="#border-style"><code
32923299
class=property>border-style</code></a>’ borders are not drawn and the
32933300
border image is drawn as described in the sections below.
32943301

@@ -3955,8 +3962,12 @@ <h3 id=the-box-shadow><span class=secno>7.1. </span>Drop Shadows: the ‘<a
39553962

39563963
<p>The ‘<a href="#box-shadow"><code
39573964
class=property>box-shadow</code></a>’ property attaches one or more
3958-
drop-shadows to the box. The property takes a comma-separated list of
3959-
shadows, ordered front to back. Each shadow is given as a <a
3965+
drop-shadows to the box. The property accepts either the <dfn
3966+
id=box-shadow-none><code class=css>none</code></dfn> value, which
3967+
indicates no shadows, or a comma-separated list of shadows, ordered front
3968+
to back.
3969+
3970+
<p>Each shadow is given as a <a
39603971
href="#shadow"><var>&lt;shadow&gt;</var></a>, represented by 2-4
39613972
length values, an optional color, and an optional ‘<a
39623973
href="#inset"><code class=css>inset</code></a>’ keyword. Omitted lengths
@@ -4481,7 +4492,21 @@ <h3 id=exit><span class=secno>8.4. </span> CR Exit Criteria</h3>
44814492

44824493
<h2 id=changes><span class=secno>9. </span> Changes</h2>
44834494

4484-
<h3 id=changes-2014-07><span class=secno>9.1. </span> Changes since the 4
4495+
<h3 id=changes-2014-07><span class=secno>9.1. </span> Changes since the 9
4496+
September 2014 Candidate Recommendation</h3>
4497+
4498+
<p>The following (non-trivial) changes were made to this specification
4499+
since the <a
4500+
href="http://www.w3.org/TR/2014/CR-css3-background-20140909/">9 September
4501+
2014 Candidate Recommendation</a>:
4502+
4503+
<ul>
4504+
<li>Added missing definition of ‘<code class=css>box-shadow:
4505+
none</code>’. (Apparently this was obvious enough that nobody noticed
4506+
it was missing until now.)
4507+
</ul>
4508+
4509+
<h3 id=changes-2014-07><span class=secno>9.2. </span> Changes since the 4
44854510
February 2014 Last Call Working Draft</h3>
44864511

44874512
<p>The following (non-trivial) changes were made to this specification
@@ -4501,7 +4526,7 @@ <h3 id=changes-2014-07><span class=secno>9.1. </span> Changes since the 4
45014526
href="http://dev.w3.org/csswg/css-backgrounds-3/issues-lc-2014">Disposition
45024527
of Comments</a> is available.
45034528

4504-
<h3 id=changes-2012-07><span class=secno>9.2. </span> Changes since the 24
4529+
<h3 id=changes-2012-07><span class=secno>9.3. </span> Changes since the 24
45054530
July 2012 Candidate Recommendation</h3>
45064531

45074532
<p>The following (non-trivial) changes were made to this specification
@@ -4546,9 +4571,9 @@ <h3 id=changes-2012-07><span class=secno>9.2. </span> Changes since the 24
45464571
class=property>box-shadow</code></a>’.
45474572

45484573
<li>Clarify that a ‘<a href="#border-style"><code
4549-
class=property>border-style</code></a>’ of ‘<code
4550-
class=css>none</code>’ also implies an initial ‘<a
4551-
href="#border-image-width"><code
4574+
class=property>border-style</code></a>’ of ‘<a
4575+
href="#box-shadow-none"><code class=css>none</code></a>’ also implies
4576+
an initial ‘<a href="#border-image-width"><code
45524577
class=property>border-image-width</code></a>’ of zero (since ‘<a
45534578
href="#border-image-width"><code
45544579
class=property>border-image-width</code></a>’ is initially set to the
@@ -4566,7 +4591,7 @@ <h3 id=changes-2012-07><span class=secno>9.2. </span> Changes since the 24
45664591
<li>Added “Animatable” values to each property definition table.
45674592
</ul>
45684593

4569-
<h3 id=changes-2012-04><span class=secno>9.3. </span> Changes since the 17
4594+
<h3 id=changes-2012-04><span class=secno>9.4. </span> Changes since the 17
45704595
April 2012 Candidate Recommendation</h3>
45714596

45724597
<p>The following (non-editorial) changes were made to this specification
@@ -4584,7 +4609,7 @@ <h3 id=changes-2012-04><span class=secno>9.3. </span> Changes since the 17
45844609
the width/height of the box might need to be increased.
45854610
</ul>
45864611

4587-
<h3 id=changes-2012LC><span class=secno>9.4. </span> Changes since the 14
4612+
<h3 id=changes-2012LC><span class=secno>9.5. </span> Changes since the 14
45884613
February 2012 “Last Call” Working Draft</h3>
45894614

45904615
<p>The following (non-editorial) changes were made to this specification
@@ -4626,7 +4651,7 @@ <h3 id=changes-2012LC><span class=secno>9.4. </span> Changes since the 14
46264651
borders and added that the rendering will be defined later.
46274652
</ul>
46284653

4629-
<h3 id=changes-2011><span class=secno>9.5. </span> Changes Since the 15
4654+
<h3 id=changes-2011><span class=secno>9.6. </span> Changes Since the 15
46304655
February 2011 Candidate Recommendation</h3>
46314656

46324657
<p>The following changes were made to this specification since the <a
@@ -4756,7 +4781,7 @@ <h3 id=changes-2011><span class=secno>9.5. </span> Changes Since the 15
47564781
the property.
47574782
</ul>
47584783

4759-
<h3 id=changes-2009><span class=secno>9.6. </span> Changes Since the 17
4784+
<h3 id=changes-2009><span class=secno>9.7. </span> Changes Since the 17
47604785
December 2009 Candidate Recommendation</h3>
47614786

47624787
<p>The following changes were made to this specification since the <a
@@ -4902,10 +4927,10 @@ <h3 class=no-num id=other-references> Other References</h3>
49024927
<dt id=ref-CSS3-BREAK>[CSS3-BREAK]
49034928

49044929
<dd>Rossen Atanassov; Elika J. Etemad. <a
4905-
href="http://www.w3.org/TR/2014/WD-css3-break-20140116/"><cite>CSS
4906-
Fragmentation Module Level 3.</cite></a> 16 January 2014. W3C Working
4930+
href="http://www.w3.org/TR/2015/WD-css3-break-20150129/"><cite>CSS
4931+
Fragmentation Module Level 3.</cite></a> 29 January 2015. W3C Working
49074932
Draft. (Work in progress.) URL: <a
4908-
href="http://www.w3.org/TR/2014/WD-css3-break-20140116/">http://www.w3.org/TR/2014/WD-css3-break-20140116/</a>
4933+
href="http://www.w3.org/TR/2015/WD-css3-break-20150129/">http://www.w3.org/TR/2015/WD-css3-break-20150129/</a>
49094934
</dd>
49104935
<!---->
49114936

@@ -5911,6 +5936,9 @@ <h2 class=no-num id=index>Index</h2>
59115936
title="section 4.2."><strong>4.2.</strong></a>
59125937
</ul>
59135938

5939+
<li><code class=css>none</code>’, <a href="#box-shadow-none"
5940+
title="section 7.1."><strong>7.1.</strong></a>
5941+
59145942
<li>''no-repeat''
59155943
<ul>
59165944
<li>'background-repeat' value, <a href="#no-repeat"

css-backgrounds/Overview.src.html

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2>
4040
<dt>Latest editor's draft:
4141
<dd><a href="http://dev.w3.org/csswg/css3-background/">http://dev.w3.org/csswg/css3-background/</a>
4242
<dt>Previous version:
43-
<dd><a href="http://www.w3.org/TR/2014/WD-css3-background-20140116/">http://www.w3.org/TR/2014/WD-css3-background-20140116/</a>
43+
<dd><a href="http://www.w3.org/TR/2014/CR-css3-background-20140909/">http://www.w3.org/TR/2014/CR-css3-background-20140909/</a>
4444
<dt>Issue Tracking:
4545
<dd><a href="http://www.w3.org/Style/CSS/Tracker/products/11">http://www.w3.org/Style/CSS/Tracker/products/11</a>
4646
<dt>Feedback:</dt>
@@ -2820,8 +2820,11 @@ <h3 id="the-box-shadow">Drop Shadows: the 'box-shadow' property</h3>
28202820
</table>
28212821

28222822
<p>The 'box-shadow' property attaches one or more drop-shadows to the box.
2823-
The property takes a comma-separated list of shadows, ordered front to back.
2824-
Each shadow is given as a <var>&lt;shadow&gt;</var>,
2823+
The property accepts either
2824+
the <dfn id="box-shadow-none">''none''</dfn> value, which indicates no shadows,
2825+
or a comma-separated list of shadows, ordered front to back.
2826+
2827+
<p>Each shadow is given as a <var>&lt;shadow&gt;</var>,
28252828
represented by 2-4 length values, an optional color, and an optional ''inset'' keyword.
28262829
Omitted lengths are 0; omitted colors default to the value of the 'color' property.
28272830
<pre class=prod>
@@ -3253,6 +3256,16 @@ <h3 id="exit">
32533256
<h2 id="changes">
32543257
Changes</h2>
32553258

3259+
<h3 id="changes-2014-07">
3260+
Changes since the 9 September 2014 Candidate Recommendation</h3>
3261+
3262+
<p>The following (non-trivial) changes were made to this specification since the
3263+
<a href="http://www.w3.org/TR/2014/CR-css3-background-20140909/">9 September 2014 Candidate Recommendation</a>:
3264+
<ul>
3265+
<li>Added missing definition of ''box-shadow: none''.
3266+
(Apparently this was obvious enough that nobody noticed it was missing until now.)
3267+
</ul>
3268+
32563269
<h3 id="changes-2014-07">
32573270
Changes since the 4 February 2014 Last Call Working Draft</h3>
32583271

0 commit comments

Comments
 (0)