Skip to content

Commit b4a12da

Browse files
andruudtabatkins
andcommitted
[css-properties-values-api] Require <custom-ident> as component name. (#884)
* [css-properties-values-api] Require <custom-ident> as component name. Something like this was in the original syntax parsing PR, but it got lost at some point. Resolves #879. * fixup! [css-properties-values-api] Require <custom-ident> as component name. * Update css-properties-values-api/Overview.bs Co-Authored-By: andruud <andruud@gmail.com> Co-authored-by: Tab Atkins Jr. <jackalmage@gmail.com>
1 parent 80e8d14 commit b4a12da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css-properties-values-api/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,9 @@ Parsing the syntax string {#parsing-syntax}
640640
and set |component|’s |name| to the returned value.
641641
Otherwise return failure.
642642

643+
If |component|’s |name| does not [=CSS/parse=] as a <<custom-ident>>,
644+
return failure.
645+
643646
: anything else
644647
:: Return failure.
645648

0 commit comments

Comments
 (0)