@@ -82,9 +82,7 @@ with <<route-condition>> defined as:
8282 <dfn><<route-in-parens>></dfn> = ( <<route-condition>> ) | ( <<route-test>> ) | <<general-enclosed>>
8383 <dfn><<route-test>></dfn> = <<route-location>> | <<route-keyword>> : <<route-location>>
8484 <dfn><<route-keyword>></dfn> = at | from | to
85- <dfn><<route-location>></dfn> = <<route-name>> | <<urlpattern()>>
86- <!-- TODO(dbaron): Should this be <<ident>> or <<custom-ident>> ? -->
87- <dfn><<route-name>></dfn> = <<custom-ident>>
85+ <dfn><<route-location>></dfn> = <<urlpattern()>>
8886</pre>
8987
9088The above grammar is purposely very loose for forwards-compatibility reasons,
@@ -97,11 +95,6 @@ is invalid.
9795Style sheets <strong>must not</strong> use such a rule and
9896processors <strong>must</strong> ignore such a rule (including all of its contents).
9997
100- A <<route-name>> is a reference to a route
101- named in a <code highlight=html><script type=routemap></code>
102- in the document.
103- <span class="issue">This should be defined more formally once routemaps are.</span>
104-
10598Many of these grammar terms are associated with a boolean result,
10699as follows:
107100
@@ -203,18 +196,18 @@ as follows:
203196The <dfn>route location URL pattern</dfn> of a <<route-location>>
204197depends on the type of <<route-location>>:
205198
206- : <<route-name>>
207- :: the URL pattern of a route named <<route-name>>
208- declared in a <code highlight=html><script type=routemap></code>.
209-
210- ISSUE: Once routemaps are defined more formally,
211- this should be defined in terms of the routemap definition
212- instead of referring directly to URLPattern.
213-
214199: <<urlpattern()>>
215200:: The [=URL pattern=] represented by the function; see
216201 [=create a URL pattern for urlpattern()=].
217202
203+ ISSUE: There is currently only one type of <<route-location>>
204+ but we should consider adding another,
205+ which would be just a name that references
206+ a name defined in a routemap.
207+ See the
208+ <a href="https://github.com/WICG/declarative-partial-updates/blob/main/route-matching-explainer.md">route matching explainer</a>
209+ for details.
210+
218211A <dfn>document's navigation API</dfn> is
219212the result of the following steps on <var>document</var>:
220213
0 commit comments