@@ -456,7 +456,7 @@ by matching the relevant parts of the navigation URL to the link URL.
456456 the match with the link's target.
457457 */
458458.movie-container:has(> .movie-title:link-to(
459- --movie-details with ( navigation-param(id) ))) {
459+ --movie-details with navigation-param(id))) {
460460
461461 view-transition-name: movie-container;
462462
@@ -479,21 +479,18 @@ and the pseudo-class matches any element where:
479479<pre class="prod def" dfn-type="type" nohighlight>
480480<dfn><<link-condition>></dfn> = <<link-condition-base>> [ with <<navigation-param-expression>> ]?
481481<dfn><<link-condition-base>></dfn> = <<navigation-location>>
482- <dfn><<navigation-param-expression>></dfn> = ( [ <<navigation-param-and>> |
483- <<navigation-param-or>> |
484- <<navigation-param>> ] )
482+ <dfn><<navigation-param-expression>></dfn> = ( <<navigation-param-and>> ) |
483+ ( <<navigation-param-or>> ) |
484+ <<navigation-param>>
485485<dfn><<navigation-param-and>></dfn> = <<navigation-param-expression>>
486486 [ "and" <<navigation-param-expression>> ]*
487487<dfn><<navigation-param-or>></dfn> = <<navigation-param-expression>>
488488 [ "or" <<navigation-param-expression>> ]*
489489<dfn><<navigation-param>></dfn> = <<navigation-param-key-value>> | <<navigation-param-function>>
490- <dfn><<navigation-param-key-value>></dfn> = <<ident>> : <<string>>
490+ <dfn><<navigation-param-key-value>></dfn> = ( <<ident>> : <<string>> )
491491<dfn><<navigation-param-function>></dfn> = navigation-param( <<ident>> )
492492</pre>
493493
494- ISSUE: This grammar should be restructured so that
495- it doesn't require parentheses around a lone <<navigation-param-function>> .
496-
497494A <<link-condition>> matches the target of the link when both:
498495* the <<link-condition-base>> matches the target of the link, and
499496* the <<navigation-param-expression>> matches the target of the link,
0 commit comments