ruby-intrinsic-isize-001-ref.html (1184B)
1 <!DOCTYPE html> 2 <html lang="ja"> 3 <meta charset="UTF-8"> 4 <title>Intrinsic ISize calculation of ruby</title> 5 <link rel="author" title="Xidorn Quan" href="https://www.upsuper.org"> 6 <link rel="author" title="Mozilla" href="https://www.mozilla.org"> 7 <style> 8 div { 9 display: inline-block; 10 border: 1px solid black; 11 font-kerning: none; /* disable kerning, because in the reference file 12 it might occur across <span> boundaries */ 13 } 14 span { 15 white-space: nowrap; 16 } 17 </style> 18 <div style="width: min-content"> 19 <span>ABC</span><span>DEF</span> 20 </div> 21 <div style="width: max-content"> 22 <span>ABC</span><span>DEF</span> 23 </div> 24 <br> 25 26 <div style="width: min-content"> 27 XYZ<span>ABC</span><span>DEF</span>XYZ 28 </div> 29 <div style="width: max-content"> 30 XYZ<span>ABC</span><span>DEF</span>XYZ 31 </div> 32 <br> 33 34 <div style="width: min-content"> 35 <span>あい</span><span>うえ</span> 36 </div> 37 <div style="width: max-content"> 38 <span>あい</span><span>うえ</span> 39 </div> 40 <br> 41 42 <div style="width: min-content"> 43 お<span>あい</span><span>うえ</span>お 44 </div> 45 <div style="width: max-content"> 46 お<span>あい</span><span>うえ</span>お 47 </div> 48 <br>