When we run MiniBrowser, the default viewport color is black. We need to change the color with white.
Created attachment 176448 [details] Patch
Comment on attachment 176448 [details] Patch Wouldn't transparent not be better?
(In reply to comment #2) > (From update of attachment 176448 [details]) > Wouldn't transparent not be better? Yes, maybe. I checked the gtk+ port. It also clears the buffer with white color like this. http://trac.webkit.org/browser/trunk/Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp#L300
Sure but we are a mobile port and it should be possible to pan/pinch contents out of bounds and then have it bounce back again. In that case we don't want to show just white but be able to see the browser background below. You can try the Qt MiniBrowser if you want to get an understanding of this. Maybe Thiago can show you, or you can try on an N9.
Comment on attachment 176448 [details] Patch Clearing flags on attachment: 176448 Committed r135997: <http://trac.webkit.org/changeset/135997>
All reviewed patches have been landed. Closing bug.
(In reply to comment #4) > Sure but we are a mobile port and it should be possible to pan/pinch contents out of bounds and then have it bounce back again. In that case we don't want to show just white but be able to see the browser background below. > > You can try the Qt MiniBrowser if you want to get an understanding of this. Maybe Thiago can show you, or you can try on an N9. I'm not sure if all mobile browsers should have the same effect. By the way, isn't this bounce effect an Apple patent?