css3-conditional/Overview.src.html

changeset 6617
349a7ea1e24c
parent 6616
d551cb44e735
child 6618
7aa15649c232
     1.1 --- a/css3-conditional/Overview.src.html	Fri Aug 31 11:53:59 2012 -0700
     1.2 +++ b/css3-conditional/Overview.src.html	Fri Aug 31 11:57:12 2012 -0700
     1.3 @@ -49,7 +49,7 @@
     1.4  <hr title="Separator for header">
     1.5  </div>
     1.6  
     1.7 -<h2 class="no-num no-toc" id='abstract'>Abstract</h2>
     1.8 +<h2 class="no-num no-toc" id="abstract">Abstract</h2>
     1.9  
    1.10    <p>CSS is a language for describing the rendering of structured documents
    1.11    (such as HTML and XML) on screen, on paper,  in speech, etc. This module
    1.12 @@ -63,7 +63,7 @@
    1.13    the addition of the '@supports' and '@document'
    1.14    rules for conditional processing.
    1.15  
    1.16 -<h2 class="no-num no-toc" id='status'>Status of this document</h2>
    1.17 +<h2 class="no-num no-toc" id="status">Status of this document</h2>
    1.18  
    1.19  <!--status-->
    1.20  
    1.21 @@ -92,13 +92,13 @@
    1.22  
    1.23  </ul>
    1.24  
    1.25 -<h2 class="no-num no-toc" id='"contents"'>Table of contents</h2>
    1.26 +<h2 class="no-num no-toc" id="contents">Table of contents</h2>
    1.27  
    1.28  <!--toc-->
    1.29  
    1.30 -<h2 id='"introduction"'>Introduction</h2>
    1.31 +<h2 id="introduction">Introduction</h2>
    1.32  
    1.33 -<h3 id='"context"'>Background</h3>
    1.34 +<h3 id="context">Background</h3>
    1.35  
    1.36    <p><em>This section is not normative.</em>
    1.37  
    1.38 @@ -134,7 +134,7 @@
    1.39    apply styles to a particular page or group of pages, which greatly
    1.40    increases the power of user style sheets.</p>
    1.41  
    1.42 -<h3 id='"placement"'>Module Interactions</h3>
    1.43 +<h3 id="placement">Module Interactions</h3>
    1.44  
    1.45    <p>This module replaces and extends the '@media' rule
    1.46    feature defined in [[!CSS21]] section <var>7.2.1</var> and
    1.47 @@ -146,7 +146,7 @@
    1.48    assumption that those modules will advance ahead of this one.  If this
    1.49    module advances faster, then the dependency will be reversed.</p>
    1.50  
    1.51 -<h3 id='"conventions"'>Document Conventions</h3>
    1.52 +<h3 id="conventions">Document Conventions</h3>
    1.53  
    1.54    <p>Conformance requirements are expressed with a combination of
    1.55    descriptive assertions and RFC 2119 terminology. The key words “MUST”,
    1.56 @@ -172,7 +172,7 @@
    1.57    
    1.58    <p class="note">Note, this is an informative note.</p>
    1.59  
    1.60 -<h2 id='"processing"'>Processing of conditional group rules</h2>
    1.61 +<h2 id="processing">Processing of conditional group rules</h2>
    1.62  
    1.63  <p>This specification defines some CSS @-rules, called <dfn>conditional
    1.64  group rules</dfn>, that associate a condition with a group of other
    1.65 @@ -232,7 +232,7 @@
    1.66  for some properties in [[CSS3-TRANSITIONS]] and
    1.67  [[!CSS3-ANIMATIONS]]).</p>
    1.68  
    1.69 -<h2 id='"contents-of"'>Contents of conditional group rules</h2>
    1.70 +<h2 id="contents-of">Contents of conditional group rules</h2>
    1.71  
    1.72  <p class="issue">There is also likely demand for using these
    1.73  conditions with '@import'.  We should see if we can
    1.74 @@ -286,7 +286,7 @@
    1.75  href="http://www.w3.org/TR/CSS21/syndata.html#rule-sets">section 4.1.7
    1.76  (Rule sets, declaration blocks, and selectors)</a> of [[!CSS21]].</p>
    1.77  
    1.78 -<h2 id='"use"'>Placement of conditional group rules</h2>
    1.79 +<h2 id="use">Placement of conditional group rules</h2>
    1.80  
    1.81  <p>Conditional group rules are allowed at the top-level of a style
    1.82  sheet, and inside other conditional group rules.  CSS processors
    1.83 @@ -299,7 +299,7 @@
    1.84  not</strong> place such rules after a conditional group rules, and CSS
    1.85  processors <strong>must</strong> ignore such rules.</p>
    1.86  
    1.87 -<h2 id='"at-media"'>Media-specific style sheets:  the '@media' rule</h2>
    1.88 +<h2 id="at-media">Media-specific style sheets:  the '@media' rule</h2>
    1.89  
    1.90  <p>The <dfn>'@media' rule</dfn> is a conditional group rule whose
    1.91  condition is a media query.  It consists of the at-keyword
    1.92 @@ -331,7 +331,7 @@
    1.93  href="http://www.w3.org/TR/CSS21/grammar.html">Grammar of CSS 2.1</a>
    1.94  ([[!CSS21]], Appendix G).
    1.95  
    1.96 -<h2 id='"at-supports"'>Feature queries: the '@supports' rule</h2>
    1.97 +<h2 id="at-supports">Feature queries: the '@supports' rule</h2>
    1.98  
    1.99  <p>The <dfn>'@supports' rule</dfn> is a conditional group
   1.100  rule whose condition tests whether the user agent supports CSS
   1.101 @@ -558,13 +558,13 @@
   1.102  
   1.103  <p class="issue">Add an example involving <code>!important</code>.</p>
   1.104  
   1.105 -<h3 id='"support-definition"'>Definition of support</h3>
   1.106 +<h3 id="support-definition">Definition of support</h3>
   1.107  
   1.108 -<p>A CSS processor is considered to <dfn id='"dfn-support"'>support</dfn>
   1.109 +<p>A CSS processor is considered to <dfn id="dfn-support">support</dfn>
   1.110  a declaration (consisting of a property and value) if it implements the
   1.111  given value of the given property.</p>
   1.112  
   1.113 -<h3 id='"partial-implementations"'>Partial implementations</h3>
   1.114 +<h3 id="partial-implementations">Partial implementations</h3>
   1.115  
   1.116  <p>For forward-compatibility, <a
   1.117  href="http://www.w3.org/TR/CSS21/syndata.html#declaration">section 4.1.8
   1.118 @@ -588,7 +588,7 @@
   1.119  in order to consider the declaration supported, either inside a ruleset
   1.120  or in the declaration condition of an ''@supports'' rule.</p>
   1.121  
   1.122 -<h2 id='"at-document"'>Document queries: the '@document' rule</h2>
   1.123 +<h2 id="at-document">Document queries: the '@document' rule</h2>
   1.124  
   1.125  <p>The <dfn>'@document' rule</dfn> is a conditional group
   1.126  rule whose condition depends on the
   1.127 @@ -603,7 +603,7 @@
   1.128  discouraged?  Or should this specification remain neutral on the
   1.129  topic, since there are valid uses in author style sheets?</p>
   1.130  
   1.131 -<p id='"url-of-doc"'>The <dfn>URL of the document being styled</dfn> is
   1.132 +<p id="url-of-doc">The <dfn>URL of the document being styled</dfn> is
   1.133  the URI at which the document is located, excluding any fragment
   1.134  identifiers.  (This means, for example, that HTTP redirects have been
   1.135  followed.)  If the styles are being applied inside a complete document
   1.136 @@ -638,7 +638,7 @@
   1.137  permitted:</p>
   1.138  
   1.139  <dl>
   1.140 -  <dt><dfn id='"url-exact"' title="url()|URL matching functions::exact">&lt;url&gt;</dfn></dt>
   1.141 +  <dt><dfn id="url-exact" title="url()|URL matching functions::exact">&lt;url&gt;</dfn></dt>
   1.142  
   1.143    <dd>
   1.144      <p>The 'url()' function is the <dfn>exact url matching
   1.145 @@ -663,7 +663,7 @@
   1.146      </div>
   1.147    </dd>
   1.148  
   1.149 -  <dt><dfn id='"url-prefix"' title="url-prefix()|URL matching functions::prefix">url-prefix(&lt;string&gt;)</dfn></dt>
   1.150 +  <dt><dfn id="url-prefix" title="url-prefix()|URL matching functions::prefix">url-prefix(&lt;string&gt;)</dfn></dt>
   1.151  
   1.152    <dd>
   1.153      <p>The 'url-prefix()' function is the <dfn>url prefix
   1.154 @@ -686,7 +686,7 @@
   1.155      </div>
   1.156    </dd>
   1.157  
   1.158 -  <dt><dfn id='"url-domain"' title="domain()|URL matching functions::domain">domain(&lt;string&gt;)</dfn></dt>
   1.159 +  <dt><dfn id="url-domain" title="domain()|URL matching functions::domain">domain(&lt;string&gt;)</dfn></dt>
   1.160  
   1.161    <dd>
   1.162      <p>The 'domain()' function is the <dfn>domain
   1.163 @@ -711,7 +711,7 @@
   1.164      </div>
   1.165    </dd>
   1.166  
   1.167 -  <dt><dfn id='"url-regexp"' title="regexp()|URL matching functions::regular expression">regexp(&lt;string&gt;)</dfn></dt>
   1.168 +  <dt><dfn id="url-regexp" title="regexp()|URL matching functions::regular expression">regexp(&lt;string&gt;)</dfn></dt>
   1.169  
   1.170    <dd>
   1.171      <p>The contents of the &lt;string&gt; argument <strong>must</strong>
   1.172 @@ -760,7 +760,7 @@
   1.173  
   1.174  <div class="issue">This syntax doesn't offer any ability to do negations,
   1.175  which has been requested in <a
   1.176 -href="https://bugzilla.mozilla.org/show_bug.cgi?id='349813"'>Mozilla bug
   1.177 +href="https://bugzilla.mozilla.org/show_bug.cgi?id=349813">Mozilla bug
   1.178  349813</a>.  Use cases that people have wanted negations for
   1.179  include:
   1.180  <ul>
   1.181 @@ -784,9 +784,9 @@
   1.182    : (URI | FUNCTION) S*
   1.183    ;</pre>
   1.184  
   1.185 -<h2 id='"apis"'>APIs</h2>
   1.186 +<h2 id="apis">APIs</h2>
   1.187  
   1.188 -<h3 id=''extentions-to-cssrule-interface''>
   1.189 +<h3 id='extentions-to-cssrule-interface'>
   1.190  Extensions to the <code>CSSRule</code> interface</h3>
   1.191  
   1.192  <p>The <code>CSSRule</code> interface is extended as follows:
   1.193 @@ -797,7 +797,7 @@
   1.194  }</pre>
   1.195  
   1.196  
   1.197 -<h3 id='"the-csssupportsrule-interface"'>
   1.198 +<h3 id="the-csssupportsrule-interface">
   1.199  The <code>CSSSupportsRule</code> interface</h3>
   1.200  
   1.201  <p class="issue">Should there be an interface containing the methods
   1.202 @@ -851,7 +851,7 @@
   1.203  <p class='issue'>Define the CSSDocumentRule interface.
   1.204  
   1.205  
   1.206 -<h3 id='"window-api"'>supportsCSS() function</h3>
   1.207 +<h3 id="window-api">supportsCSS() function</h3>
   1.208  
   1.209  <pre class='idl'>partial interface Window {
   1.210    boolean supportsCSS (DOMString property, DOMString value);
   1.211 @@ -861,9 +861,9 @@
   1.212  if the implementation <i>supports</i> the value given by <var>value</var> for 
   1.213  the property given by <var>property</var>, and <code>false</code> otherwise.
   1.214  
   1.215 -<h2 id='"conformance"'>Conformance</h2>
   1.216 +<h2 id="conformance">Conformance</h2>
   1.217  
   1.218 -<h3 id='"base-modules"'>Base Modules</h3>
   1.219 +<h3 id="base-modules">Base Modules</h3>
   1.220  
   1.221  <p>This specification defines conformance in terms of base modules,
   1.222  which are modules that this specification builds on top of.  The base
   1.223 @@ -893,22 +893,22 @@
   1.224  treat such syntax as invalid does not make a processor
   1.225  nonconformant.</p>
   1.226  
   1.227 -<h3 id='"conformance-classes"'>Conformance Classes</h3>
   1.228 +<h3 id="conformance-classes">Conformance Classes</h3>
   1.229  
   1.230    <p>Conformance to the CSS Conditional Rules Module is defined for three
   1.231    conformance classes:
   1.232    <dl>
   1.233 -    <dt><dfn title="conformance::style sheet" id='"conform-style-sheet"'>style sheet</dfn>
   1.234 +    <dt><dfn title="conformance::style sheet" id="conform-style-sheet">style sheet</dfn>
   1.235        <dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#style-sheet">CSS
   1.236        style sheet</a>.</dd>
   1.237 -    <dt><dfn title="conformance::processor" id='"conform-processor"'>processor</dfn></dt>
   1.238 +    <dt><dfn title="conformance::processor" id="conform-processor">processor</dfn></dt>
   1.239        <dd>A tool that reads CSS style sheets:  it may be a renderer or
   1.240        <a
   1.241        href="http://www.w3.org/TR/CSS21/conform.html#user-agent">user-agent</a>
   1.242        that interprets the semantics of a style sheet and renders
   1.243        documents that use style sheets, or it may be a validator that
   1.244        checks style sheets.</dd>
   1.245 -    <dt><dfn title="conformance::authoring tool" id='"conform-authoring-tool"'>authoring tool</dfn></dt>
   1.246 +    <dt><dfn title="conformance::authoring tool" id="conform-authoring-tool">authoring tool</dfn></dt>
   1.247        <dd>A tool that writes a style sheet.</dd>
   1.248    </dl>
   1.249  
   1.250 @@ -930,7 +930,7 @@
   1.251    if it writes style sheets that conform to the module and (if it reads
   1.252    CSS) it is a conformant processor.</p>
   1.253  
   1.254 -<h3 id='"partial"'>
   1.255 +<h3 id="partial">
   1.256  Partial Implementations</h3>
   1.257  
   1.258    <p>So that authors can exploit the forward-compatible parsing rules to
   1.259 @@ -944,7 +944,7 @@
   1.260    (as unsupported values must be), CSS requires that the entire declaration
   1.261    be ignored.</p>
   1.262  
   1.263 -<h3 id='"experimental"'>Experimental Implementations</h3>
   1.264 +<h3 id="experimental">Experimental Implementations</h3>
   1.265  
   1.266    <p>To avoid clashes with future CSS features, the CSS specifications
   1.267    reserve a <a href="http://www.w3.org/TR/CSS21/syndata.html#vendor-keywords">prefixed
   1.268 @@ -956,7 +956,7 @@
   1.269    should implement the non-prefixed syntax for any feature they consider to
   1.270    be correctly implemented according to spec.</p>
   1.271  
   1.272 -<h3 id='"cr-exit-criteria"'>CR Exit Criteria</h3>
   1.273 +<h3 id="cr-exit-criteria">CR Exit Criteria</h3>
   1.274  
   1.275    <p>For this specification to be advanced to Proposed Recommendation,
   1.276    there must be at least two independent, interoperable implementations
   1.277 @@ -1004,7 +1004,7 @@
   1.278    <p>The specification will remain Candidate Recommendation for at least
   1.279    six months.
   1.280  
   1.281 -<h2 class=no-num id='grammar'>Grammar</h2>
   1.282 +<h2 class=no-num id="grammar">Grammar</h2>
   1.283  
   1.284  <p>In order to allow these new @-rules in CSS style sheets, this
   1.285  specification modifies the <code>stylesheet</code> production in the <a
   1.286 @@ -1014,7 +1014,7 @@
   1.287  and additionally inserting <code>| supports_rule | document_rule</code>
   1.288  alongside <code>ruleset | media | page</code>.</p>
   1.289  
   1.290 -<h2 class=no-num id='acknowledgments'>Acknowledgments</h2>
   1.291 +<h2 class=no-num id="acknowledgments">Acknowledgments</h2>
   1.292  
   1.293  <p>
   1.294  Thanks to the ideas and feedback from
   1.295 @@ -1036,16 +1036,16 @@
   1.296  
   1.297  </p>
   1.298  
   1.299 -<h2 class=no-num id='references'>References</h2>
   1.300 +<h2 class=no-num id="references">References</h2>
   1.301  
   1.302  
   1.303 -<h3 class="no-num" id='"normative-references"'>Normative references</h3>
   1.304 +<h3 class="no-num" id="normative-references">Normative references</h3>
   1.305  <!--normative-->
   1.306  
   1.307 -<h3 class="no-num" id='"other-references"'>Other references</h3>
   1.308 +<h3 class="no-num" id="other-references">Other references</h3>
   1.309  <!--informative-->
   1.310  
   1.311 -<h2 class="no-num" id='"index"'>Index</h2>
   1.312 +<h2 class="no-num" id="index">Index</h2>
   1.313  <!--index-->
   1.314  
   1.315  </body>

mercurial