bounded-css-properties-reftest-ref.html (886B)
1 <!doctype html> 2 <meta charset="utf-8" /> 3 <body> 4 <div> 5 The geolocation element should have some limits for specific properties: 6 <ul> 7 <li>font-weight is adjusted to be at least 200.</li> 8 <li>font-style should only have "normal" or "italic" values.</li> 9 <li>word-spacing should be at most 0.5 of the font size, and non-negative.</li> 10 <li>letter-spacing should be between -0.05 and 0.2 of the font size.</li> 11 </ul> 12 </div> 13 14 <style> 15 #id1 { 16 font-weight: 200; 17 font-style: normal; 18 word-spacing: 0.5em; 19 font-size: 100px; 20 height: auto; 21 width: auto; 22 letter-spacing: 20px; 23 } 24 #id2 { 25 word-spacing: 0em; 26 height: auto; 27 width: auto; 28 font-size: 10px; 29 letter-spacing: -0.5px; 30 } 31 </style> 32 33 <geolocation id="id1"></geolocation> 34 <geolocation id="id2"></geolocation> 35 </body>