Text rendering error in Launchpad report bug page (<WBR> tag)

Bug #367479 reported by Alan Jenkins
2
Affects Status Importance Assigned to Milestone
kdelibs
New
Undecided
Unassigned
kde4libs (Ubuntu)
Invalid
Low
Unassigned

Bug Description

1) Open konqueror
2) Navigate to <https://bugs.launchpad.net/bugs/+filebug>
3) Enter "konqueror" as the package and "THIS IS A TEST BUG DO NOT FILE" as summary.
4) Press the "continue" button
5) Select "No I would like to report a new bug"

Now scroll down the the "Ubuntu guidelines" text. Look at the link <https://wiki.ubuntu.com/Bugs/FindRightPackage>.

You will see the final "e" is separated by a space.

Looking at the html, this is due to a "wbr" tag:

FindRightPackag<wbr></wbr>e

which is apparently used to indicate

'"The browser may insert a line break here, if it wishes." It the browser does not think a line break necessary nothing happens.' (source: <http://www.quirksmode.org/oddsandends/wbr.html>).

I'm 99% sure this normally renders correctly in Firefox, but I can't check right now because I'm using the Kubuntu live cd. Obviously Konqueror thinks "wbr" can mean something even if it doesn't use it as a line break.

Konqueror should probably be fixed. That said, this is obviously an error in the HTML as well, since it wouldn't make sense to break the word at that point :-).

ubuntu@ubuntu:~$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
ubuntu@ubuntu:~$ apt-cache policy konqueror
konqueror:
  Installed: 4:4.2.2-0ubuntu4
  Candidate: 4:4.2.2-0ubuntu4
  Version table:
 *** 4:4.2.2-0ubuntu4 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Alan Jenkins (aj504) wrote :
Revision history for this message
Alan Jenkins (aj504) wrote :

kdebase (konqueror) -> kdelibs (KHTML)

affects: kdebase (Ubuntu) → kdelibs (Ubuntu)
affects: kdelibs (Ubuntu) → kde4libs (Ubuntu)
Changed in kde4libs (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

I tried cutting/pasting the entire div of the package guidelines and the bug didn't show for me. It does on the actual site, though. A testcase for this one will be difficult, but the KHTML guys will probably never look at a report if we don't provide one. :(

Revision history for this message
Alan Jenkins (aj504) wrote :

Shucks. Maybe it's the CSS.

When I've done HTML test cases before, I've tried copying the lot and then removing bits. (In a binary search :-). It might need <base href="..."> to pick up CSS or images.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. While we appreciate your issue, it would be better if it was tracked at https://bugs.kde.org, so that the KDE developers can deal with this speedily and have direct communication with you as the reporter for more effective debugging.

Thanks!

Changed in kde4libs (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.