@@ -2142,13 +2142,12 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
21422142};</ pre >
21432143
21442144 < p > The
2145- < dfn id =" dom-cssstyledeclaration-csstext " title ="dom-CSSStyleDeclaration-cssText "> < code > cssText</ code > </ dfn >
2146- attribute must, on getting, return the result of
2145+ < dfn title ="dom-CSSStyleDeclaration-cssText "> < code > cssText</ code > </ dfn >
2146+ attribute must return the result of
21472147 < span title ="serialize a CSS declaration block "> serializing</ span > the
21482148 < span > CSS declaration block declarations</ span > .</ p >
21492149
2150- < p > On setting the < code title > cssText</ code > attribute these steps
2151- must be run:</ p >
2150+ < p > Setting the < code title > cssText</ code > attribute must run these steps:
21522151
21532152 < ol >
21542153 < li > < p > If the < span > CSS declaration block readonly flag</ span > is true
@@ -2166,24 +2165,24 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
21662165
21672166 <!-- XXX WebIDL work -->
21682167 < p > The
2169- < dfn id =" dom-cssstyledeclaration-length " title ="dom-CSSStyleDeclaration-length "> < code > length</ code > </ dfn >
2168+ < dfn title ="dom-CSSStyleDeclaration-length "> < code > length</ code > </ dfn >
21702169 attribute must return the number of declarations in
21712170 the < span > collection of CSS declarations</ span > .</ p >
21722171
21732172 < p > The
2174- < dfn id =" dom-cssstyledeclaration-item " title ="dom-CSSStyleDeclaration-item "> < code > item(< var title > index</ var > )</ code > </ dfn >
2175- method, when invoked, < span class ="XXX "> ...</ span > .</ p >
2173+ < dfn title ="dom-CSSStyleDeclaration-item "> < code > item(< var title > index</ var > )</ code > </ dfn >
2174+ method must < span class ="XXX "> ...</ span > .</ p >
21762175 <!-- returns the name of property at position index. -->
21772176
21782177
21792178 < p > The
2180- < dfn id =" dom-cssstyledeclaration-getpropertyvalue " title ="dom-CSSStyleDeclaration-getPropertyValue "> < code > getPropertyValue(< var title > property</ var > )</ code > </ dfn >
2181- method, when invoked, < span class ="XXX "> ...</ span > .</ p >
2179+ < dfn title ="dom-CSSStyleDeclaration-getPropertyValue "> < code > getPropertyValue(< var > property</ var > )</ code > </ dfn >
2180+ method must < span class ="XXX "> ...</ span > .</ p >
21822181 <!-- Once we have defined how everything will be canonicalized we can start
21832182 thinking about this... --> </ p >
21842183
21852184 < p > The
2186- < dfn id =" dom-cssstyledeclaration-getpropertypriority " title ="dom-CSSStyleDeclaration-getPropertyPriority "> < code > getPropertyPriority(< var title > property</ var > )</ code > </ dfn >
2185+ < dfn title ="dom-CSSStyleDeclaration-getPropertyPriority "> < code > getPropertyPriority(< var > property</ var > )</ code > </ dfn >
21872186 method, when invoked, if < var title > property</ var > is an
21882187 < span data-anolis-spec =dom > ASCII case-insensitive</ span > match for a
21892188 property that has a priority user agents must return the canonical
@@ -2194,9 +2193,9 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
21942193 the return value would be "< code title > important</ code > ".</ p >
21952194
21962195
2197- < p > When the
2196+ < p > The
21982197 < dfn title ="dom-CSSStyleDeclaration-setProperty "> < code > setProperty(< var > property</ var > , < var > value</ var > , < var > priority</ var > )</ code > </ dfn >
2199- method is invoked these steps must be run: </ p >
2198+ method must run these steps:
22002199
22012200 < ol >
22022201 < li > < p > If the < span > CSS declaration block readonly flag</ span > is true
@@ -2233,9 +2232,9 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
22332232 < var title > property</ var > to < var title > value</ var > .</ p > </ li >
22342233 </ ol >
22352234
2236- < p > When the
2237- < dfn id =" dom-cssstyledeclaration-removeproperty " title ="dom-CSSStyleDeclaration-removeProperty "> < code > removeProperty(< var title > property</ var > )</ code > </ dfn >
2238- method is invoked these steps must be run: </ p >
2235+ < p > The
2236+ < dfn title ="dom-CSSStyleDeclaration-removeProperty "> < code > removeProperty(< var > property</ var > )</ code > </ dfn >
2237+ method must run these steps:
22392238
22402239 < ol >
22412240 < li > < p > If the < span > CSS declaration block readonly flag</ span > is true
@@ -2250,30 +2249,30 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
22502249
22512250
22522251 < p > The
2253- < dfn id =" dom-cssstyledeclaration-values " title ="dom-CSSStyleDeclaration-values "> < code > values</ code > </ dfn >
2252+ < dfn title ="dom-CSSStyleDeclaration-values "> < code > values</ code > </ dfn >
22542253 attribute must return < span class ="XXX "> ...</ span > </ p >
22552254
22562255
22572256 < p > The
2258- < dfn id ="dom-cssstyledeclaration-parentrule " title ="dom-CSSStyleDeclaration-parentRule "> < code > parentRule</ code > </ dfn >
2259- attribute must return the
2260- < code > CSSrule</ code > object the < code > CSSStyleDeclaration</ code > is object is
2261- associated with or null if it is not associated with a
2262- < code > CSSrule</ code > object.</ p >
2257+ < dfn title ="dom-CSSStyleDeclaration-parentRule "> < code > parentRule</ code > </ dfn >
2258+ attribute must return the < code > CSSrule</ code > object the
2259+ < code > CSSStyleDeclaration</ code > is object is associated with or null if
2260+ it is not associated with a < code > CSSrule</ code > object.</ p >
22632261 <!-- XXX introduce a concept for this instead -->
22642262
2263+ < hr >
22652264
22662265 < p > For the table below, the IDL attribute in the first column
2267- must, on getting return the result of invoking
2266+ must return the result of invoking
22682267 < code title ="dom-CSSStyleDeclaration-getPropertyValue "> getPropertyValue()</ code >
22692268 with as argument the CSS property given in the second column on the same
22702269 row.</ p >
22712270
22722271 < p > Similarly for the table below, setting the IDL attribute in the
2273- first column must invoke
2274- < code title ="dom-CSSStyleDeclaration-setProperty "> setProperty()</ code > with as
2275- first argument the CSS property given in the second column on the same
2276- row, as second argument the given value, and no third argument. Any
2272+ first column must invoke
2273+ < code title ="dom-CSSStyleDeclaration-setProperty "> setProperty()</ code >
2274+ with as first argument the CSS property given in the second column on the
2275+ same row, as second argument the given value, and no third argument. Any
22772276 exceptions raised must be re-raised.</ p >
22782277
22792278 < table >
0 commit comments