Skip to content

Commit 54255dc

Browse files
committed
[css-syntax-3] Return declarations in specified order
1 parent 93b77a6 commit 54255dc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

css-syntax-3/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2801,7 +2801,7 @@ Consume a block's contents</h4>
28012801
<dt><<EOF-token>>
28022802
<dt><a href="#tokendef-close-curly">&lt;}-token></a>
28032803
<dd>
2804-
Return |decls| and |rules|.
2804+
Return |decls| in <a>specified order</a> and |rules|.
28052805

28062806
<dt><<at-keyword-token>>
28072807
<dd>

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)