@@ -79,7 +79,7 @@ with <<navigation-condition>> defined as:
7979 <dfn><<navigation-in-parens>></dfn> = ( <<navigation-condition>> ) | ( <<navigation-test>> ) | <<general-enclosed>>
8080 <dfn><<navigation-test>></dfn> = <<navigation-location>> | <<navigation-keyword>> : <<navigation-location>>
8181 <dfn><<navigation-keyword>></dfn> = at | from | to
82- <dfn><<navigation-location>></dfn> = <<urlpattern ()>>
82+ <dfn><<navigation-location>></dfn> = <<url-pattern ()>>
8383</pre>
8484
8585The above grammar is purposely very loose for forwards-compatibility reasons,
@@ -193,9 +193,9 @@ as follows:
193193The <dfn>navigation location URL pattern</dfn> of a <<navigation-location>>
194194depends on the type of <<navigation-location>> :
195195
196- : <<urlpattern ()>>
196+ : <<url-pattern ()>>
197197:: The [=URL pattern=] represented by the function; see
198- [=create a URL pattern for urlpattern ()=] .
198+ [=create a URL pattern for url-pattern ()=] .
199199
200200ISSUE: There is currently only one type of <<navigation-location>>
201201but we should consider adding another,
@@ -245,7 +245,7 @@ to model it after.
245245
246246TODO: To be written.
247247
248- <h2 id="urlpattern- function">The ''urlpattern ()'' function</h2>
248+ <h2 id="url-pattern- function">The ''url-pattern ()'' function</h2>
249249
250250<!--
251251
@@ -256,32 +256,32 @@ exported any more, since it was exported for this definition.
256256
257257-->
258258
259- The <dfn export function>urlpattern ()</dfn> function represents a [=URL pattern=] ,
259+ The <dfn export function>url-pattern ()</dfn> function represents a [=URL pattern=] ,
260260which can be used to match URLs.
261261
262262<pre class="prod def">
263- <<urlpattern ()>> = urlpattern ( <<string>> )
263+ <<url-pattern ()>> = url-pattern ( <<string>> )
264264</pre>
265265
266266This function represents a [=URL pattern=] that can be created
267- using the steps of the <dfn>create a URL pattern for urlpattern ()</dfn> algorithm:
267+ using the steps of the <dfn>create a URL pattern for url-pattern ()</dfn> algorithm:
268268
269- 1. Let <var> arg</var> be the <<string>> argument to the ''urlpattern ()'' function.
269+ 1. Let <var> arg</var> be the <<string>> argument to the ''url-pattern ()'' function.
270270
2712711. Let <var> baseURL</var> be the [=style resource base URL=] of
272- the rule or declaration block containing the ''urlpattern ()'' function.
272+ the rule or declaration block containing the ''url-pattern ()'' function.
273273
274274 <div class="issue">
275275 Do we want this to be the base URL all the time?
276- For use of ''urlpattern ()'' in ''@navigation'' ,
276+ For use of ''url-pattern ()'' in ''@navigation'' ,
277277 it's likely more useful for the base URL
278278 to be the document URL rather than the style sheet URL.
279- However, it would be very awkward for ''urlpattern ()''
279+ However, it would be very awkward for ''url-pattern ()''
280280 to be inconsistent with ''url()'' .
281281
282- Should we allow the base URL of ''urlpattern ()''
282+ Should we allow the base URL of ''url-pattern ()''
283283 to be defined by the consumer?
284- Should we introduce <code> document-urlpattern ()</code> ?
284+ Should we introduce <code> document-url-pattern ()</code> ?
285285 Should we do something similar to
286286 [[css-images-3#ambiguous-urls]]
287287 (see <w3c/csswg-drafts#383> )?
@@ -298,7 +298,7 @@ NOTE: This function requires that its argument is quoted.
298298This differs from the ''url()'' function,
299299which allows its argument to be quoted or unquoted.
300300
301- To <dfn export>serialize a ''urlpattern ()'' function</dfn> <var> f</var> ,
301+ To <dfn export>serialize a ''url-pattern ()'' function</dfn> <var> f</var> ,
302302[=serialize a function=] <var> f</var> ,
303303using [=serialize a string=] on the single argument
304304to serialize <var> f</var> 's contents.
0 commit comments