Skip to content

Commit e68d1f6

Browse files
committed
[cssom-1] Return declarations in specified order from parse a CSS declaration block
1 parent 93b77a6 commit e68d1f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cssom-1/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2244,7 +2244,7 @@ To <dfn export>parse a CSS declaration block</dfn> from a string <var>string</va
22442244
are said to be ignored. If the whole declaration is dropped, let <var>parsed declaration</var> be null.
22452245
<li>If <var>parsed declaration</var> is not null, append it to <var>parsed declarations</var>.
22462246
</ol>
2247-
<li>Return <var>parsed declarations</var>.
2247+
<li>Return <var>parsed declarations</var> in <a>specified order</a>.
22482248
</ol>
22492249

22502250
To <dfn export>serialize a CSS declaration</dfn> with property name <var>property</var>, value <var>value</var> and optionally an <i>important</i> flag set, follow
@@ -2393,7 +2393,7 @@ Setting the {{CSSStyleDeclaration/cssText}} attribute must run these steps:
23932393
then <a>throw</a> a {{NoModificationAllowedError}} exception.
23942394
<li>Empty the <a for="CSSStyleDeclaration">declarations</a>.
23952395
<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
2396-
into the <a for="CSSStyleDeclaration">declarations</a>, in <a>specified order</a>.
2396+
into the <a for="CSSStyleDeclaration">declarations</a>.
23972397
<li><a>Update style attribute for</a> the <a>CSS declaration block</a>.
23982398
</ol>
23992399

0 commit comments

Comments
 (0)