<!DOCTYPE html>
<html>
 <head>
  <title>text-align-last</title>
  <meta charset="utf-8">
  <style type="text/css">
   p {
     text-align-last: end;
   }
  </style>
 </head>
 <body>
 <p>Lorem ipsum</p>
 <p dir="rtl">אמר המחבר</p>
 </body>
</html>