File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -994,7 +994,6 @@ where
994994 } ;
995995
996996 if operator. is_some ( ) && legacy_op. is_some ( ) {
997- dbg ! ( ) ;
998997 return Err ( input. new_custom_error ( ParserError :: InvalidMediaQuery ) ) ;
999998 }
1000999
@@ -1012,8 +1011,6 @@ where
10121011
10131012 if let Some ( operator) = operator. or ( legacy_op) {
10141013 if !name. value_type ( ) . allows_ranges ( ) {
1015- dbg ! ( ) ;
1016-
10171014 return Err ( input. new_custom_error ( ParserError :: InvalidMediaQuery ) ) ;
10181015 }
10191016
@@ -1029,15 +1026,11 @@ where
10291026 let name = loop {
10301027 if let Ok ( ( name, legacy_op) ) = MediaFeatureName :: parse ( input) {
10311028 if legacy_op. is_some ( ) {
1032- dbg ! ( ) ;
1033-
10341029 return Err ( input. new_custom_error ( ParserError :: InvalidMediaQuery ) ) ;
10351030 }
10361031 break name;
10371032 }
10381033 if input. is_exhausted ( ) {
1039- dbg ! ( ) ;
1040-
10411034 return Err ( input. new_custom_error ( ParserError :: InvalidMediaQuery ) ) ;
10421035 }
10431036 } ;
@@ -1055,7 +1048,6 @@ where
10551048 }
10561049
10571050 if !name. value_type ( ) . allows_ranges ( ) || !value. check_type ( name. value_type ( ) ) {
1058- dbg ! ( ) ;
10591051 return Err ( input. new_custom_error ( ParserError :: InvalidMediaQuery ) ) ;
10601052 }
10611053
You can’t perform that action at this time.
0 commit comments