Bullets on Hebrew webpage incorrectly left aligned due to erroneous markup.

Jeremy Moskovich jeremy at chromium.org
Wed Jun 24 16:40:53 UTC 2009


Hi,
On http://www.kde.org/announcements/4.2/index-he.php , the bullet marks for
lists are aligned to the left (instead of to the right, as they should be on
RTL
webpages) when viewed on a WebKit based browser (e.g. Safari, Chrome,
etc.). I've attached a screenshot showing this behavior.

The reason for this appears to be that the directionality of the list
is specified in a SPAN (line
76)  that wraps the UL tag (line 141).  span is a inline element and ul is a
blocklevel element so the span is implicitly closed by WebKit when the UL is
reached.

Even though this markup is technically incorrect, Firefox & IE still apply
the style to the enclosing block level element and that's why the bullets
appear aligned correctly on those browsers (
https://bugs.webkit.org/show_bug.cgi?id=23804#c4).

A possible fix for this would be to convert the enclosing span into a
div, or assign the directionality on the UL element.

This is filed in the Chromium bugtracker at:
http://crbug.com/11445

Feel free to contact me if you have any questions.

Thanks and best regards,
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kde-www/attachments/20090624/eb2445d4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kde_webpage.png
Type: image/png
Size: 138978 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kde-www/attachments/20090624/eb2445d4/attachment.png>


More information about the kde-www mailing list