Skip to content

Commit

Permalink
Editorial: Fix link to URL Pattern match algorithm
Browse files Browse the repository at this point in the history
This was changed upstream in whatwg/urlpattern@531a2ccf.

Fixes #292.
  • Loading branch information
jeremyroman authored Dec 6, 2023
1 parent 5c49115 commit 83ed30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speculation-rules.bs
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ A <dfn>prerender candidate</dfn> is a [=struct=] with the following [=struct/ite
1. If |predicate| is a [=document rule URL pattern predicate=], then:
1. Let |href| be the result of running |el|'s {{HTMLHyperlinkElementUtils/href}} getter steps.
1. [=list/For each=] |pattern| of |predicate|'s [=document rule URL pattern predicate/patterns=]:
1. <a spec="urlpattern">Match</a> given |pattern| and |href|. If the result is not null, return true.
1. [=URLPattern/Match=] given |pattern| and |href|. If the result is not null, return true.
1. Return false.
1. If |predicate| is a [=document rule CSS selector predicate=], then:
1. [=list/For each=] |selector| of |predicate|'s [=document rule CSS selector predicate/selectors=]:
Expand Down

0 comments on commit 83ed30c

Please sign in to comment.