tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

size-adjust-03-ref.html (865B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <link rel="author" href="mailto:changseok@webkit.org">
      4 <title>Tests that font-size-adjust preempts size-adjust from the descriptor.</title>
      5 <style>
      6 @font-face {
      7  font-family: reference-font;
      8  src: local(Ahem), url(/fonts/Ahem.ttf);
      9 }
     10 
     11 div {
     12  line-height: 100px;
     13 }
     14 
     15 .font-size-adjust-override {
     16  font-family: reference-font, sans-serif;
     17  font-size: 40px;
     18 }
     19 
     20 .descriptor-size-adjust-active {
     21  font-family: reference-font, sans-serif;
     22  font-size: 60px;
     23 }
     24 </style>
     25 
     26 <p>With font-size-adjust, size-adjust:150% has no effect as font-size-adjust overrides it.</p>
     27 
     28 <div class="font-size-adjust-override">The Quick Brown Fox</div>
     29 
     30 <p>Without font-size-adjust, size-adjust:150% should be applied. Pass if the following texts show bigger than the above.</p>
     31 
     32 <div class="descriptor-size-adjust-active">The Quick Brown Fox</div>