зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1193075 - make { scrollWithPage: false } not scroll with page. r=jesup
--HG-- extra : transplant_source : %3FE%94%C1%9C%A1%AE%FFJ%81J4%B6%16%BFodY%1F%C8
This commit is contained in:
Родитель
f17cf50dc6
Коммит
094dfdd361
|
@ -270,7 +270,8 @@ MediaEngineTabVideoSource::Draw() {
|
|||
|
||||
nscolor bgColor = NS_RGB(255, 255, 255);
|
||||
uint32_t renderDocFlags = mScrollWithPage? 0 :
|
||||
nsIPresShell::RENDER_IGNORE_VIEWPORT_SCROLLING;
|
||||
(nsIPresShell::RENDER_IGNORE_VIEWPORT_SCROLLING |
|
||||
nsIPresShell::RENDER_DOCUMENT_RELATIVE);
|
||||
nsRect r(nsPresContext::CSSPixelsToAppUnits((float)mViewportOffsetX),
|
||||
nsPresContext::CSSPixelsToAppUnits((float)mViewportOffsetY),
|
||||
nsPresContext::CSSPixelsToAppUnits((float)mViewportWidth),
|
||||
|
|
Загрузка…
Ссылка в новой задаче