Skip to content

Commit f2e11fe

Browse files
committed
Reserve CSSRule constants.
1 parent 457df78 commit f2e11fe

2 files changed

Lines changed: 49 additions & 44 deletions

File tree

css3-conditional/Overview.html

Lines changed: 46 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"http://www.w3.org/TR/html4/strict.dtd">
33

44
<html lang=en>
5-
<head profile="http://www.w3.org/2006/03/hcard"><meta content="text/html;
6-
charset=utf-8" http-equiv=Content-Type>
5+
<head profile="http://www.w3.org/2006/03/hcard"><meta
6+
content="text/html; charset=utf-8" http-equiv=Content-Type>
77

88
<title>CSS Conditional Rules Module Level 3</title>
99
<link href="../default.css" rel=stylesheet type="text/css">
@@ -17,14 +17,14 @@
1717

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

20-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 16 September
20+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 12 October
2121
2011</h2>
2222

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

26-
<dd><a href="http://www.w3.org/TR/2011/ED-css3-conditional-20110916/">
27-
http://www.w3.org/TR/2011/ED-css3-conditional-20110916/</a>
26+
<dd><a href="http://www.w3.org/TR/2011/ED-css3-conditional-20111012/">
27+
http://www.w3.org/TR/2011/ED-css3-conditional-20111012/</a>
2828

2929
<dt>Latest version:
3030

@@ -53,13 +53,13 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 16 September
5353
<p class=copyright><a
5454
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
5555
rel=license>Copyright</a> &copy; 2011 <a
56-
href="http://www.w3.org/"><acronym title="World Wide Web
57-
Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
58-
href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute
59-
of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym
60-
title="European Research Consortium for Informatics and
61-
Mathematics">ERCIM</acronym></a>, <a
62-
href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
56+
href="http://www.w3.org/"><acronym
57+
title="World Wide Web Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
58+
href="http://www.csail.mit.edu/"><acronym
59+
title="Massachusetts Institute of Technology">MIT</acronym></a>, <a
60+
href="http://www.ercim.eu/"><acronym
61+
title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
62+
<a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
6363
href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
6464
<a
6565
href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>
@@ -828,8 +828,8 @@ <h2 id=at-document><span class=secno>7. </span>Document queries: the
828828
functions are permitted:
829829

830830
<dl>
831-
<dt><dfn id=url-exact title="url()|URL matching
832-
functions::exact">&lt;url&gt;</dfn>
831+
<dt><dfn id=url-exact
832+
title="url()|URL matching functions::exact">&lt;url&gt;</dfn>
833833

834834
<dd>
835835
<p>The &lsquo;<a href="#url-exact"><code
@@ -856,8 +856,8 @@ <h2 id=at-document><span class=secno>7. </span>Document queries: the
856856
<code>http://www.w3.org/Style/CSS/</code>, but not on any other pages.</p>
857857
</div>
858858

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

862862
<dd>
863863
<p>The &lsquo;<a href="#url-prefix"><code
@@ -882,8 +882,8 @@ <h2 id=at-document><span class=secno>7. </span>Document queries: the
882882
<code>http://www.example.com/Style/CSS/</code>.</p>
883883
</div>
884884

885-
<dt><dfn id=url-domain title="domain()|URL matching
886-
functions::domain">domain(&lt;string&gt;)</dfn>
885+
<dt><dfn id=url-domain
886+
title="domain()|URL matching functions::domain">domain(&lt;string&gt;)</dfn>
887887

888888
<dd>
889889
<p>The &lsquo;<a href="#url-domain"><code
@@ -912,8 +912,8 @@ <h2 id=at-document><span class=secno>7. </span>Document queries: the
912912
not affect the page <code>http://www.example.com/Style/CSS/</code>.</p>
913913
</div>
914914

915-
<dt><dfn id=url-regexp title="regexp()|URL matching functions::regular
916-
expression">regexp(&lt;string&gt;)</dfn>
915+
<dt><dfn id=url-regexp
916+
title="regexp()|URL matching functions::regular expression">regexp(&lt;string&gt;)</dfn>
917917

918918
<dd>
919919
<p>The contents of the &lt;string&gt; argument <strong>must</strong>
@@ -985,7 +985,9 @@ <h2 id=at-document><span class=secno>7. </span>Document queries: the
985985
<h2 id=apis><span class=secno>8. </span>APIs</h2>
986986

987987
<p class=issue>This specification needs to define the CSSOM interfaces for
988-
the new rule types.
988+
the new rule types. I've reserved new CSSRule constants on <a
989+
href="http://wiki.csswg.org/spec/cssom-constants">the wiki</a>:
990+
SUPPORTS_RULE as 12 and DOCUMENT_RULE as 13.
989991

990992
<p class=issue>Should this specification also define APIs for querying
991993
@supports, like <code>matchMedium</code> allows querying of media?
@@ -1046,8 +1048,8 @@ <h3 id=conformance-classes><span class=secno>9.2. </span>Conformance
10461048
that interprets the semantics of a style sheet and renders documents that
10471049
use style sheets, or it may be a validator that checks style sheets.
10481050

1049-
<dt><dfn id=conform-authoring-tool title="conformance::authoring
1050-
tool">authoring tool</dfn>
1051+
<dt><dfn id=conform-authoring-tool
1052+
title="conformance::authoring tool">authoring tool</dfn>
10511053

10521054
<dd>A tool that writes a style sheet.
10531055
</dl>
@@ -1181,10 +1183,10 @@ <h3 class=no-num id=normative-references>Normative references</h3>
11811183
<dt id=CSS21>[CSS21]
11821184

11831185
<dd>Bert Bos; et al. <a
1184-
href="http://www.w3.org/TR/2011/REC-CSS2-20110607"><cite>Cascading Style
1186+
href="http://www.w3.org/TR/2011/REC-CSS2-20110607/"><cite>Cascading Style
11851187
Sheets Level 2 Revision 1 (CSS&#160;2.1) Specification.</cite></a> 7 June
11861188
2011. W3C Recommendation. URL: <a
1187-
href="http://www.w3.org/TR/2011/REC-CSS2-20110607">http://www.w3.org/TR/2011/REC-CSS2-20110607</a>
1189+
href="http://www.w3.org/TR/2011/REC-CSS2-20110607/">http://www.w3.org/TR/2011/REC-CSS2-20110607/</a>
11881190
</dd>
11891191
<!---->
11901192

@@ -1310,11 +1312,11 @@ <h2 class=no-num id=index>Index</h2>
13101312
<li>authoring tool, <a href="#conform-authoring-tool"
13111313
title="conformance, authoring tool"><strong>9.2.</strong></a>
13121314

1313-
<li>processor, <a href="#conform-processor" title="conformance,
1314-
processor"><strong>9.2.</strong></a>
1315+
<li>processor, <a href="#conform-processor"
1316+
title="conformance, processor"><strong>9.2.</strong></a>
13151317

1316-
<li>style sheet, <a href="#conform-style-sheet" title="conformance,
1317-
style sheet"><strong>9.2.</strong></a>
1318+
<li>style sheet, <a href="#conform-style-sheet"
1319+
title="conformance, style sheet"><strong>9.2.</strong></a>
13181320
</ul>
13191321

13201322
<li>&lsquo;<code class=css>@document</code>&rsquo; rule, <a
@@ -1329,8 +1331,8 @@ <h2 class=no-num id=index>Index</h2>
13291331
<li>exact url matching function, <a href="#exact-url-matching-function"
13301332
title="exact url matching function"><strong>7.</strong></a>
13311333

1332-
<li>group rule body, <a href="#group-rule-body" title="group rule
1333-
body"><strong>3.</strong></a>
1334+
<li>group rule body, <a href="#group-rule-body"
1335+
title="group rule body"><strong>3.</strong></a>
13341336

13351337
<li>&lsquo;<code class=css>@media</code>&rsquo; rule, <a
13361338
href="#media-rule" title="'@media' rule"><strong>5.</strong></a>
@@ -1346,25 +1348,26 @@ <h2 class=no-num id=index>Index</h2>
13461348

13471349
<li>url(), <a href="#url-exact" title="url()"><strong>7.</strong></a>
13481350

1349-
<li>URL matching functions, <a href="#url-matching-functions" title="URL
1350-
matching functions"><strong>7.</strong></a>
1351+
<li>URL matching functions, <a href="#url-matching-functions"
1352+
title="URL matching functions"><strong>7.</strong></a>
13511353
<ul>
1352-
<li>domain, <a href="#url-domain" title="URL matching functions,
1353-
domain"><strong>7.</strong></a>
1354+
<li>domain, <a href="#url-domain"
1355+
title="URL matching functions, domain"><strong>7.</strong></a>
13541356

1355-
<li>exact, <a href="#url-exact" title="URL matching functions,
1356-
exact"><strong>7.</strong></a>
1357+
<li>exact, <a href="#url-exact"
1358+
title="URL matching functions, exact"><strong>7.</strong></a>
13571359

1358-
<li>prefix, <a href="#url-prefix" title="URL matching functions,
1359-
prefix"><strong>7.</strong></a>
1360+
<li>prefix, <a href="#url-prefix"
1361+
title="URL matching functions, prefix"><strong>7.</strong></a>
13601362

1361-
<li>regular expression, <a href="#url-regexp" title="URL matching
1362-
functions, regular expression"><strong>7.</strong></a>
1363+
<li>regular expression, <a href="#url-regexp"
1364+
title="URL matching functions, regular expression"><strong>7.</strong></a>
1365+
13631366
</ul>
13641367

13651368
<li>URL of the document being styled, <a
1366-
href="#url-of-the-document-being-styled" title="URL of the document being
1367-
styled"><strong>7.</strong></a>
1369+
href="#url-of-the-document-being-styled"
1370+
title="URL of the document being styled"><strong>7.</strong></a>
13681371

13691372
<li>url-prefix(), <a href="#url-prefix"
13701373
title="url-prefix()"><strong>7.</strong></a>

css3-conditional/Overview.src.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,9 @@ <h2 id="at-document">Document queries: the '@document' rule</h2>
749749
<h2 id="apis">APIs</h2>
750750

751751
<p class="issue">This specification needs to define the CSSOM interfaces
752-
for the new rule types.</p>
752+
for the new rule types. I've reserved new CSSRule constants on <a
753+
href="http://wiki.csswg.org/spec/cssom-constants">the wiki</a>:
754+
SUPPORTS_RULE as 12 and DOCUMENT_RULE as 13.</p>
753755

754756
<p class="issue">Should this specification also define APIs for querying
755757
@supports, like <code>matchMedium</code> allows querying of media?</p>

0 commit comments

Comments
 (0)