mq-gamut-005.html (766B)
1 <!doctype html> 2 <title>Test: rec2020 color gamut(old name)</title> 3 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> 4 <link rel="help" href="https://www.w3.org/TR/mediaqueries-4/#color-gamut"> 5 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/4535"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 7 <meta name="assert" content="the rec-2020 (old name for rec2020) color-gamut is not syntactically supported"> 8 <style> 9 div { 10 width: 100px; 11 height: 100px; 12 background-color: green; 13 } 14 15 @media (color-gamut: rec-2020), 16 not (color-gamut: rec-2020) 17 { 18 div { background-color: red; } 19 } 20 </style> 21 22 <p>Test passes if there is a filled green square and <strong>no red</strong>. 23 24 <div></div>