font-size-adjust-ic-height-ref.html (664B)
1 <!DOCTYPE html> 2 <meta charset="UTF-8"> 3 <title>font-size-adjust with the ic-height metric</title> 4 <link rel="author" title="ChangSeok Oh" href="mailto:changseok@chromium.org" /> 5 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 6 <style> 7 @font-face { 8 font-family: NotoSansCJK; 9 src: url(/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-chws.otf); 10 } 11 div { 12 color: green; 13 background: green; 14 writing-mode: vertical-rl; 15 text-orientation: upright; 16 } 17 .adjustedRef { 18 font-family: NotoSansCJK; 19 font-size: 200px; 20 } 21 .fallbackRef { 22 font-family: Ahem; 23 font-size: 50px; 24 } 25 </style> 26 <div class="adjustedRef">水</div> 27 <div class="fallbackRef">水</div>