boundary-shaping-002.html (576B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset=utf-8> 5 <title>Text shaping must be broken across inline box boundaries when 'vertical-align' is not 'baseline'</title> 6 <link rel=match href="reference/boundary-shaping-002.ref.html"> 7 <link rel=help href="https://drafts.csswg.org/css-text/#boundary-shaping"> 8 <style> 9 @font-face { 10 font-family: test; 11 src: url(resources/LinLibertine_Re-4.7.5.woff); 12 } 13 body { 14 font: 36px test; /* use a font that includes ligatures for "fi" etc */ 15 } 16 .a { 17 vertical-align: 1em; 18 } 19 </style> 20 </head> 21 <body> 22 of<span class=a>f</span>ice 23 </body> 24 </html>