diff --git a/css-route-matching/index.bs b/css-route-matching/index.bs index f064386..d2fd3ac 100644 --- a/css-route-matching/index.bs +++ b/css-route-matching/index.bs @@ -82,9 +82,7 @@ with <> defined as: <> = ( <> ) | ( <> ) | <> <> = <> | <> : <> <> = at | from | to - <> = <> | <> - - <> = <> + <> = <> The above grammar is purposely very loose for forwards-compatibility reasons, @@ -97,11 +95,6 @@ is invalid. Style sheets must not use such a rule and processors must ignore such a rule (including all of its contents). -A <> is a reference to a route -named in a <script type=routemap> -in the document. -This should be defined more formally once routemaps are. - Many of these grammar terms are associated with a boolean result, as follows: @@ -203,18 +196,18 @@ as follows: The route location URL pattern of a <> depends on the type of <>: -: <> -:: the URL pattern of a route named <> - declared in a <script type=routemap>. - - ISSUE: Once routemaps are defined more formally, - this should be defined in terms of the routemap definition - instead of referring directly to URLPattern. - : <> :: The [=URL pattern=] represented by the function; see [=create a URL pattern for urlpattern()=]. +ISSUE: There is currently only one type of <> +but we should consider adding another, +which would be just a name that references +a name defined in a routemap. +See the +route matching explainer +for details. + A document's navigation API is the result of the following steps on document: