Bug 29404
Summary: | [Qt] Webkit apply text-underline even when there is no text | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tor Arne Vestbø <vestbo> |
Component: | Text | Assignee: | 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ø
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Jędrzej Nowacki
The bug report is still valid, I have reproduced the issue with trunk.
Jocelyn Turcotte
Also reproduced in Chrome and Safari
Helder Correia
I can't reproduce this with Qt 4.7.0 on Linux.
Andreas Kling
This renders correctly on trunk (but not on Qt 4.7.0)