diff --git a/css-animations-1/Overview.bs b/css-animations-1/Overview.bs index bdeca6c13e4..7041b57f924 100644 --- a/css-animations-1/Overview.bs +++ b/css-animations-1/Overview.bs @@ -206,7 +206,7 @@ Declaring Keyframes defined as follows:
- @keyframes = @keyframes <> { < > } + @keyframes = @keyframes < > { < > } <keyframes-name> = < > | < > diff --git a/css-cascade-5/Overview.bs b/css-cascade-5/Overview.bs index d4ba8589f51..f2f7829ea5d 100644 --- a/css-cascade-5/Overview.bs +++ b/css-cascade-5/Overview.bs @@ -1612,7 +1612,7 @@ Assigning Styles Inline: the ''@layer'' block at-rule @layer <diff --git a/css-cascade-6/Overview.bs b/css-cascade-6/Overview.bs index e21e2858329..b784c0fe5c7 100644 --- a/css-cascade-6/Overview.bs +++ b/css-cascade-6/Overview.bs @@ -299,7 +299,7 @@ Effects of ''@scope'' The ''@scope'' [=at-rule=] has three primary effects on the [=style rules=] it contains: - * The [=style rules=] in an ''@scope'' <>? { - < > + < > } > + * The [=style rules=] in an ''@scope'' < > are [=scoped style rules=]. * The '':scope'' selector is defined to match @@ -431,7 +431,7 @@ Syntax of ''@scope'' @scope [(<@@ -441,7 +441,7 @@ Syntax of ''@scope'' used to identify the [=scoping root=](s). * <>)]? [to (< >)]? { - < > + < > } > is a <> [=selector=] used to identify any [=scoping limits=]. - * the < > represents the [=scoped style rules=]. + * the < > represents the [=scoped style rules=]. [=Pseudo-elements=] cannot be [=scoping roots=] or [=scoping limits=]; they are invalid both within < > and < >. diff --git a/css-conditional-3/Overview.bs b/css-conditional-3/Overview.bs index cb0cc554ac7..c8d6657dc7f 100644 --- a/css-conditional-3/Overview.bs +++ b/css-conditional-3/Overview.bs @@ -172,8 +172,8 @@ at-media-dynamic-001.html Contents of conditional group rules
-All [=conditional group rules=] are defined to take a <> in their block, -which means they can accept any rule that is normally allowed at the top-level of a stylesheet, +All [=conditional group rules=] are defined to take a < > in their block, +and accept any rule that is normally allowed at the top-level of a stylesheet, and not otherwise restricted. (For example, an ''@import'' rule must appear at the actual beginning of a stylesheet, and so is not valid inside of another rule.) @@ -187,7 +187,7 @@ at-media-content-003.html at-media-content-004.html -Invalid or unknown rules inside the < > must be considered invalid and ignored, +Invalid or unknown rules inside the < > must be considered invalid and ignored, but do not invalidate the [=conditional group rule=]. @@ -263,7 +263,7 @@ Its syntax is: @media <@@ -346,7 +346,7 @@ The syntax of the ''@supports'' rule is:> { - < > + < > } @supports <diff --git a/css-conditional-5/Overview.bs b/css-conditional-5/Overview.bs index eea17214729..ad5a4dbe7b0 100644 --- a/css-conditional-5/Overview.bs +++ b/css-conditional-5/Overview.bs @@ -128,7 +128,7 @@ Generalized Conditional Rules: the ''@when'' rule> { - < > + < > } @when <@@ -176,7 +176,7 @@ Chained Conditionals: the ''@else'' rule> { - < > + < > } @else <diff --git a/css-contain-3/Overview.bs b/css-contain-3/Overview.bs index ae6176b75e9..8d2c25b7bc6 100644 --- a/css-contain-3/Overview.bs +++ b/css-contain-3/Overview.bs @@ -571,7 +571,7 @@ Container Queries: the ''@container'' rule is a [=conditional group rule=] whose condition contains a container query, which is a boolean combination of [=container size queries=] and/or [=container style queries=]. - Style declarations within the <>? { - < > + < > } > block of an ''@container'' rule + Style declarations within the < > block of an ''@container'' rule are [[css-cascade-4#filtering|filtered]] by its condition to only match when the [=container query=] is true for their element’s [=query container=]. @@ -580,7 +580,7 @@ Container Queries: the ''@container'' rule @container <diff --git a/css-fonts-4/Overview.bs b/css-fonts-4/Overview.bs index 2e11a95f0ce..7d4d84980df 100644 --- a/css-fonts-4/Overview.bs +++ b/css-fonts-4/Overview.bs @@ -5494,7 +5494,7 @@ mapping author-chosen human-friendly names to feature indexes for the associated feature.> { - < > + < > } -@font-feature-values <># { < > } +@font-feature-values < ># { < > } < > = < > { < > } @@ -5518,7 +5518,7 @@ If syntax errors occur within the < > list, the entire rule ''@font-feature-values'' rule is invalid and must be ignored. -The ''@font-feature-values'' block accepts < > as its contents; +The ''@font-feature-values'' block accepts < > as its contents; these list items are either: [=at-rules=] named by one of the < > at-keyword tokens, diff --git a/css-nesting-1/Overview.bs b/css-nesting-1/Overview.bs index 7ad0f9122da..7d775a8b0da 100644 --- a/css-nesting-1/Overview.bs +++ b/css-nesting-1/Overview.bs @@ -622,8 +622,9 @@ Nesting Other At-Rules {#conditionals} can be nested inside of a [=style rule=] as well. When nested in this way, - the contents of a [=nested group rule=] are parsed as < > - rather than < >: + the contents of a [=nested group rule=]'s block + are parsed as < > + rather than < >: * [=Style rules=] are [=nested style rules=], with their [=nesting selector=] taking its definition diff --git a/css-page-3/Overview.bs b/css-page-3/Overview.bs index b4a88e26193..e4577357fbb 100644 --- a/css-page-3/Overview.bs +++ b/css-page-3/Overview.bs @@ -637,7 +637,7 @@ pseudo-classes. plus the additional rules noted below: - @page = @page <>? { < > } + @page = @page < >? { < > } < > = <># < > = [ <>? < >* ]! < > = ':' [ left | right | first | blank ] diff --git a/css-scoping-1/deferred-to-level-4.txt b/css-scoping-1/deferred-to-level-4.txt index 7f6b0694bd1..e4cda38dfad 100644 --- a/css-scoping-1/deferred-to-level-4.txt +++ b/css-scoping-1/deferred-to-level-4.txt @@ -75,12 +75,12 @@ CSS Syntax for Scoping: the ''@scope'' rule@scope <where the elements matched by the <> { - < > + < > } > - are scoping roots for the style rules in < >, + are scoping roots for the style rules in < >, and selectors of style rules scoped by ''@scope'' are scope-contained to their scoping root. @@ -89,7 +89,7 @@ CSS Syntax for Scoping: the ''@scope'' rule which could affect the optimization strategies for implementing scoped styles. If multiple elements match the < >, - the < > is effectively duplicated + the < > is effectively duplicated and scoped independently to each one. Authors should avoid using overly-generic selectors as it can have confusing interactions with the cascade. diff --git a/cssom-1/Overview.bs b/cssom-1/Overview.bs index e52a2ff515b..cc8d7a00e30 100644 --- a/cssom-1/Overview.bs +++ b/cssom-1/Overview.bs @@ -1056,8 +1056,7 @@ The replace(text) method Set the disallow modification flag. In parallel, do these steps: -
- Let rules be the result of running parse a list of rules from text. If rules is - not a list of rules (i.e. an error occurred during parsing), set rules to an empty list. +
- Let rules be the result of running parse a stylesheet's contents from text.
- If rules contains one or more @import rules, remove those rules from rules.
- Set sheet's CSS rules to rules.
- Unset sheet's disallow modification flag. @@ -1073,8 +1072,7 @@ To synchronously replace the rules of a CSSStyleSheet on
@@ -2239,7 +2237,7 @@ the DOM a CSS declaration block is a To parse a CSS declaration block from a string string, follow these steps:
- If the constructed flag is not set, or the disallow modification flag is set, throw a {{NotAllowedError}} {{DOMException}}. -
- Let rules be the result of running parse a list of rules from text. If rules is - not a list of rules (i.e. an error occurred during parsing), set rules to an empty list. +
- Let rules be the result of running parse a stylesheet's contents from text.
- If rules contains one or more @import rules, remove those rules from rules.
- Set sheet's CSS rules to rules.
-
- Let declarations be the return value of invoking parse a list of declarations with string. +
- Let declarations be the returned declarations from invoking parse a block's contents with string.
- Let parsed declarations be a new empty list.
- For each item declaration in declarations, follow these substeps: