diff --git a/layout/generic/nsGfxScrollFrame.cpp b/layout/generic/nsGfxScrollFrame.cpp index 06e48e2e4c9c..432616023396 100644 --- a/layout/generic/nsGfxScrollFrame.cpp +++ b/layout/generic/nsGfxScrollFrame.cpp @@ -2198,6 +2198,8 @@ nsGfxScrollFrameInner::CreateAnonymousContent(nsTArray& aElements) NS_ENSURE_SUCCESS(rv, rv); mHScrollbarContent->SetAttr(kNameSpaceID_None, nsGkAtoms::orient, NS_LITERAL_STRING("horizontal"), PR_FALSE); + mHScrollbarContent->SetAttr(kNameSpaceID_None, nsGkAtoms::clickthrough, + NS_LITERAL_STRING("always"), PR_FALSE); if (!aElements.AppendElement(mHScrollbarContent)) return NS_ERROR_OUT_OF_MEMORY; } @@ -2208,6 +2210,8 @@ nsGfxScrollFrameInner::CreateAnonymousContent(nsTArray& aElements) NS_ENSURE_SUCCESS(rv, rv); mVScrollbarContent->SetAttr(kNameSpaceID_None, nsGkAtoms::orient, NS_LITERAL_STRING("vertical"), PR_FALSE); + mVScrollbarContent->SetAttr(kNameSpaceID_None, nsGkAtoms::clickthrough, + NS_LITERAL_STRING("always"), PR_FALSE); if (!aElements.AppendElement(mVScrollbarContent)) return NS_ERROR_OUT_OF_MEMORY; } @@ -2243,6 +2247,8 @@ nsGfxScrollFrameInner::CreateAnonymousContent(nsTArray& aElements) mScrollCornerContent->SetAttr(kNameSpaceID_None, nsGkAtoms::dir, dir, PR_FALSE); mScrollCornerContent->SetAttr(kNameSpaceID_None, nsGkAtoms::element, NS_LITERAL_STRING("_parent"), PR_FALSE); + mScrollCornerContent->SetAttr(kNameSpaceID_None, nsGkAtoms::clickthrough, + NS_LITERAL_STRING("always"), PR_FALSE); if (!aElements.AppendElement(mScrollCornerContent)) return NS_ERROR_OUT_OF_MEMORY; diff --git a/toolkit/content/widgets/scrollbar.xml b/toolkit/content/widgets/scrollbar.xml index 776702ef9e89..416f1b5be6a6 100644 --- a/toolkit/content/widgets/scrollbar.xml +++ b/toolkit/content/widgets/scrollbar.xml @@ -17,7 +17,7 @@ - +