<!DOCTYPE html> <html dir="rtl"> <meta charset="utf-8" /> <title>Testcase, bug 1547759</title> <style> html { overflow: hidden } </style> <table> <tr style="background: #f66"> <td style="position: relative">A</td> <td>B</td> </tr> </table>