From 54255dcbbf50461edb8b23b8d25209458d0d2c07 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Fri, 19 Jan 2024 14:03:22 +0100 Subject: [PATCH] [css-syntax-3] Return declarations in specified order --- css-syntax-3/Overview.bs | 2 +- cssom-1/Overview.bs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css-syntax-3/Overview.bs b/css-syntax-3/Overview.bs index 61be4c87b23..236f68c71e4 100644 --- a/css-syntax-3/Overview.bs +++ b/css-syntax-3/Overview.bs @@ -2801,7 +2801,7 @@ Consume a block's contents
<>
<}-token>
- Return |decls| and |rules|. + Return |decls| in specified order and |rules|.
<>
diff --git a/cssom-1/Overview.bs b/cssom-1/Overview.bs index 369d80fe7a2..598218d3e69 100644 --- a/cssom-1/Overview.bs +++ b/cssom-1/Overview.bs @@ -2244,7 +2244,7 @@ To parse a CSS declaration block from a string stringparsed declaration be null.
  • If parsed declaration is not null, append it to parsed declarations. -
  • Return parsed declarations. +
  • Return parsed declarations in specified order. To serialize a CSS declaration with property name property, value value and optionally an important flag set, follow @@ -2393,7 +2393,7 @@ Setting the {{CSSStyleDeclaration/cssText}} attribute must run these steps: then throw a {{NoModificationAllowedError}} exception.
  • Empty the declarations.
  • Parse the given value and, if the return value is not the empty list, insert the items in the list - into the declarations, in specified order. + into the declarations.
  • Update style attribute for the CSS declaration block.