Bug 534054 - Black horizontal lines on some sites. Workaround. r=webapps@stechz.com

This commit is contained in:
Doug Turner 2009-12-11 09:47:24 -08:00
Родитель 824d157cfb
Коммит 68f6364c3b
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -854,9 +854,10 @@ TileManager.Tile.prototype = {
ctx.translate(x, y); ctx.translate(x, y);
browserView.browserToViewportCanvasContext(ctx); browserView.browserToViewportCanvasContext(ctx);
// We expand the rect to working around a gfx issue (bug 534054)
ctx.drawWindow(browserView._contentWindow, ctx.drawWindow(browserView._contentWindow,
rect.left, rect.top, rect.left - 1 , rect.top - 1,
rect.right - rect.left, rect.bottom - rect.top, rect.right - rect.left + 1, rect.bottom - rect.top + 1,
"white", "white",
(ctx.DRAWWINDOW_DRAW_CARET)); (ctx.DRAWWINDOW_DRAW_CARET));