[css-counter-styles] Flatten the descriptors into the CSSCounterStyleRule interface.

Thu, 13 Sep 2012 13:22:46 -0700

author
Tab Atkins Jr. <jackalmage@gmail.com>
date
Thu, 13 Sep 2012 13:22:46 -0700
changeset 6707
e92b5e2ae5ad
parent 6706
980c876ec91e
child 6708
d238b1e9c4ac

[css-counter-styles] Flatten the descriptors into the CSSCounterStyleRule interface.

css-counter-styles/Overview.html file | annotate | diff | comparison | revisions
css-counter-styles/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/css-counter-styles/Overview.html	Tue Sep 11 15:51:27 2012 +0200
     1.2 +++ b/css-counter-styles/Overview.html	Thu Sep 13 13:22:46 2012 -0700
     1.3 @@ -7,10 +7,10 @@
     1.4    <link href="http://purl.org/dc/terms/" rel=schema.DC>
     1.5    <meta content="CSS Counter Styles Level 3" name=DC.title>
     1.6    <meta content=text name=DC.type>
     1.7 -  <meta content=2012-09-06 name=DC.issued>
     1.8 +  <meta content=2012-09-13 name=DC.issued>
     1.9    <meta content="Tab Atkins Jr." name=DC.creator>
    1.10    <meta content=W3C name=DC.publisher>
    1.11 -  <meta content="http://www.w3.org/TR/2012/ED-unknown-shortname-20120906/"
    1.12 +  <meta content="http://www.w3.org/TR/2012/ED-unknown-shortname-20120913/"
    1.13     name=DC.identifier>
    1.14    <link href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
    1.15     rel=DC.rights>
    1.16 @@ -2732,16 +2732,39 @@
    1.17    <pre class=idl><!--
    1.18  	-->interface CSSCounterStyleRule : CSSRule {
    1.19  <!--
    1.20 -	-->  readonly attribute CSSStyleDeclaration style;
    1.21 +	-->  readonly attribute DOMString name;
    1.22 +<!--
    1.23 +	-->  readonly attribute DOMString type;
    1.24 +<!--
    1.25 +	-->  readonly attribute DOMString symbols;
    1.26 +<!--
    1.27 +	-->  readonly attribute DOMString additiveSymbols;
    1.28 +<!--
    1.29 +	-->  readonly attribute DOMString negative;
    1.30 +<!--
    1.31 +	-->  readonly attribute DOMString prefix;
    1.32 +<!--
    1.33 +	-->  readonly attribute DOMString suffix;
    1.34 +<!--
    1.35 +	-->  readonly attribute DOMString range;
    1.36 +<!--
    1.37 +	-->  readonly attribute DOMString fallback;
    1.38  <!--
    1.39  	-->}</pre>
    1.40  
    1.41    <dl class=idl-attributes>
    1.42 -   <dt><code>style</code> of type <code>CSSStyleDeclaration</code>, readonly
    1.43 -
    1.44 -   <dd> The <code>style attribute must return a
    1.45 -    <code>CSSStyleDeclaration</code> block that contains the descriptors
    1.46 -    specified within the <code>@counter-style</code> rule. </code>
    1.47 +   <dt><var>name</var> of type <code>DOMString</code>, readonly
    1.48 +
    1.49 +   <dd> The <var>name</var> attribute must return a <code>DOMString</code>
    1.50 +    object that contains the serialization of the
    1.51 +    <var>&lt;counter-style-name></var> defined for the associated ‘<code
    1.52 +    class=css>@counter-style</code>’ block.
    1.53 +
    1.54 +   <dt>everything else
    1.55 +
    1.56 +   <dd> The remaining attributes must return a <code>DOMString</code> object
    1.57 +    that contains the serialization of the associated descriptor defined for
    1.58 +    the associated ‘<code class=css>@counter-style</code>’ block.
    1.59    </dl>
    1.60    <!--
    1.61  <h2 id='ua-stylesheet'>
     2.1 --- a/css-counter-styles/Overview.src.html	Tue Sep 11 15:51:27 2012 +0200
     2.2 +++ b/css-counter-styles/Overview.src.html	Thu Sep 13 13:22:46 2012 -0700
     2.3 @@ -1953,13 +1953,25 @@
     2.4  
     2.5  	<pre class='idl'><!--
     2.6  	-->interface CSSCounterStyleRule : CSSRule {&#xa;<!--
     2.7 -	-->  readonly attribute CSSStyleDeclaration style;&#xa;<!--
     2.8 +	-->  readonly attribute DOMString name;&#xa;<!--
     2.9 +	-->  readonly attribute DOMString type;&#xa;<!--
    2.10 +	-->  readonly attribute DOMString symbols;&#xa;<!--
    2.11 +	-->  readonly attribute DOMString additiveSymbols;&#xa;<!--
    2.12 +	-->  readonly attribute DOMString negative;&#xa;<!--
    2.13 +	-->  readonly attribute DOMString prefix;&#xa;<!--
    2.14 +	-->  readonly attribute DOMString suffix;&#xa;<!--
    2.15 +	-->  readonly attribute DOMString range;&#xa;<!--
    2.16 +	-->  readonly attribute DOMString fallback;&#xa;<!--
    2.17  	-->}</pre>
    2.18  
    2.19  	<dl class='idl-attributes'>
    2.20 -		<dt><code>style</code> of type <code>CSSStyleDeclaration</code>, readonly
    2.21 +		<dt><var>name</var> of type <code>DOMString</code>, readonly
    2.22  		<dd>
    2.23 -			The <code>style</style> attribute must return a <code>CSSStyleDeclaration</code> block that contains the descriptors specified within the <code>@counter-style</code> rule.
    2.24 +			The <var>name</var> attribute must return a <code>DOMString</code> object that contains the serialization of the <var>&lt;counter-style-name></var> defined for the associated ''@counter-style'' block.
    2.25 +
    2.26 +		<dt>everything else
    2.27 +		<dd>
    2.28 +			The remaining attributes must return a <code>DOMString</code> object that contains the serialization of the associated descriptor defined for the associated ''@counter-style'' block.
    2.29  	</dl>
    2.30  
    2.31  

mercurial