E84D Cleanup of index, ids, and references. · w3c/csswg-drafts@1f82057 · GitHub
Skip to content

Commit 1f82057

Browse files
committed
Cleanup of index, ids, and references.
1 parent d9f1d8b commit 1f82057

2 files changed

Lines changed: 93 additions & 56 deletions

File tree

css3-conditional/Overview.html

Lines changed: 83 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
<h1>CSS Conditional Rules Module Level 3</h1>
1919

20-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 6 June 2011</h2>
20+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 7 June 2011</h2>
2121

2222
<dl>
2323
<dt>This version:
2424

25-
<dd><a href="http://www.w3.org/TR/2011/ED-css3-conditional-20110606/">
26-
http://www.w3.org/TR/2011/ED-css3-conditional-20110606</a>
25+
<dd><a href="http://www.w3.org/TR/2011/ED-css3-conditional-20110607/">
26+
http://www.w3.org/TR/2011/ED-css3-conditional-20110607</a>
2727

2828
<dt>Latest version:
2929

@@ -695,19 +695,21 @@ <h2 id=at-document><span class=secno>6. </span>Document queries: the
695695
functions are permitted:
696696

697697
<dl>
698-
<dt>&lt;url&gt;
698+
<dt><dfn id=lturlgt title="url()|URL matching
699+
functions::exact">&lt;url&gt;</dfn>
699700

700701
<dd>
701-
<p>The &lsquo;<code class=css>url()</code>&rsquo; function is the <dfn
702-
id=exact-url-matching-function>exact url matching function</dfn>. It
703-
evaluates to true whenever the URL of the document being styled is
704-
exactly the URL given.</p>
705-
706-
<p class=Note>The &lsquo;<code class=css>url()</code>&rsquo; function,
707-
since it is a core syntax element in CSS, is allowed (subject to
708-
different character limitations and thus escaping requirements) to
709-
contain an unquoted value (in addition to the string values that are
710-
allowed as arguments for all four functions).</p>
702+
<p>The &lsquo;<a href="#lturlgt"><code class=css>url()</code></a>&rsquo;
703+
function is the <dfn id=exact-url-matching-function>exact url matching
704+
function</dfn>. It evaluates to true whenever the URL of the document
705+
being styled is exactly the URL given.</p>
706+
707+
<p class=Note>The &lsquo;<a href="#lturlgt"><code
708+
class=css>url()</code></a>&rsquo; function, since it is a core syntax
709+
element in CSS, is allowed (subject to different character limitations
710+
and thus escaping requirements) to contain an unquoted value (in
711+
addition to the string values that are allowed as arguments for all four
712+
functions).</p>
711713

712714
<div class=example>
713715
<p>For example, this rule:</p>
@@ -720,14 +722,16 @@ <h2 id=at-document><span class=secno>6. </span>Document queries: the
720722
<code>http://www.w3.org/Style/CSS/</code>, but not on any other pages.</p>
721723
</div>
722724

723-
<dt>url-prefix(&lt;string&gt;)
725+
<dt><dfn id=url-prefixltstringgt title="url-prefix()|URL matching
726+
functions::prefix">url-prefix(&lt;string&gt;)</dfn>
724727

725728
<dd>
726-
<p>The &lsquo;<code class=css>url-prefix()</code>&rsquo; function is the
727-
<dfn id=url-prefix-matching-function>url prefix matching function</dfn>.
728-
It evaluates to true whenever the URL of the document being styled has
729-
the argument to the function as an initial substring (which is true when
730-
the two strings are equal). When the argument is the empty string, it
729+
<p>The &lsquo;<a href="#url-prefixltstringgt"><code
730+
class=css>url-prefix()</code></a>&rsquo; function is the <dfn
731+
id=url-prefix-matching-function>url prefix matching function</dfn>. It
732+
evaluates to true whenever the URL of the document being styled has the
733+
argument to the function as an initial substring (which is true when the
734+
two strings are equal). When the argument is the empty string, it
731735
evaluates to true for all documents.</p>
732736

733737
<div class=example>
@@ -744,17 +748,21 @@ <h2 id=at-document><span class=secno>6. </span>Document queries: the
744748
<code>http://www.example.com/Style/CSS/</code>.</p>
745749
</div>
746750

747-
<dt>domain(&lt;string&gt;)
751+
<dt><dfn id=domainltstringgt title="domain()|URL matching
752+
functions::domain">domain(&lt;string&gt;)</dfn>
748753

749754
<dd>
750-
<p>The &lsquo;<code class=css>domain()</code>&rsquo; function is the <dfn
755+
<p>The &lsquo;<a href="#domainltstringgt"><code
756+
class=css>domain()</code></a>&rsquo; function is the <dfn
751757
id=domain-matching-function>domain matching function</dfn>. It evaluates
752758
to true whenever the URL of the page has a host subcomponent (as defined
753759
in <a href="#URI" rel=biblioentry>[URI]<!--{{!URI}}--></a>) and that
754-
host subcomponent is exactly the argument to the &lsquo;<code
755-
class=css>domain()</code>&rsquo; function or a final substring of the
756-
host component is a period (U+002E) immediately followed by the argument
757-
to the &lsquo;<code class=css>domain()</code>&rsquo; function.</p>
760+
host subcomponent is exactly the argument to the &lsquo;<a
761+
href="#domainltstringgt"><code class=css>domain()</code></a>&rsquo;
762+
function or a final substring of the host component is a period (U+002E)
763+
immediately followed by the argument to the &lsquo;<a
764+
href="#domainltstringgt"><code class=css>domain()</code></a>&rsquo;
765+
function.</p>
758766

759767
<div class=example>
760768
<p>For example, this rule:</p>
@@ -770,21 +778,24 @@ <h2 id=at-document><span class=secno>6. </span>Document queries: the
770778
not affect the page <code>http://www.example.com/Style/CSS/</code>.</p>
771779
</div>
772780

773-
<dt>regexp(&lt;string&gt;)
781+
<dt><dfn id=regexpltstringgt title="regexp()|URL matching
782+
functions::regular expression">regexp(&lt;string&gt;)</dfn>
774783

775784
<dd>
776785
<p>The contents of the &lt;string&gt; argument <strong>must</strong>
777786
match the JavaScript <code>Pattern</code> production. However, failing
778787
to do so is not a CSS syntax error and does not trigger any error
779788
handling for CSS syntax errors.</p>
780789

781-
<p>The &lsquo;<code class=css>regexp()</code>&rsquo; function evaluates
782-
to true whenever the string argument compiled as a JavaScript regular
783-
expression with the <code>global</code>, <code>ignoreCase</code> and
784-
<code>multiline</code> flags <em>disabled</em> (see <a href="#ECMA-262"
790+
<p>The &lsquo;<a href="#regexpltstringgt"><code
791+
class=css>regexp()</code></a>&rsquo; function evaluates to true whenever
792+
the string argument compiled as a JavaScript regular expression with the
793+
<code>global</code>, <code>ignoreCase</code> and <code>multiline</code>
794+
flags <em>disabled</em> (see <a href="#ECMA-262"
785795
rel=biblioentry>[ECMA-262]<!--{{!ECMA-262}}--></a> Edition 5, sections
786-
15.10.7.2 through 15.10.7.4) compiles successfully and the resulting
787-
regular expression matches the entirety of the URL of the page.</p>
796+
15.10.7.2 through 15.10.7.4 <span class=issue>fix reference and cite 5.1
797+
when final</span>) compiles successfully and the resulting regular
798+
expression matches the entirety of the URL of the page.</p>
788799

789800
<p class=note>Note that regular expression must match the entire URL, not
790801
just a part of it.</p>
@@ -850,19 +861,20 @@ <h3 id=conformance-classes><span class=secno>7.1. </span>Conformance
850861
conformance classes:
851862

852863
<dl>
853-
<dt><dfn id=style-sheet title="style sheet!!as conformance class">style
864+
<dt><dfn id=conform-style-sheet title="conformance::style sheet">style
854865
sheet</dfn>
855866

856867
<dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#style-sheet">CSS
857868
style sheet</a>.
858869

859-
<dt><dfn id=renderer>renderer</dfn>
870+
<dt><dfn id=conform-renderer title="conformance::renderer">renderer</dfn>
860871

861872
<dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#user-agent">UA</a>
862873
that interprets the semantics of a style sheet and renders documents that
863874
use them.
864875

865-
<dt><dfn id=authoring-tool>authoring tool</dfn>
876+
<dt><dfn id=conform-authoring-tool title="conformance::authoring
877+
tool">authoring tool</dfn>
866878

867879
<dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#user-agent">UA</a>
868880
that writes a style sheet.
@@ -1108,15 +1120,27 @@ <h2 class=no-num id=index>Index</h2>
11081120
<!--begin-index-->
11091121

11101122
<ul class=indexlist>
1111-
<li>authoring tool, <a href="#authoring-tool" title="authoring
1112-
tool"><strong>7.1.</strong></a>
1113-
11141123
<li>conditional group rules, <a href="#conditional-group-rules"
11151124
title="conditional group rules"><strong>2.</strong></a>
11161125

1126+
<li>conformance
1127+
<ul>
1128+
<li>authoring tool, <a href="#conform-authoring-tool"
1129+
title="conformance, authoring tool"><strong>7.1.</strong></a>
1130+
1131+
<li>renderer, <a href="#conform-renderer" title="conformance,
1132+
renderer"><strong>7.1.</strong></a>
1133+
1134+
<li>style sheet, <a href="#conform-style-sheet" title="conformance,
1135+
style sheet"><strong>7.1.</strong></a>
1136+
</ul>
1137+
11171138
<li>&lsquo;<code class=css>@document</code>&rsquo; rule, <a
11181139
href="#document-rule" title="'@document' rule"><strong>6.</strong></a>
11191140

1141+
<li>domain(), <a href="#domainltstringgt"
1142+
title="domain()"><strong>6.</strong></a>
1143+
11201144
<li>domain matching function, <a href="#domain-matching-function"
11211145
title="domain matching function"><strong>6.</strong></a>
11221146

@@ -1129,20 +1153,32 @@ <h2 class=no-num id=index>Index</h2>
11291153
<li>&lsquo;<code class=css>@media</code>&rsquo; rule, <a
11301154
href="#media-rule" title="'@media' rule"><strong>4.</strong></a>
11311155

1132-
<li>renderer, <a href="#renderer" title=renderer><strong>7.1.</strong></a>
1133-
1134-
1135-
<li>style sheet
1136-
<ul>
1137-
<li>as conformance class, <a href="#style-sheet" title="style sheet, as
1138-
conformance class"><strong>7.1.</strong></a>
1139-
</ul>
1156+
<li>regexp(), <a href="#regexpltstringgt"
1157+
title="regexp()"><s 8026 trong>6.</strong></a>
11401158

11411159
<li>&lsquo;<code class=css>@supports</code>&rsquo; rule, <a
11421160
href="#supports-rule" title="'@supports' rule"><strong>5.</strong></a>
11431161

1162+
<li>url(), <a href="#lturlgt" title="url()"><strong>6.</strong></a>
1163+
11441164
<li>URL matching functions, <a href="#url-matching-functions" title="URL
11451165
matching functions"><strong>6.</strong></a>
1166+
<ul>
1167+
<li>domain, <a href="#domainltstringgt" title="URL matching functions,
1168+
domain"><strong>6.</strong></a>
1169+
1170+
<li>exact, <a href="#lturlgt" title="URL matching functions,
1171+
exact"><strong>6.</strong></a>
1172+
1173+
<li>prefix, <a href="#url-prefixltstringgt" title="URL matching
1174+
functions, prefix"><strong>6.</strong></a>
1175+
1176+
<li>regular expression, <a href="#regexpltstringgt" title="URL matching
1177+
functions, regular expression"><strong>6.</strong></a>
1178+
</ul>
1179+
1180+
<li>url-prefix(), <a href="#url-prefixltstringgt"
1181+
title="url-prefix()"><strong>6.</strong></a>
11461182

11471183
<li>url prefix matching function, <a href="#url-prefix-matching-function"
11481184
title="url prefix matching function"><strong>6.</strong></a>

css3-conditional/Overview.src.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ <h2 class="no-num no-toc" id="contents">Table of contents</h2>
8686

8787
<!--toc-->
8888

89-
<h2>Introduction</h2>
89+
<h2 id="introduction">Introduction</h2>
9090

9191
<h3 id="context">Background</h3>
9292

@@ -504,7 +504,7 @@ <h2 id="at-document">Document queries: the '@document' rule</h2>
504504
permitted:</p>
505505

506506
<dl>
507-
<dt>&lt;url&gt;</dt>
507+
<dt><dfn title="url()|URL matching functions::exact">&lt;url&gt;</dfn></dt>
508508

509509
<dd>
510510
<p>The 'url()' function is the <dfn>exact url matching
@@ -528,7 +528,7 @@ <h2 id="at-document">Document queries: the '@document' rule</h2>
528528
</div>
529529
</dd>
530530

531-
<dt>url-prefix(&lt;string&gt;)</dt>
531+
<dt><dfn title="url-prefix()|URL matching functions::prefix">url-prefix(&lt;string&gt;)</dfn></dt>
532532

533533
<dd>
534534
<p>The 'url-prefix()' function is the <dfn>url prefix
@@ -550,7 +550,7 @@ <h2 id="at-document">Document queries: the '@document' rule</h2>
550550
</div>
551551
</dd>
552552

553-
<dt>domain(&lt;string&gt;)</dt>
553+
<dt><dfn title="domain()|URL matching functions::domain">domain(&lt;string&gt;)</dfn></dt>
554554

555555
<dd>
556556
<p>The 'domain()' function is the <dfn>domain
@@ -574,7 +574,7 @@ <h2 id="at-document">Document queries: the '@document' rule</h2>
574574
</div>
575575
</dd>
576576

577-
<dt>regexp(&lt;string&gt;)</dt>
577+
<dt><dfn title="regexp()|URL matching functions::regular expression">regexp(&lt;string&gt;)</dfn></dt>
578578

579579
<dd>
580580
<p>The contents of the &lt;string&gt; argument <strong>must</strong>
@@ -586,7 +586,8 @@ <h2 id="at-document">Document queries: the '@document' rule</h2>
586586
argument compiled as a JavaScript regular expression with the
587587
<code>global</code>, <code>ignoreCase</code> and
588588
<code>multiline</code> flags <em>disabled</em>
589-
(see [[!ECMA-262]] Edition 5, sections 15.10.7.2 through 15.10.7.4)
589+
(see [[!ECMA-262]] Edition 5, sections 15.10.7.2 through 15.10.7.4
590+
<span class="issue">fix reference and cite 5.1 when final</span>)
590591
compiles successfully and the resulting regular expression matches
591592
the entirety of the URL of the page.</p>
592593

@@ -646,14 +647,14 @@ <h3 id="conformance-classes">Conformance Classes</h3>
646647
<p>Conformance to the CSS Conditional Rules Module is defined for three
647648
conformance classes:
648649
<dl>
649-
<dt><dfn title="style sheet!!as conformance class">style sheet</dfn>
650+
<dt><dfn title="conformance::style sheet" id="conform-style-sheet">style sheet</dfn>
650651
<dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#style-sheet">CSS
651652
style sheet</a>.
652-
<dt><dfn>renderer</dfn></dt>
653+
<dt><dfn title="conformance::renderer" id="conform-renderer">renderer</dfn></ 6ACA dt>
653654
<dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#user-agent">UA</a>
654655
that interprets the semantics of a style sheet and renders
655656
documents that use them.
656-
<dt><dfn id="authoring-tool">authoring tool</dfn></dt>
657+
<dt><dfn title="conformance::authoring tool" id="conform-authoring-tool">authoring tool</dfn></dt>
657658
<dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#user-agent">UA</a>
658659
that writes a style sheet.
659660
</dl>

0 commit comments

Comments
 (0)