@@ -179,6 +179,13 @@ as follows:
179179 [=URL pattern/match|matches=]
180180 the [=route location URL pattern=] of <<route-location>> .
181181
182+ TODO: Update this definition to handle redirects better.
183+ In particular, we'd like the ''to:'' URL to change
184+ at only a single time,
185+ from the original URL of the navigation to the final one.
186+ There is already a well-defined definition and processing model
187+ that we can depend on.
188+
182189 ISSUE: The above definitions of from and to apparently don't work right
183190 if you start a same-document navigation (e.g., with {{History/pushState}} )
184191 in the middle of a cross-document navigation.
@@ -244,6 +251,10 @@ ISSUE: This should probably have a more formal definition of the function,
244251but I can't find the formal definitions of the existing ''if()'' functions
245252to model it after.
246253
254+ <h2 id="link-route-pseudo-classes">Pseudo-classes for route-related links</h2>
255+
256+ TODO: To be written.
257+
247258<h2 id="urlpattern-function">The ''urlpattern()'' function</h2>
248259
249260<!--
@@ -255,7 +266,7 @@ exported any more, since it was exported for this definition.
255266
256267-->
257268
258- The <dfn function>urlpattern()</dfn> function represents a [=URL pattern=] ,
269+ The <dfn export function>urlpattern()</dfn> function represents a [=URL pattern=] ,
259270which can be used to match URLs.
260271
261272<pre class="prod def">
@@ -296,3 +307,11 @@ using the steps of the <dfn>create a URL pattern for urlpattern()</dfn> algorith
296307NOTE: This function requires that its argument is quoted.
297308This differs from the ''url()'' function,
298309which allows its argument to be quoted or unquoted.
310+
311+ To <dfn export>serialize a ''urlpattern()'' function</dfn> <var> f</var> ,
312+ [=serialize a function=] <var> f</var> ,
313+ using [=serialize a string=] on the single argument
314+ to serialize <var> f</var> 's contents.
315+
316+ NOTE: This is defined this way because {{URLPattern}}
317+ intentionally does not provide a serialization.
0 commit comments