text-align-end-019.html (815B)
1 <!DOCTYPE html> 2 <html lang="en" > 3 <head> 4 <meta charset="utf-8"> 5 <title>text-align: end, textarea, dir=ltr inherited</title> 6 <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'> 7 <link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'> 8 <meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. right when base direction is ltr."> 9 <style type='text/css'> 10 .test { text-align: end; } 11 /* the CSS below is not part of the test */ 12 .test { border: 1px solid blue; margin: 20px; width: 300px; font-size: 24px; line-height: 1;} 13 </style> 14 </head> 15 <body> 16 <div id='instructions'>Test passes if both words are right-aligned in the box.</div> 17 <div dir="ltr"> 18 <textarea class="test">latin 19 و·کمی</textarea> 20 </div> 21 </body> 22 </html>