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

Diego Iastrubni elcuco at kde.org
Sat Jun 27 12:47:18 UTC 2009


Hi Jeremy,

so... according to the standard, "dir" can be assigned only to block 
emelemnts? good to learn...

Thanks, this will be fixed soon. Thanks for noticing.

- diego

On Wednesday 24 June 2009 19:40:53 Jeremy Moskovich wrote:
> 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





More information about the kde-www mailing list