Bug 14827: Naughty XUL documents no longer steal scrollbars r=harishd a=rickg
git-svn-id: svn://10.0.0.236/trunk@61350 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
39e1745d6a
commit
29e33fc22d
@ -3514,7 +3514,9 @@ nsXULDocument::StartLayout(void)
|
||||
if (! webShell)
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
|
||||
webShell->SetScrolling(NS_STYLE_OVERFLOW_HIDDEN);
|
||||
// Set current scrolling state (for this document) but not
|
||||
// initial scrolling state (for this and all future documents)
|
||||
webShell->SetScrolling(NS_STYLE_OVERFLOW_HIDDEN, PR_FALSE);
|
||||
|
||||
nsCOMPtr<nsIWebShellContainer> webShellContainer;
|
||||
webShell->GetContainer(*getter_AddRefs(webShellContainer));
|
||||
|
||||
@ -3514,7 +3514,9 @@ nsXULDocument::StartLayout(void)
|
||||
if (! webShell)
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
|
||||
webShell->SetScrolling(NS_STYLE_OVERFLOW_HIDDEN);
|
||||
// Set current scrolling state (for this document) but not
|
||||
// initial scrolling state (for this and all future documents)
|
||||
webShell->SetScrolling(NS_STYLE_OVERFLOW_HIDDEN, PR_FALSE);
|
||||
|
||||
nsCOMPtr<nsIWebShellContainer> webShellContainer;
|
||||
webShell->GetContainer(*getter_AddRefs(webShellContainer));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user