Bug 30579. Add a skinnable 'scrollcorner' element to fill in the gap when there are two scrollbars. r+sr=bryner,a=asa
git-svn-id: svn://10.0.0.236/trunk@149611 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -5089,7 +5089,8 @@ nsCSSFrameConstructor::CreateAnonymousFrames(nsIPresShell* aPresShell
|
||||
#ifdef MOZ_XUL
|
||||
// Only cut XUL scrollbars off if they're not in a XUL document. This allows
|
||||
// scrollbars to be styled from XUL (although not from XML or HTML).
|
||||
if (content->Tag() == nsXULAtoms::scrollbar) {
|
||||
nsIAtom* tag = content->Tag();
|
||||
if (tag == nsXULAtoms::scrollbar || tag == nsXULAtoms::scrollcorner) {
|
||||
nsCOMPtr<nsIDOMXULDocument> xulDoc(do_QueryInterface(aDocument));
|
||||
if (xulDoc)
|
||||
content->SetBindingParent(aParent);
|
||||
|
||||
Reference in New Issue
Block a user