Bug 66034 - [Qt] Incomplete repaint of link underline
Summary: [Qt] Incomplete repaint of link underline
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P3 Normal
Assignee: Allan Sandfeld Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 23:39 PDT by mikko
Modified: 2012-08-14 04:47 PDT (History)
3 users (show)

See Also:


Attachments
testcase.html (205 bytes, text/html)
2012-05-24 06:26 PDT, Allan Sandfeld Jensen
no flags Details
Patch (1.80 KB, patch)
2012-08-14 03:35 PDT, Allan Sandfeld Jensen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mikko 2011-08-10 23:39:40 PDT
When applying the following css style (text decorations) to an "Anchor tag" and hovering mouse cursor above it there can be seen a dot on the lower right corner of the anchor. This has been reproduced with Qt's fancy browser and browser demo.

"""""""""""
<style type="text/css">
a {
	color: black;height:30px; line-height:30px;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
</style>
"""""""""""
Comment 1 Allan Sandfeld Jensen 2012-05-24 06:26:35 PDT
Created attachment 143813 [details]
testcase.html

Bug confirmed. Attaching test-case.
Comment 2 Allan Sandfeld Jensen 2012-08-14 03:12:44 PDT
Actually if you look closely, the remaining pixel is after the text. The underline is actually a pixel too long, which is why it isn't cleared properly when the bounding box of the text is cleared.
Comment 3 Allan Sandfeld Jensen 2012-08-14 03:35:03 PDT
Created attachment 158282 [details]
Patch
Comment 4 WebKit Review Bot 2012-08-14 04:47:48 PDT
Comment on attachment 158282 [details]
Patch

Clearing flags on attachment: 158282

Committed r125547: <http://trac.webkit.org/changeset/125547>
Comment 5 WebKit Review Bot 2012-08-14 04:47:51 PDT
All reviewed patches have been landed.  Closing bug.