You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The <dfn id=concept-shorthands-preferred-order>preferred order</dfn> of a list of shorthand properties <var>shorthands</var> is as follows:
2059
2076
2060
2077
<ol>
@@ -2100,8 +2117,7 @@ Setting the {{CSSStyleDeclaration/cssText}} attribute must run these steps:
2100
2117
<li>Empty the <a for="CSSStyleDeclaration">declarations</a>.
2101
2118
<li><a lt="Parse a CSS declaration block">Parse</a> the given value and, if the return value is not the empty list, insert the items in the list
2102
2119
into the <a for="CSSStyleDeclaration">declarations</a>, in <a>specified order</a>.
2103
-
<li>If the <a for="CSSStyleDeclaration">owner node</a> is not null, <a>set an attribute value</a> for <a for="CSSStyleDeclaration">owner node</a>
2104
-
using "<code>style</code>" and the result of <a lt="serialize a CSS declaration block">serializing</a> the <a for="CSSStyleDeclaration">declarations</a>.
2120
+
<li><a>Update style attribute for</a> the <a>CSS declaration block</a>.
2105
2121
</ol>
2106
2122
2107
2123
The <dfn attribute for=CSSStyleDeclaration>length</dfn> attribute must return the number of <a lt="CSS declaration">CSS
@@ -2187,8 +2203,7 @@ The <dfn method for=CSSStyleDeclaration>setProperty(<var>property</var>, <var>va
2187
2203
<li>Otherwise, <a lt="set a CSS declaration">set the CSS declaration</a><var>property</var> with value <var>component value list</var>, with
2188
2204
the <i>important</i> flag set if <var>priority</var> is not the empty string, and unset otherwise, and with the list of declarations being the
2189
2205
<a for="CSSStyleDeclaration">declarations</a>.
2190
-
<li>If the <a for="CSSStyleDeclaration">owner node</a> is not null, <a>set an attribute value</a> for <a for="CSSStyleDeclaration">owner node</a>
2191
-
using "<code>style</code>" and the result of <a lt="serialize a CSS declaration block">serializing</a> the <a for="CSSStyleDeclaration">declarations</a>.
2206
+
<li><a>Update style attribute for</a> the <a>CSS declaration block</a>.
2192
2207
</ol>
2193
2208
2194
2209
To <dfn>set a CSS declaration</dfn><var>property</var> with a value <var>component value list</var> and optionally with an <i>important</i> flag set, in
@@ -2227,8 +2242,7 @@ steps:
2227
2242
value list</var>, and with the list of declarations being the <a for="CSSStyleDeclaration">declarations</a>.
2228
2243
<li>Otherwise, <a lt="set a CSS declaration value">set the CSS declaration value</a><var>property</var> to the value <var>component value
2229
2244
list</var>, and with the list of declarations being the <a for="CSSStyleDeclaration">declarations</a>.
2230
-
<li>If the <a for="CSSStyleDeclaration">owner node</a> is not null, <a>set an attribute value</a> for <a for="CSSStyleDeclaration">owner node</a>
2231
-
using "<code>style</code>" and the result of <a lt="serialize a CSS declaration block">serializing</a> the <a for="CSSStyleDeclaration">declarations</a>.
2245
+
<li><a>Update style attribute for</a> the <a>CSS declaration block</a>.
2232
2246
</ol>
2233
2247
2234
2248
To <dfn>set a CSS declaration value</dfn> to a value <var>component value list</var> in a list of declarations <var>declarations</var>, follow these steps:
@@ -2261,8 +2275,7 @@ these steps:
2261
2275
<li>Otherwise, <a lt="set a CSS declaration priority">set the CSS declaration priority</a><var>property</var> with the <i>important</i> flag set
2262
2276
if <var>priority</var> is not the empty string, and unset otherwise, and with the list of declarations being the
2263
2277
<a for="CSSStyleDeclaration">declarations</a>.
2264
-
<li>If the <a for="CSSStyleDeclaration">owner node</a> is not null, <a>set an attribute value</a> for <a for="CSSStyleDeclaration">owner node</a>
2265
-
using "<code>style</code>" and the result of <a lt="serialize a CSS declaration block">serializing</a> the <a for="CSSStyleDeclaration">declarations</a>.
2278
+
<li><a>Update style attribute for</a> the <a>CSS declaration block</a>.
2266
2279
</ol>
2267
2280
2268
2281
To <dfn>set a CSS declaration priority</dfn><var>property</var> optionally with an <i>important</i> flag set, in a list of declarations
@@ -2294,9 +2307,7 @@ The <dfn method for=CSSStyleDeclaration>removeProperty(<var>property</var>)</dfn
2294
2307
<li>Otherwise, if <var>property</var> is a <a>case-sensitive</a> match for a
2295
2308
<a for="CSS declaration">property name</a> of a <a>CSS declaration</a> in the
2296
2309
<a for="CSSStyleDeclaration">declarations</a>, remove that <a>CSS declaration</a> and let <var>removed</var> be true.
2297
-
<li>If <var>removed</var> is true and <a for="CSSStyleDeclaration">owner node</a> is not null, <a>set an attribute value</a>
2298
-
for <a for="CSSStyleDeclaration">owner node</a> using "<code>style</code>" and the result of
2299
-
<a lt="serialize a CSS declaration block">serializing</a> the <a for="CSSStyleDeclaration">declarations</a>.
2310
+
<li>If <var>removed</var> is true, <a>Update style attribute for</a> the <a>CSS declaration block</a>.
0 commit comments