Fri, 09 Aug 2013 10:42:21 -0700
[css-syntax] Specify that duplication declarations in style rules are discarded.
css-syntax/Overview.html | file | annotate | diff | comparison | revisions | |
css-syntax/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/css-syntax/Overview.html Fri Aug 09 10:34:13 2013 -0700 1.2 +++ b/css-syntax/Overview.html Fri Aug 09 10:42:21 2013 -0700 1.3 @@ -2770,6 +2770,9 @@ 1.4 The validity of the style rule’s contents have no effect on the validity of the style rule itself. 1.5 Unless otherwise specified, property names are <a href=#ascii-case-insensitive>ASCII case-insensitive</a>. 1.6 1.7 +<p> If a <a href=#style-rule>style rule</a> contains multiple declarations with the same name, 1.8 + all but the last such declaration are discarded. 1.9 + 1.10 <p class=note> Note: The names of Custom Properties <a data-biblio-type=informative data-link-type=biblio href=#css-variables title=CSS-VARIABLES>[CSS-VARIABLES]</a> are case-sensitive. 1.11 1.12 <p> <a href=#qualified-rule>Qualified rules</a> at the top-level of a CSS stylesheet are style rules.
2.1 --- a/css-syntax/Overview.src.html Fri Aug 09 10:34:13 2013 -0700 2.2 +++ b/css-syntax/Overview.src.html Fri Aug 09 10:42:21 2013 -0700 2.3 @@ -2657,6 +2657,9 @@ 2.4 The validity of the style rule’s contents have no effect on the validity of the style rule itself. 2.5 Unless otherwise specified, property names are <i>ASCII case-insensitive</i>. 2.6 2.7 + If a <i>style rule</i> contains multiple declarations with the same name, 2.8 + all but the last such declaration are discarded. 2.9 + 2.10 Note: The names of Custom Properties [[CSS-VARIABLES]] are case-sensitive. 2.11 2.12 <i>Qualified rules</i> at the top-level of a CSS stylesheet are style rules.