<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-print">
<style>
tbody::first-letter {float: right; }
tbody::before { content:"before textbefore textbefore textbefore textbefore textbefore text"; float:right;}>
</style>
<th style="direction: rtl;">
m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m 
<span style="position: absolute;">
<tbody style="float: right; page-break-before: right;">m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m </tbody>
</span>
</th>

<style>
tbody::first-line {  }
</style>
</html>