<!DOCTYPE HTML> <html><head> <meta charset="utf-8"> <title>Testcase for bug 1235152</title> <style type="text/css"> html,body { color:black; background-color:white; font: 16px monospace; } div { float: left; background: #ccc; clear: both; } .rtl { direction: rtl; } span { box-decoration-break: clone; padding-left: 10px; } .pr { padding-left: 0; padding-right: 13px; } .plr { padding-right: 13px; } </style> </head> <body> <div class="rtl"> <span>לורם איפסום דולור סיט אמט, קונסקטורר אדיפיסינג אלית קונסקטורר</span> </div> <div class="rtl"> <span class="pr">לורם איפסום דולור סיט אמט, קונסקטורר אדיפיסינג אלית קונסקטורר</span> </div> <div class="rtl"> <span class="plr">לורם איפסום דולור סיט אמט, קונסקטורר אדיפיסינג אלית קונסקטורר</span> </div> <div class="rtl" style="width:200px"> <span>לורם איפסום דולור סיט אמט, קונסקטורר אדיפיסינג אלית קונסקטורר</span> </div> <div class="rtl" style="width:200px"> <span class="pr">לורם איפסום דולור סיט אמט, קונסקטורר אדיפיסינג אלית קונסקטורר</span> </div> <div class="rtl" style="width:200px"> <span class="plr">לורם איפסום דולור סיט אמט, קונסקטורר אדיפיסינג אלית קונסקטורר</span> </div> </body> </html>