Bug#359680: konqueror: fails to render embedded rtl html tags correctly
Package: konqueror
Version: 4:3.5.1-1
Severity: normal
Konqueror (although I suspect KHTML is the problem as the same thing
occurs in Quanta) fails to render embedded rtl html properly.
if the follwoing string is split into separate elements and some are
given a dir of "rtl", then the rendered string results in character
order within words being reversed.
first second third fourth fifth sixth
with every other word having a dir of rtl, is rendered as
sixth htfif fourth driht second first
as you can see the first word is rendered correctly the subsequent rtl
ones are reversed.
Example html code follows
<html>
<head><title>test page</title></head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<body>
<div id="list_table">
<h4>The line below should read "first second third fourth fifth sixth"
on the right of the page</h4>
<div dir="rtl">
<span>first</span> second <span>third</span> fourth <span>fifth</span>
sixth
</div>
<h4>The line below should read "sixth fifth fourth third second first" on
the right of the page</h4>
<div dir="rtl">
<span dir="rtl">first</span> second <span dir="rtl">third</span> fourth
<span dir="rtl">fifth</span> sixth
</div>
<h4>The line below should read "first second third fourth fifth sixth"
on the left of the page</h4>
<div dir="ltr">
<span dir="ltr">first</span> second <span dir="ltr">third</span> fourth
<span dir="ltr">fifth</span> sixth
</div>
</div>
</body>
</html>
sample html ends.
Other browsers - Opera, Firefox, Sea Monkey and Internet Explorer 6,
render this correctly
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages konqueror depends on:
ii kcontrol 4:3.5.1-1 control center for KDE
ii kdebase-kio-plugins 4:3.5.1-1 core I/O slaves for KDE
ii kdelibs4c2a 4:3.5.1-4 core libraries for all KDE applica
ii kdesktop 4:3.5.1-1 miscellaneous binaries and files f
ii kfind 4:3.5.1-1 file-find utility for KDE
ii libacl1 2.2.35-1 Access control list shared library
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libattr1 2.4.31-1 Extended attribute shared library
ii libaudio2 1.7-5 The Network Audio System (NAS). (s
ii libc6 2.3.6-4 GNU C Library: Shared libraries an
ii libfontconfig1 2.3.2-5 generic font configuration library
ii libfreetype6 2.1.10-1.2 FreeType 2 font engine, shared lib
ii libgamin0 [libfam0] 0.1.7-3 Client library for the gamin file
ii libgcc1 1:4.0.3-1 GCC support library
ii libice6 6.9.0.dfsg.1-5 Inter-Client Exchange library
ii libidn11 0.5.18-2 GNU libidn library, implementation
ii libjpeg62 6b-12 The Independent JPEG Group's JPEG
ii libkonq4 4:3.5.1-1 core libraries for Konqueror
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii libqt3-mt 3:3.3.5-4+b1 Qt GUI Library (Threaded runtime v
ii libsm6 6.9.0.dfsg.1-5 X Window System Session Management
ii libstdc++6 4.0.3-1 The GNU Standard C++ Library v3
ii libx11-6 6.9.0.dfsg.1-5 X Window System protocol client li
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 6.9.0.dfsg.1-5 X Window System miscellaneous exte
ii libxft2 2.1.8.2-5 FreeType-based font drawing librar
ii libxi6 6.9.0.dfsg.1-5 X Window System Input extension li
ii libxinerama1 6.9.0.dfsg.1-5 X Window System multi-head display
ii libxrandr2 6.9.0.dfsg.1-5 X Window System Resize, Rotate and
ii libxrender1 1:0.9.0.2-1 X Rendering Extension client libra
ii libxt6 6.9.0.dfsg.1-5 X Toolkit Intrinsics
ii zlib1g 1:1.2.3-11 compression library - runtime
konqueror recommends no packages.
-- no debconf information
Reply to: