css-conditional/Overview.src.html

changeset 8381
7e80b7d0224f
parent 8326
9421e8cccd2e
child 8599
18bc8956c979
     1.1 --- a/css-conditional/Overview.src.html	Sat Jun 08 11:18:20 2013 +0900
     1.2 +++ b/css-conditional/Overview.src.html	Sat Jun 08 14:19:52 2013 +0900
     1.3 @@ -8,7 +8,7 @@
     1.4    <link href="../csslogo.ico" rel="shortcut icon" type="image/x-icon">
     1.5    <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-[STATUS].css">
     1.6    <script src="http://test.csswg.org/harness/annotate.js#CSS3-CONDITIONAL_DEV" 
     1.7 -        type="text/javascript" defer></script
     1.8 +        type="text/javascript" defer></script>
     1.9  </head>
    1.10  <body class="h-entry">
    1.11  
    1.12 @@ -131,7 +131,7 @@
    1.13    <p><em>This section is not normative.</em>
    1.14  
    1.15    <p>[[!CSS21]] defines one type of conditional group rule, the
    1.16 -  '@media' rule, and allows only rulesets (not other @-rules)
    1.17 +  '@media' rule, and allows only style rules (not other @-rules)
    1.18    inside of it.  The '@media' rule provides the ability to
    1.19    have media-specific style sheets, which is also provided by style
    1.20    sheet linking features such as '@import' and
    1.21 @@ -258,9 +258,9 @@
    1.22  specific to the type of rule followed by a <dfn>group rule body</dfn>,
    1.23  which is a block (pair of braces) containing a sequence of rules.</p>
    1.24  
    1.25 -<p>A group rule body is allowed to contain rulesets and any @-rules that
    1.26 +<p>A group rule body is allowed to contain style rules and any @-rules that
    1.27  are allowed at the top level of a style sheet before and after a
    1.28 -ruleset.  This means that @-rules that must occur at the beginning of
    1.29 +style rule.  This means that @-rules that must occur at the beginning of
    1.30  the style sheet (such as '@charset', '@import',
    1.31  and '@namespace' rules) are not allowed inside of conditional group
    1.32  rules.  Conditional group rules can be nested.</p>
    1.33 @@ -268,6 +268,9 @@
    1.34  <p>In terms of the grammar, this specification defines the following
    1.35  productions for use in the grammar of conditional group rules:</p>
    1.36  
    1.37 +<p class=note>Note: Style rules are defined in grammars 
    1.38 +by the <code>ruleset</code> production.</p>
    1.39 +
    1.40  <pre><dfn>nested_statement</dfn>
    1.41    : ruleset | <i>media</i> | page | font_face_rule | keyframes_rule |
    1.42      <i>supports_rule</i>
    1.43 @@ -308,7 +311,7 @@
    1.44  <strong>must</strong> process such rules as <a
    1.45  href="#processing">described above</a>.</p>
    1.46  
    1.47 -<p>Any rules that are not allowed after a ruleset (e.g., ''@charset'',
    1.48 +<p>Any rules that are not allowed after a style rule (e.g., ''@charset'',
    1.49  ''@import'', or ''@namespace'' rules) are also not allowed after a
    1.50  conditional group rule.  Therefore, style sheets <strong>must
    1.51  not</strong> place such rules after a conditional group rules, and CSS
    1.52 @@ -676,7 +679,7 @@
    1.53  provided by the ''@supports'' rule in this specification) that works
    1.54  correctly for the features implemented.  This applies especially to
    1.55  compound values; implementations must implement all parts of the value
    1.56 -in order to consider the declaration supported, either inside a ruleset
    1.57 +in order to consider the declaration supported, either inside a style rule
    1.58  or in the declaration condition of an ''@supports'' rule.</p>
    1.59  
    1.60  <!--

mercurial