Skip to content

Commit 563fb32

Browse files
committed
fix error in box-shadow examples, simplify box-shadow syntax to be more clear, remove references to CSS3 Tables
1 parent 7f8c0ec commit 563fb32

2 files changed

Lines changed: 19 additions & 20 deletions

File tree

css3-background/Overview.html

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2197,8 +2197,9 @@ <h3 id=the-border-style><span class=secno>4.2 </span>The &lsquo;<code
21972197
<dt><dfn id=hidden>hidden</dfn>
21982198

21992199
<dd> Same as &lsquo;<code class=property>none</code>&rsquo;, but has
2200-
different behavior in the conflict resolution rules for tables <a
2201-
href="#CSS3TBL" rel=biblioentry>[CSS3TBL]<!--{{CSS3TBL}}--></a>.
2200+
different behavior in the border conflict resolution rules for
2201+
border-collapsed tables <a href="#CSS21"
2202+
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>.
22022203

22032204
<dt><dfn id=dotted>dotted</dfn>
22042205

@@ -2233,12 +2234,16 @@ <h3 id=the-border-style><span class=secno>4.2 </span>The &lsquo;<code
22332234
<dt><dfn id=inset>inset</dfn>
22342235

22352236
<dd> Looks as if the content on inside of the border is sunken into the
2236-
canvas. Different meaning on table[ref] elements.
2237+
canvas. Treated as &lsquo;<code class=property><a
2238+
href="#ridge">ridge</a></code>&rsquo; in border-collapsed tables. <a
2239+
href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>
22372240

22382241
<dt><dfn id=outset>outset</dfn>
22392242

22402243
<dd> Looks as if the content on the inside of the border is coming out of
2241-
the canvas. Different meaning for table[ref] elements.
2244+
the canvas. Treated as &lsquo;<code class=property><a
2245+
href="#groove">groove</a></code>&rsquo; in border-collapsed tables. <a
2246+
href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>
22422247
</dl>
22432248

22442249
<p>Borders are drawn in front of the element's background, but behind the
@@ -3240,7 +3245,7 @@ <h3 id=the-box-shadow><span class=secno>4.8 </span>The &lsquo;<code
32403245
<p>The type <dfn id=ltshadowgt><var>&lt;shadow&gt;</var></dfn> stands for:
32413246

32423247
<pre class=rhs>
3243-
inset || [ <var><a href="#position-length">&lt;length&gt;</a></var> <var><a href="#position-length">&lt;length&gt;</a></var> <var><a href="#position-length">&lt;length&gt;</a></var>? <var><a href="#position-length">&lt;length&gt;</a></var>? || <var>&lt;color&gt;</var> ]</pre>
3248+
inset || [ <var><a href="#position-length">&lt;length&gt;</a></var>{2,4} || <var>&lt;color&gt;</var> ]</pre>
32443249

32453250
<p>where the first two lengths are required. The components of each <var><a
32463251
href="#ltshadowgt">&lt;shadow&gt;</a></var> are interpreted as follows:
@@ -3358,7 +3363,7 @@ <h3 id=the-box-shadow><span class=secno>4.8 </span>The &lsquo;<code
33583363
<pre><code><!--
33593364
-->box-shadow:
33603365
<!-- --> rgba(0,0,0,0.4)
3361-
<!-- --> 10px 10px
3366+
<!-- --> 10px 10px 0
33623367
<!-- --> 10px /* spread */<!--
33633368
--></code></pre>
33643369

@@ -3379,7 +3384,7 @@ <h3 id=the-box-shadow><span class=secno>4.8 </span>The &lsquo;<code
33793384
<pre><code><!--
33803385
-->box-shadow:
33813386
<!-- --> rgba(0,0,0,0.4)
3382-
<!-- --> 10px 10px
3387+
<!-- --> 10px 10px 0
33833388
<!-- --> 10px /* spread */
33843389
<!-- --> inset<!--
33853390
--></code></pre>
@@ -3855,12 +3860,6 @@ <h3 class=no-num id=other-references>Other references</h3>
38553860
</dd>
38563861
<!---->
38573862

3858-
<dt id=CSS3TBL>[CSS3TBL]
3859-
3860-
<dd>Bert Bos; David Hyatt. <cite>CSS3 Tables Module.</cite> (forthcoming).
3861-
W3C Working Draft. (Work in progress.)</dd>
3862-
<!---->
3863-
38643863
<dt id=RFC2854>[RFC2854]
38653864

38663865
<dd>D. Connolly; L. Masinter. <a

css3-background/Overview.src.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,8 +1599,8 @@ <h3 id="the-border-style">The 'border-style' properties</h3>
15991599

16001600
<dt><dfn>hidden</dfn>
16011601
<dd>
1602-
Same as 'none', but has different behavior in the conflict
1603-
resolution rules for tables [[CSS3TBL]].
1602+
Same as 'none', but has different behavior in the border conflict
1603+
resolution rules for border-collapsed tables [[!CSS21]].
16041604

16051605
<dt><dfn>dotted</dfn>
16061606
<dd>
@@ -1635,12 +1635,12 @@ <h3 id="the-border-style">The 'border-style' properties</h3>
16351635
<dt><dfn>inset</dfn>
16361636
<dd>
16371637
Looks as if the content on inside of the border is sunken into the
1638-
canvas. Different meaning on table[ref] elements.
1638+
canvas. Treated as 'ridge' in border-collapsed tables. [[!CSS21]]
16391639

16401640
<dt><dfn>outset</dfn>
16411641
<dd>
16421642
Looks as if the content on the inside of the border is coming out of
1643-
the canvas. Different meaning for table[ref] elements.
1643+
the canvas. Treated as 'groove' in border-collapsed tables. [[!CSS21]]
16441644
</dl>
16451645

16461646
<p>Borders are drawn in front of the element's background, but behind
@@ -2426,7 +2426,7 @@ <h3 id="the-box-shadow">The 'box-shadow' property</h3>
24262426

24272427
<p>The type <dfn><var>&lt;shadow&gt;</var></dfn> stands for:
24282428
<pre class="rhs">
2429-
inset || [ <var>&lt;length&gt;</var> <var>&lt;length&gt;</var> <var>&lt;length&gt;</var>? <var>&lt;length&gt;</var>? || <var>&lt;color&gt;</var> ]</pre>
2429+
inset || [ <var>&lt;length&gt;</var>{2,4} || <var>&lt;color&gt;</var> ]</pre>
24302430
<p>where the first two lengths are required. The components of each
24312431
<var>&lt;shadow&gt;</var> are interpreted as follows:
24322432

@@ -2536,7 +2536,7 @@ <h3 id="the-box-shadow">The 'box-shadow' property</h3>
25362536
<pre><code><!--
25372537
-->box-shadow:
25382538
<!-- --> rgba(0,0,0,0.4)
2539-
<!-- --> 10px 10px
2539+
<!-- --> 10px 10px 0
25402540
<!-- --> 10px /* spread */<!--
25412541
--></code></pre>
25422542
<td>
@@ -2556,7 +2556,7 @@ <h3 id="the-box-shadow">The 'box-shadow' property</h3>
25562556
<pre><code><!--
25572557
-->box-shadow:
25582558
<!-- --> rgba(0,0,0,0.4)
2559-
<!-- --> 10px 10px
2559+
<!-- --> 10px 10px 0
25602560
<!-- --> 10px /* spread */
25612561
<!-- --> inset<!--
25622562
--></code></pre>

0 commit comments

Comments
 (0)