<!DOCTYPE HTML> <html dir="rtl"> <title>Testcase, bug 428810</title> <style type="text/css"> html, body { margin: 0; padding: 0; } </style> <div style="height: 10px"> <div style="float: right; height: 20px; width: 100px"></div> </div> <div style="margin-right: 40px; width: 70px; display: list-item;"> <div> </div> </div>