[css-syntax] Specify that duplication declarations in style rules are discarded.

Fri, 09 Aug 2013 10:42:21 -0700

author
Tab Atkins Jr. <jackalmage@gmail.com>
date
Fri, 09 Aug 2013 10:42:21 -0700
changeset 8797
dc9599d772f2
parent 8796
30e02b0e2042
child 8798
5c803d545e0a

[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.

mercurial