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