blob: c02175432a8fc2e91f367887dcc6412d7929d10c [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Media queries with invalid ident values must be dropped</title>
<style>
@media not all and (orientation: block) {
#t1 { color: red; }
}
@media not all and (view-mode: portrait) {
#t2 { color: red; }
}
@media not all and (pointer: landscape) {
#t3 { color: red; }
}
@media not all and (scan: none) {
#t4 { color: red; }
}
</style>
</head>
<body>
<div id="t1">Should not be red</div>
<div id="t2">Should not be red</div>
<div id="t3">Should not be red</div>
<div id="t4">Should not be red</div>
</body>
</html>