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:
roc+%cs.cmu.edu
2003-11-21 10:45:24 +00:00
parent 89c38b83fc
commit d6abe407cd
10 changed files with 153 additions and 28 deletions

View File

@@ -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);