Skip to content

Commit 109b5b0

Browse files
committed
[css-navigation-1] Add more detail to issue about base URL of urlpattern().
(This is part of importing the history from WICG/declarative-partial-updates.)
1 parent 208e913 commit 109b5b0

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

css-navigation-1/Overview.bs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,17 +245,25 @@ using the steps of the <dfn>create a URL pattern for urlpattern()</dfn> algorith
245245
the rule or declaration block containing the ''urlpattern()'' function.
246246

247247
<div class="issue">
248-
Do we really want this to be the base URL?
249-
For this particular use of ''urlpattern()'',
248+
Do we want this to be the base URL all the time?
249+
For use of ''urlpattern()'' in ''@route'',
250250
it's likely more useful for the base URL
251251
to be the document URL rather than the style sheet URL.
252252
However, it would be very awkward for ''urlpattern()''
253253
to be inconsistent with ''url()''.
254+
255+
Should we allow the base URL of ''urlpattern()''
256+
to be defined by the consumer?
254257
Should we introduce <code>document-urlpattern()</code>?
255258
Should we do something similar to
256259
[[css-images-3#ambiguous-urls]]
257260
(see <w3c/csswg-drafts#383>)?
258261

262+
Also see other proposed uses of {{URLPattern}} in CSS
263+
in <w3c/csswg-drafts#10975>,
264+
for '':local-link''.
265+
</div>
266+
259267
1. Return the result of [=URL pattern/create|create a URL pattern=] given
260268
<var>arg</var>, <var>baseURL</var>, and an empty [=map=].
261269

0 commit comments

Comments
 (0)