When the alignment for a span is set to justified the HTML page does not show it's text as justified to both margins. When you view the example you can see that the text is justified to the left but not the right.
Created attachment 49394 [details] html file that will show the issue
Please follow the QtWebKit bug reporting guidelines when reporting bugs. See http://trac.webkit.org/wiki/QtWebKitBugs Specifically: - The 'QtWebKit' component should only be used for bugs/features in the public QtWebKit API layer, not to signify that the bug is specific to the Qt port of WebKit http://trac.webkit.org/wiki/QtWebKitBugs#Component - Add the keyword 'Qt' to signal that it's a Qt-related bug http://trac.webkit.org/wiki/QtWebKitBugs#Keywords
(In reply to comment #1) > Created an attachment (id=49394) [details] > html file that will show the issue Wow, what kind of weird encoding is that? Could you post a latin-1/ASCII file?
Reproduced in trunk against Qt 4.6.2 on Windows7 with attached testcase. The following test case does not exhibit the behavior: data:text/html,<p dir=rtl style="direction:rtl;unicode-bidi:embed;text-align:justify"><span lang=AR-SA>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce laoreet mollis ipsum quis elementum. Cras consequat tincidunt feugiat. Praesent ac varius quam. Nulla velit metus, semper quis sagittis id, volutpat ut lacus. Cras elementum ornare accumsan. Vestibulum vitae purus ac elit gravida interdum eget eget metus. </span></p>
It works now. I think it is another duplicate of http://bugreports.qt.nokia.com/browse/QTBUG-10421