Bug 29404

Summary: [Qt] Webkit apply text-underline even when there is no text
Product: WebKit Reporter: Tor Arne Vestbø <vestbo>
Component: TextAssignee: QtWebKit Unassigned <webkit-qt-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Minor CC: benjamin, helder, jedrzej.nowacki, jturcotte, kling, tonikitoo
Priority: P3 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   

Tor Arne Vestbø
Reported 2009-09-18 07:23:33 PDT
This bug report originated from issue QTBUG-3744 <http://bugreports.qt.nokia.com/browse/QTBUG-3744> --- Description --- Webkit apply the CSS property text-underline even when there is no text. For example, go to http://www.linuxcertif.com/metanews/tout-en/ and move the mouse cursor to one of the little green plus (+) sign. With Qt Webkit, an underscore is visible. The html code to show this image is: <a href="#"> <span class="action extend"/> </a> With the CSS: background-repeat:no-repeat; border:0pt none; height:17px; margin-bottom:-3px; margin-left:5px; margin-right:5px; padding-right:17px; width:17px; } Since there is no text in the span, no decoration is expected.
Attachments
Jędrzej Nowacki
Comment 1 2009-11-25 09:26:46 PST
The bug report is still valid, I have reproduced the issue with trunk.
Jocelyn Turcotte
Comment 2 2010-03-08 07:42:57 PST
Also reproduced in Chrome and Safari
Helder Correia
Comment 3 2010-11-05 18:01:37 PDT
I can't reproduce this with Qt 4.7.0 on Linux.
Andreas Kling
Comment 4 2010-11-23 10:06:52 PST
This renders correctly on trunk (but not on Qt 4.7.0)
Note You need to log in before you can comment on or make changes to this bug.