зеркало из https://github.com/mozilla/gecko-dev.git
bug = 57704 r = kmcclusk sr = buster. Needed to check for isPaginated before constucting scroll bars.
This commit is contained in:
Родитель
c894aafae5
Коммит
a14b823f80
|
@ -3710,7 +3710,8 @@ nsCSSFrameConstructor::ConstructRootFrame(nsIPresShell* aPresShell,
|
|||
|
||||
nsIFrame* parentFrame = viewportFrame;
|
||||
|
||||
if (isScrollable) {
|
||||
// It should be scrollable.. and it also can not be paginated
|
||||
if (isScrollable && !isPaginated) {
|
||||
|
||||
// built the frame. We give it the content we are wrapping which is the document,
|
||||
// the root frame, the parent view port frame, and we should get back the new
|
||||
|
|
|
@ -3710,7 +3710,8 @@ nsCSSFrameConstructor::ConstructRootFrame(nsIPresShell* aPresShell,
|
|||
|
||||
nsIFrame* parentFrame = viewportFrame;
|
||||
|
||||
if (isScrollable) {
|
||||
// It should be scrollable.. and it also can not be paginated
|
||||
if (isScrollable && !isPaginated) {
|
||||
|
||||
// built the frame. We give it the content we are wrapping which is the document,
|
||||
// the root frame, the parent view port frame, and we should get back the new
|
||||
|
|
Загрузка…
Ссылка в новой задаче