Bug 111758 - Incomplete repaint on image load if <html> has 3D transform
Summary: Incomplete repaint on image load if <html> has 3D transform
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Minor
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-03-07 11:24 PST by Denis Khoruzhiy
Modified: 2013-03-08 22:46 PST (History)
3 users (show)

See Also:


Attachments
On first run background image not shown (52.80 KB, application/octet-stream)
2013-03-07 11:24 PST, Denis Khoruzhiy
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Khoruzhiy 2013-03-07 11:24:48 PST
Created attachment 192054 [details]
On first run background image not shown

Summary:
If add in CSS

html {
	-webkit-transform: translate3d(0, 0, 0);
}

background image for body which set as follows

body {
    background: green url("background_linen.png");
}

occasionaly does not appear in first page load degrading to background color.

Steps to Reproduce:
In Apple Safari
1. Exit Safari (if opened) and start it again
2. Open index.html locally from supplied archive or from http://iphd.ru/webkit-issue/index.html
3. Refresh page

In Google Chrome
1. Open new Incognito window
2. Open index.html locally from supplied archive or from http://iphd.ru/webkit-issue/index.html
3. Refresh page

Expected Results:
Textured page background as described in css on first and sequential page presentations

Actual Results:
Green background on first run, textured after page refresh

Regression:
Problem definitely occurs in Safari browser on first page opening, first time it was encountered in iOS 6.1 UIWebView. Seems that problem concerns active browser instance. Opening html in new browser tabs leads to no problem. Quitting browser and reopening reveals problem again.
Opening the same page in last version of Google Chrome shows the same problem but is occasional, more often occurs in newly opened Incognito windows.
Comment 1 Simon Fraser (smfr) 2013-03-07 16:08:36 PST
Seems like an issue repainting the content when the image loads.

Why put a 3D transform on <html>? That's pretty crazy.
Comment 2 Simon Fraser (smfr) 2013-03-08 22:46:39 PST
<rdar://problem/13367849>