Created attachment 86452 [details] Sample code and gif to demonstrate the issue Steps to reproduce this issue with attached code. 1. Open the attached index.html 3. Tap smiley box to focus that element 4. Tap "Press me" box Observed behavior: A part of the border of icon box gets cut-off for a while. Expected behavior: Border should be solid as long it is visible. Please have a look at attached gif for better understanding of the issue. Note: Make sure that you really tap the "Press me" box. Otherwise this issue cannot be reproduce.
adding InTSW keyword for tracking by QtWebKit EM blocks 55056 = targeting QtWebKit 2.2
refer to http://bugs.nokia-boston.com/bugzilla/show_bug.cgi?id=7451 for customer details
Hi Joel, This MUST be fixed for 1.3 Vasco PS2. Usecase : Check box comes in Sign-up & Sign-in pages.
RenderBox::repaintLayerRectsForImage might be the cause of the problem. This function is called in cases where the borders are defined and the borders are larger than the background image. The problem is that the function calculates the update area to be only the size of the background image, but doesn't include the borders. This causes the cut-off of the border image. Instead, giving the border rectangle as update area won't cause the cut-off.
This sample code test case works fine for my on Symbian 15.05 (w15) Vasco. So it looks like I have to continue to investigate on PS2.
(In reply to comment #5) > This sample code test case works fine for my on Symbian 15.05 (w15) Vasco. > > So it looks like I have to continue to investigate on PS2. Johannes is on vacation, but he showed me what the issue is and yes the image was eventually drawn correctly in week 13 image where he tested. What you can see is that it is drawn twice if clicked on the "press me" - button. First draw happens on focus loss and second draw on button down state of "press me". And in the first draw the borders are corrupted. Also the fix suggestion is correct, draw invalidate rectangle should not be calculated from the border image as it is not in correct scale.
Created attachment 91897 [details] Patch proposal
Is this issue really specific to Symbian or QtWebKit ?
This issue is related to QtWebKit
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.