Bug 54027

Summary: [Qt] image link showing dotted rectangle like a table when clicked on
Product: WebKit Reporter: Stephen <sfcheng>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, kling, sfcheng
Priority: P3 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://www.dealsea.com
Attachments:
Description Flags
screenshot on dealsea.com none

Description Stephen 2011-02-08 12:33:05 PST
I've noticed a problem in QtWebkit 4.7. When I clicked on an image link on some websites, a table-like shape in dotted line is shown on the top of the image even if the image itself is actually a whole piece of picture in the HTML source. For example, if you go to www.dealsea.com, click the logo image on the left top corner, you will see the effect. I've attached a screenshot in this post. The correct behavior should be a single rectangle enclosing the entire image instead of a table shape cutting the image into several pieces. 

The same thing doesn't happen in the open source Arora browser binary built with QtWebkit 4.5 (http://code.google.com/p/arora/downloads/detail?name=Arora%200.10.0-1%20Installer.exe&can=2&q= ). So I guess this is something new with QtWebkit 4.7.
Comment 1 Stephen 2011-02-08 12:34:49 PST
Created attachment 81675 [details]
screenshot on dealsea.com
Comment 2 Benjamin Poulain 2011-02-09 03:16:24 PST
Curious bug, I can reproduce on trunk and 4.7.1.

My trunk is building, I'll test that soon.
Comment 3 Benjamin Poulain 2011-02-09 04:08:51 PST
I don't have the problem on trunk but I see another bug with the focus ring so I don't close this yet.
Comment 4 Andreas Kling 2011-02-10 06:48:00 PST
(In reply to comment #3)
> I don't have the problem on trunk but I see another bug with the focus ring so I don't close this yet.

Yeah, that's not a bug, it's just super ugly right now..
Closing as the original bug has already been fixed on trunk.