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