Bug 1555543 - Adjust scrollbar-apz.css rule so it applies to all scrollbar elements. r=kats

Currently it won't match scrollbar elements in HTML documents where the
root element has been switched out for something other than <html>, or
in shadow trees.

Also, move the rule into content.css now that we no longer switch
between apz and non-apz versions of this file.

Differential Revision: https://phabricator.services.mozilla.com/D33115

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Cameron McCormack 2019-05-31 02:10:25 +00:00
parent d831a07840
commit 683a4bd65a
3 changed files with 1 additions and 12 deletions

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@import "defines.css";
@import "scrollbar.css";
@namespace url("http://www.w3.org/1999/xhtml");
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@ -26,6 +25,7 @@ xul|scrollbar {
background-image: none !important;
border: 0px solid transparent !important;
pointer-events: none;
display: block;
}
/* Scrollbar code will reset the margin to the correct side depending on

View file

@ -28,4 +28,3 @@ geckoview.jar:
skin/images/search.png (images/search.png)
skin/images/textfield.png (images/textfield.png)
skin/images/throbber.png (images/throbber.png)
skin/scrollbar.css (scrollbar-apz.css)

View file

@ -1,10 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@namespace url("http://www.w3.org/1999/xhtml");
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
html xul|scrollbar {
display: block;
}