Skip to content

Commit 82e9ce8

Browse files
committed
rearrange Definitions section (move Glossary section above Conformance, shift Profiles section down below Conformance and rename and update it
1 parent 563fb32 commit 82e9ce8

2 files changed

Lines changed: 224 additions & 234 deletions

File tree

css3-background/Overview.html

Lines changed: 157 additions & 157 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,21 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
235235

236236
<li><a href="#definitions"><span class=secno>5 </span>Definitions</a>
237237
<ul class=toc>
238-
<li><a href="#profiles"><span class=secno>5.1 </span>Profiles</a>
238+
<li><a href="#glossary"><span class=secno>5.1 </span>Glossary</a>
239239

240240
<li><a href="#conformance"><span class=secno>5.2 </span>Conformance</a>
241241

242-
<li><a href="#glossary"><span class=secno>5.3 </span>Glossary</a>
242+
<li><a href="#levels"><span class=secno>5.3 </span>Levels</a>
243+
<ul class=toc>
244+
<li><a href="#css-level-1"><span class=secno>5.3.1 </span>CSS Level
245+
1</a>
246+
247+
<li><a href="#css-level-2"><span class=secno>5.3.2 </span>CSS Level
248+
2</a>
249+
250+
<li><a href="#css-level-3"><span class=secno>5.3.3 </span>CSS Level
251+
3</a>
252+
</ul>
243253

244254
<li><a href="#exit"><span class=secno>5.4 </span>CR exit criteria</a>
245255
</ul>
@@ -3415,133 +3425,53 @@ <h3 id=the-box-shadow><span class=secno>4.8 </span>The &lsquo;<code
34153425

34163426
<h2 id=definitions><span class=secno>5 </span>Definitions</h2>
34173427

3418-
<h3 id=profiles><span class=secno>5.1 </span>Profiles</h3>
3419-
3420-
<p class=issue>(NOTE: Check profiles because of changes made!)
3421-
3422-
<p>CSS1 Profile:
3423-
3424-
<ul>
3425-
<li>&lsquo;<code class=property><a
3426-
href="#background-color">background-color</a></code>&rsquo;
3427-
3428-
<li>&lsquo;<code class=property><a
3429-
href="#background-image">background-image</a></code>&rsquo;
3430-
3431-
<li>&lsquo;<code class=property><a
3432-
href="#background-repeat">background-repeat</a></code>&rsquo;: only
3433-
repeat, repeat-x, repeat-y, no-repeat
3434-
3435-
<li>&lsquo;<code class=property><a
3436-
href="#background-attachment">background-attachment</a></code>&rsquo;
3437-
3438-
<li>&lsquo;<code class=property><a
3439-
href="#background-position">background-position</a></code>&rsquo;
3440-
3441-
<li>&lsquo;<code class=property><a
3442-
href="#background">background</a></code>&rsquo;: only color, image,
3443-
repeat, attachment and position
3444-
3445-
<li>&lsquo;<code class=property><a
3446-
href="#background-origin">background-origin</a></code>&rsquo; always has
3447-
value &lsquo;<code class=css><a
3448-
href="#content-box">content-box</a></code>&rsquo;
3449-
3450-
<li>&lsquo;<code class=property><a
3451-
href="#background-clip">background-clip</a></code>&rsquo; always has
3452-
value &lsquo;<code class=css><a
3453-
href="#border-box">border-box</a></code>&rsquo;
3454-
3455-
<li>&lsquo;<code class=property><a
3456-
href="#background-break">background-break</a></code>&rsquo; always has
3457-
value &lsquo;<code class=css><a
3458-
href="#continuous">continuous</a></code>&rsquo;
3459-
</ul>
3460-
3461-
<p>CSS2 Profile:
3462-
3463-
<ul>
3464-
<li>&lsquo;<code class=property><a
3465-
href="#background-color">background-color</a></code>&rsquo;
3466-
3467-
<li>&lsquo;<code class=property><a
3468-
href="#background-image">background-image</a></code>&rsquo;
3469-
3470-
<li>&lsquo;<code class=property><a
3471-
href="#background-repeat">background-repeat</a></code>&rsquo;: only
3472-
repeat, repeat-x, repeat-y, no-repeat
3473-
3474-
<li>&lsquo;<code class=property><a
3475-
href="#background-attachment">background-attachment</a></code>&rsquo;
3476-
3477-
<li>&lsquo;<code class=property><a
3478-
href="#background-position">background-position</a></code>&rsquo;
3479-
3480-
<li>&lsquo;<code class=property><a
3481-
href="#background">background</a></code>&rsquo;: only color, image,
3482-
repeat, attachment and position
3483-
3484-
<li>&lsquo;<code class=property><a
3485-
href="#background-origin">background-origin</a></code>&rsquo; always has
3486-
value &lsquo;<code class=css><a
3487-
href="#padding-box">padding-box</a></code>&rsquo;
3488-
3489-
<li>&lsquo;<code class=property><a
3490-
href="#background-clip">background-clip</a></code>&rsquo; always has
3491-
value &lsquo;<code class=css><a
3492-
href="#border-box">border-box</a></code>&rsquo;
3428+
<h3 id=glossary><span class=secno>5.1 </span>Glossary</h3>
34933429

3494-
<li>&lsquo;<code class=property><a
3495-
href="#background-break">background-break</a></code>&rsquo; always has
3496-
value &lsquo;<code class=css><a
3497-
href="#continuous">continuous</a></code>&rsquo;
3498-
</ul>
3430+
<p>The following terms and abbreviations are used in this module.
34993431

3500-
<p>Mobile and TV Profiles (informative, see their specifications):
3432+
<dl>
3433+
<dt><dfn id=ua>UA</dfn>
35013434

3502-
<ul>
3503-
<li>&lsquo;<code class=property><a
3504-
href="#background-color">background-color</a></code>&rsquo;
3435+
<dt><dfn id=user-agent>User Agent</dfn>
35053436

3506-
<li>&lsquo;<code class=property><a
3507-
href="#background-image">background-image</a></code>&rsquo;
3437+
<dd>
3438+
<p>A program that reads and/or writes CSS style sheets on behalf of a
3439+
user in either or both of these categories: programs whose purpose is to
3440+
render <a href="#document" title=document>documents</a> (e.g., browsers)
3441+
and programs whose purpose is to create style sheets (e.g., editors). A
3442+
UA may fall into both categories. (There are other programs that read or
3443+
write style sheets, but this module gives no rules for them.)
35083444

3509-
<li>&lsquo;<code class=property><a
3510-
href="#background-repeat">background-repeat</a></code>&rsquo;: only
3511-
repeat, repeat-x, repeat-y, no-repeat
3445+
<dt><dfn id=document>document</dfn>
35123446

3513-
<li>&lsquo;<code class=property><a
3514-
href="#background-position">background-position</a></code>&rsquo;
3447+
<dt><dfn id=source-document>source document</dfn>
35153448

3516-
<li>&lsquo;<code class=property><a
3517-
href="#background">background</a></code>&rsquo;: only color, image,
3518-
repeat and position
3449+
<dd>
3450+
<p>A tree-structured document with elements and attributes, such as an
3451+
SGML or XML document <a href="#XML11"
3452+
rel=biblioentry>[XML11]<!--{{XML11}}--></a>.
35193453

3520-
<li>&lsquo;<code class=property><a
3521-
href="#background-attachment">background-attachment</a></code>&rsquo;:
3522-
always has value &lsquo;<code class=css>scroll</code>&rsquo;
3454+
<dt><dfn id=html-document>HTML document</dfn>
35233455

3524-
<li>&lsquo;<code class=property><a
3525-
href="#background-origin">background-origin</a></code>&rsquo; always has
3526-
value &lsquo;<code class=css><a
3527-
href="#padding-box">padding-box</a></code>&rsquo;
3456+
<dd>
3457+
<p>A document that has the MIME type text/html <a href="#RFC2854"
3458+
rel=biblioentry>[RFC2854]<!--{{RFC2854}}--></a> and conforms to that
3459+
type.
35283460

3529-
<li>&lsquo;<code class=property><a
3530-
href="#background-clip">background-clip</a></code>&rsquo; always has
3531-
value &lsquo;<code class=css><a
3532-
href="#border-box">border-box</a></code>&rsquo;
3461+
<dt><dfn id=xhtml-document>XHTML document</dfn>
35333462

3534-
<li>&lsquo;<code class=property><a
3535-
href="#background-break">background-break</a></code>&rsquo; always has
3536-
value &lsquo;<code class=css><a
3537-
href="#continuous">continuous</a></code>&rsquo;
3538-
</ul>
3463+
<dd>
3464+
<p>A document that has the MIME type text/xhtml+xml or
3465+
application/xhtml+xml <a href="#RFC3236"
3466+
rel=biblioentry>[RFC3236]<!--{{RFC3236}}--></a> and conforms to either
3467+
type.
35393468

3540-
<p>CSS3 Profile:
3469+
<dt><dfn id=style-sheet>style sheet</dfn>
35413470

3542-
<ul>
3543-
<li>Everything (as described in this specification)
3544-
</ul>
3471+
<dd>
3472+
<p>A <a href="http://www.w3.org/TR/CSS21/conform.html#style-sheet">CSS
3473+
style sheet</a>.
3474+
</dl>
35453475

35463476
<h3 id=conformance><span class=secno>5.2 </span>Conformance</h3>
35473477

@@ -3604,53 +3534,123 @@ <h3 id=conformance><span class=secno>5.2 </span>Conformance</h3>
36043534
if it writes syntactically correct style sheets, according to the generic
36053535
CSS grammar and the individual grammars of each property in this module.
36063536

3607-
<h3 id=glossary><span class=secno>5.3 </span>Glossary</h3>
3537+
<h3 id=levels><span class=secno>5.3 </span>Levels</h3>
36083538

3609-
<p>The following terms and abbreviations are used in this module.
3539+
<p><em>This section is informative.</em> CSS has different levels of
3540+
features, each a subset of the other. (See [[CSSBEIJING]] for a full
3541+
explanation.) The lists below describe which features from this
3542+
specification are in each level.
36103543

3611-
<dl>
3612-
<dt><dfn id=ua>UA</dfn>
3544+
<h4 id=css-level-1><span class=secno>5.3.1 </span>CSS Level 1</h4>
36133545

3614-
<dt><dfn id=user-agent>User Agent</dfn>
3546+
<ul>
3547+
<li>&lsquo;<code class=property><a
3548+
href="#background-color">background-color</a></code>&rsquo;: only one
3549+
color (no fallback)
36153550

3616-
<dd>
3617-
<p>A program that reads and/or writes CSS style sheets on behalf of a
3618-
user in either or both of these categories: programs whose purpose is to
3619-
render <a href="#document" title=document>documents</a> (e.g., browsers)
3620-
and programs whose purpose is to create style sheets (e.g., editors). A
3621-
UA may fall into both categories. (There are other programs that read or
3622-
write style sheets, but this module gives no rules for them.)
3551+
<li>&lsquo;<code class=property><a
3552+
href="#background-image">background-image</a></code>&rsquo; only one
3553+
image (no layers)
36233554

3624-
<dt><dfn id=document>document</dfn>
3555+
<li>&lsquo;<code class=property><a
3556+
href="#background-repeat">background-repeat</a></code>&rsquo;: only
3557+
&lsquo;<code class=property><a href="#repeat">repeat</a></code>&rsquo; |
3558+
&lsquo;<code class=property><a
3559+
href="#repeat-x">repeat-x</a></code>&rsquo; | &lsquo;<code
3560+
class=property><a href="#repeat-y">repeat-y</a></code>&rsquo; |
3561+
&lsquo;<code class=property><a
3562+
href="#no-repeat">no-repeat</a></code>&rsquo;
36253563

3626-
<dt><dfn id=source-document>source document</dfn>
3564+
<li>&lsquo;<code class=property><a
3565+
href="#background-attachment">background-attachment</a></code>&rsquo;:
3566+
only &lsquo;<code class=property>scroll</code>&rsquo; | &lsquo;<code
3567+
class=property>fixed</code>&rsquo;
36273568

3628-
<dd>
3629-
<p>A tree-structured document with elements and attributes, such as an
3630-
SGML or XML document <a href="#XML11"
3631-
rel=biblioentry>[XML11]<!--{{XML11}}--></a>.
3569+
<li>&lsquo;<code class=property><a
3570+
href="#background-position">background-position</a></code>&rsquo;: only
3571+
one or two values allowed
36323572

3633-
<dt><dfn id=html-document>HTML document</dfn>
3573+
<li>&lsquo;<code class=property><a
3574+
href="#background">background</a></code>&rsquo; shorthand: only color,
3575+
image, repeat, attachment and position
36343576

3635-
<dd>
3636-
<p>A document that has the MIME type text/html <a href="#RFC2854"
3637-
rel=biblioentry>[RFC2854]<!--{{RFC2854}}--></a> and conforms to that
3638-
type.
3577+
<li>&lsquo;<code class=property><a
3578+
href="#border-color">border-color</a></code>&rsquo; properties
36393579

3640-
<dt><dfn id=xhtml-document>XHTML document</dfn>
3580+
<li>&lsquo;<code class=property><a
3581+
href="#border-style">border-style</a></code>&rsquo; properties
36413582

3642-
<dd>
3643-
<p>A document that has the MIME type text/xhtml+xml or
3644-
application/xhtml+xml <a href="#RFC3236"
3645-
rel=biblioentry>[RFC3236]<!--{{RFC3236}}--></a> and conforms to either
3646-
type.
3583+
<li>&lsquo;<code class=property><a
3584+
href="#border-width">border-width</a></code>&rsquo; properties
36473585

3648-
<dt><dfn id=style-sheet>style sheet</dfn>
3586+
<li>&lsquo;<code class=property><a
3587+
href="#border-top">border-top</a></code>&rsquo;, &lsquo;<code
3588+
class=property><a href="#border-bottom">border-bottom</a></code>&rsquo;,
3589+
&lsquo;<code class=property><a
3590+
href="#border-right">border-right</a></code>&rsquo;, &lsquo;<code
3591+
class=property><a href="#border-left">border-left</a></code>&rsquo;, and
3592+
&lsquo;<code class=property><a href="#border">border</a></code>&rsquo;
3593+
shorthands
3594+
</ul>
36493595

3650-
<dd>
3651-
<p>A <a href="http://www.w3.org/TR/CSS21/conform.html#style-sheet">CSS
3652-
style sheet</a>.
3653-
</dl>
3596+
<h4 id=css-level-2><span class=secno>5.3.2 </span>CSS Level 2</h4>
3597+
3598+
<ul>
3599+
<li>&lsquo;<code class=property><a
3600+
href="#background-color">background-color</a></code>&rsquo;: only one
3601+
color (no fallback)
3602+
3603+
<li>&lsquo;<code class=property><a
3604+
href="#background-image">background-image</a></code>&rsquo;: only one
3605+
image (no layers)
3606+
3607+
<li>&lsquo;<code class=property><a
3608+
href="#background-repeat">background-repeat</a></code>&rsquo;: only
3609+
&lsquo;<code class=property><a href="#repeat">repeat</a></code>&rsquo; |
3610+
&lsquo;<code class=property><a
3611+
href="#repeat-x">repeat-x</a></code>&rsquo; | &lsquo;<code
3612+
class=property><a href="#repeat-y">repeat-y</a></code>&rsquo; |
3613+
&lsquo;<code class=property><a
3614+
href="#no-repeat">no-repeat</a></code>&rsquo;
3615+
3616+
<li>&lsquo;<code class=property><a
3617+
href="#background-attachment">background-attachment</a></code>&rsquo;:
3618+
only &lsquo;<code class=property>scroll</code>&rsquo; | &lsquo;<code
3619+
class=property>fixed</code>&rsquo;
3620+
3621+
<li>&lsquo;<code class=property><a
3622+
href="#background-position">background-position</a></code>&rsquo;: only
3623+
one or two values allowed
3624+
3625+
<li>&lsquo;<code class=property><a
3626+
href="#background">background</a></code>&rsquo;: only color, image,
3627+
repeat, attachment and position
3628+
3629+
<li>&lsquo;<code class=property><a
3630+
href="#border-color">border-color</a></code>&rsquo; properties
3631+
3632+
<li>&lsquo;<code class=property><a
3633+
href="#border-style">border-style</a></code>&rsquo; properties
3634+
3635+
<li>&lsquo;<code class=property><a
3636+
href="#border-width">border-width</a></code>&rsquo; properties
3637+
3638+
<li>&lsquo;<code class=property><a
3639+
href="#border-top">border-top</a></code>&rsquo;, &lsquo;<code
3640+
class=property><a href="#border-bottom">border-bottom</a></code>&rsquo;,
3641+
&lsquo;<code class=property><a
3642+
href="#border-right">border-right</a></code>&rsquo;, &lsquo;<code
3643+
class=property><a href="#border-left">border-left</a></code>&rsquo;, and
3644+
&lsquo;<code class=property><a href="#border">border</a></code>&rsquo;
3645+
shorthands
3646+
</ul>
3647+
3648+
<h4 id=css-level-3><span class=secno>5.3.3 </span>CSS Level 3</h4>
3649+
3650+
<ul>
3651+
<li>All features described in the CSS Backgrounds and Borders Module Level
3652+
3
3653+
</ul>
36543654

36553655
<h3 id=exit><span class=secno>5.4 </span>CR exit criteria</h3>
36563656

@@ -4470,7 +4470,7 @@ <h2 class=no-num id=index>Index</h2>
44704470

44714471
<li>dashed, <a href="#dashed" title=dashed><strong>4.2</strong></a>
44724472

4473-
<li>document, <a href="#document" title=document><strong>5.3</strong></a>
4473+
<li>document, <a href="#document" title=document><strong>5.1</strong></a>
44744474

44754475
<li>dotted, <a href="#dotted" title=dotted><strong>4.2</strong></a>
44764476

@@ -4491,7 +4491,7 @@ <h2 class=no-num id=index>Index</h2>
44914491
<li>hidden, <a href="#hidden" title=hidden><strong>4.2</strong></a>
44924492

44934493
<li>HTML document, <a href="#html-document" title="HTML
4494-
document"><strong>5.3</strong></a>
4494+
document"><strong>5.1</strong></a>
44954495

44964496
<li>inset, <a href="#inset" title=inset><strong>4.2</strong></a>
44974497

@@ -4546,26 +4546,26 @@ <h2 class=no-num id=index>Index</h2>
45464546
<li>solid, <a href="#solid" title=solid><strong>4.2</strong></a>
45474547

45484548
<li>source document, <a href="#source-document" title="source
4549-
document"><strong>5.3</strong></a>
4549+
document"><strong>5.1</strong></a>
45504550

45514551
<li>space, <a href="#space" title=space><strong>3.4</strong></a>, <a
45524552
href="#space-space" title=space><strong>3.4</strong></a>
45534553

45544554
<li>style sheet, <a href="#style-sheet" title="style
4555-
sheet"><strong>5.3</strong></a>, <a href="#style-sheet-conform"
4555+
sheet"><strong>5.1</strong></a>, <a href="#style-sheet-conform"
45564556
title="style sheet"><strong>5.2</strong></a>
45574557

45584558
<li>top, <a href="#position-top" title=top><strong>3.6</strong></a>
45594559

4560-
<li>UA, <a href="#ua" title=UA><strong>5.3</strong></a>
4560+
<li>UA, <a href="#ua" title=UA><strong>5.1</strong></a>
45614561

45624562
<li>User Agent, <a href="#user-agent" title="User
4563-
Agent"><strong>5.3</strong></a>
4563+
Agent"><strong>5.1</strong></a>
45644564

45654565
<li>viewport, <a href="#viewport" title=viewport>3.5</a>
45664566

45674567
<li>XHTML document, <a href="#xhtml-document" title="XHTML
4568-
document"><strong>5.3</strong></a>
4568+
document"><strong>5.1</strong></a>
45694569
</ul>
45704570
<!--end-index-->
45714571
</html>

0 commit comments

Comments
 (0)