Summary: | qt-4.8.0 : background image applied on HTML table cells is not displayed correctly | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | rahmanih <haithem.rahmani> | ||||||||
Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Major | CC: | benjamin, haithem.rahmani, noam | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | PC | ||||||||||
OS: | Linux | ||||||||||
Attachments: |
|
Description
rahmanih
2012-03-20 14:23:19 PDT
Created attachment 132897 [details]
html page showing the issue.
Created attachment 132899 [details]
screenshot showing the bug with qt-4.8.0
Created attachment 132900 [details]
screenshot showing the correct behaviour with qt-4.7.4
Hi, After debugging, I have found that the issue is in the method: void Image::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRect, const AffineTransform& patternTransform, const FloatPoint& phase, ColorSpace, CompositeOperator op, const FloatRect& destRect) in"WebCore/platform/graphics/qt/ImageQt.cpp", because I used the implementation provided in the QtWebKit within qt-4.7.4 and it worked correctly, but I was not able to find why the new implementation fails. As you have modified that method in the bug#50527, I assumed that you are the right persons to whom I should request help. any idea please? regards Haithem. (In reply to comment #4) > any idea please? I haven't touched that code in a long time... the original fix was about scaling the image once and then drawing it several times instead of scaling it for each tile. Hi, I fixed the issue details are here: https://bugzilla.stlinux.com/show_bug.cgi?id=17212 regards Haithem. |