| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Media queries with invalid ident values must be dropped</title> | 4 <title>Media queries with invalid ident values must be dropped</title> |
| 5 <style> | 5 <style> |
| 6 @media not all and (orientation: block) { | 6 @media not all and (orientation: block) { |
| 7 #t1 { color: red; } | 7 #t1 { color: red; } |
| 8 } | 8 } |
| 9 @media not all and (view-mode: portrait) { | 9 @media not all and (pointer: landscape) { |
| 10 #t2 { color: red; } | 10 #t2 { color: red; } |
| 11 } | 11 } |
| 12 @media not all and (pointer: landscape) { | 12 @media not all and (scan: none) { |
| 13 #t3 { color: red; } | 13 #t3 { color: red; } |
| 14 } | 14 } |
| 15 @media not all and (scan: none) { | |
| 16 #t4 { color: red; } | |
| 17 } | |
| 18 </style> | 15 </style> |
| 19 </head> | 16 </head> |
| 20 <body> | 17 <body> |
| 21 <div id="t1">Should not be red</div> | 18 <div id="t1">Should not be red</div> |
| 22 <div id="t2">Should not be red</div> | 19 <div id="t2">Should not be red</div> |
| 23 <div id="t3">Should not be red</div> | 20 <div id="t3">Should not be red</div> |
| 24 <div id="t4">Should not be red</div> | |
| 25 </body> | 21 </body> |
| 26 </html> | 22 </html> |
| OLD | NEW |