Skip to content

Commit 4f811ce

Browse files
authored
Fix grouping in <general-enclosed> and apply earlier fixes to mediaqueries-5. (#7497)
1 parent 80bc3d5 commit 4f811ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mediaqueries-4/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ Syntax</h2>
871871
<dfn>&lt;mf-eq></dfn> = '='
872872
<dfn>&lt;mf-comparison></dfn> = <<mf-lt>> | <<mf-gt>> | <<mf-eq>>
873873

874-
<dfn>&lt;general-enclosed></dfn> = [ <<function-token>> <<any-value>>? ) ] | ( <<any-value>>? )
874+
<dfn>&lt;general-enclosed></dfn> = [ <<function-token>> <<any-value>>? ) ] | [ ( <<any-value>>? ) ]
875875
</pre>
876876

877877
The <<media-type>> production does not include the keywords ''only'', ''not'', ''and'', ''or'', and ''layer''.

mediaqueries-5/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ Syntax</h2>
869869
<dfn>&lt;mf-eq></dfn> = '='
870870
<dfn>&lt;mf-comparison></dfn> = <<mf-lt>> | <<mf-gt>> | <<mf-eq>>
871871

872-
<dfn>&lt;general-enclosed></dfn> = [ <<function-token>> <<any-value>> ) ] | ( <<ident>> <<any-value>> )
872+
<dfn>&lt;general-enclosed></dfn> = [ <<function-token>> <<any-value>>? ) ] | [ ( <<any-value>>? ) ]
873873
</pre>
874874

875875
The <<media-type>> production does not include the keywords ''only'', ''not'', ''and'', ''or'', and ''layer''.

0 commit comments

Comments
 (0)