angle-units-002.html (1142B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Values and Units Test: degree angle unit with mixed case</title> 6 7 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 8 <link rel="help" href="https://www.w3.org/TR/css-values-3/#angles"> 9 <link rel="help" href="https://www.w3.org/TR/CSS22/syndata.html#characters"> 10 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 11 12 <meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-4400"> 13 <meta content="This test checks that 'deg' angle unit is case-insensitive." name="assert"> 14 15 <style> 16 div 17 { 18 height: 100px; 19 width: 100px; 20 } 21 22 div#test-overlapping-green 23 { 24 background-color: red; 25 background-image: linear-gradient(90DeG, green, green); 26 } 27 28 div#reference-overlapped-red 29 { 30 background-color: red; 31 bottom: 100px; 32 position: relative; 33 z-index: -1; 34 } 35 </style> 36 37 <p>Test passes if there is a filled green square and <strong>no red</strong>. 38 39 <div id="test-overlapping-green"></div> 40 41 <div id="reference-overlapped-red"></div>