mq-gamut-002.html (705B)
1 <!doctype html> 2 <title>Test: p3 color gamut</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/276"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 7 <meta name="assert" content="the p3 color-gamut is syntactically supported"> 8 <style> 9 div { 10 width: 100px; 11 height: 100px; 12 background-color: red; 13 } 14 15 @media (color-gamut: p3), 16 not (color-gamut: p3) 17 { 18 div { background-color: green; } 19 } 20 </style> 21 22 <p>Test passes if there is a filled green square and <strong>no red</strong>. 23 24 <div></div>