author | Timothy Nikkel <tnikkel@gmail.com> |
Mon, 14 Apr 2014 13:16:30 -0500 | |
changeset 178369 | 8e5f7f4427dfaec51e4d778ac0a73061c129e6ab |
parent 178368 | 220e9d8b1454df524a8c198070846d7403f0c478 |
child 178370 | a1b2bc9af7969e6353d0db9f69d405486fda4853 |
push id | 42246 |
push user | tnikkel@gmail.com |
push date | Mon, 14 Apr 2014 18:17:29 +0000 |
treeherder | mozilla-inbound@8e5f7f4427df [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | roc |
bugs | 994861, 896443 |
milestone | 31.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
toolkit/themes/osx/global/nativescrollbars.css | file | annotate | diff | comparison | revisions | |
toolkit/themes/windows/global/xulscrollbars.css | file | annotate | diff | comparison | revisions |
--- a/toolkit/themes/osx/global/nativescrollbars.css +++ b/toolkit/themes/osx/global/nativescrollbars.css @@ -8,33 +8,33 @@ scrollbar { -moz-appearance: scrollbar; -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar); cursor: default; background-color: white; pointer-events: auto; } -scrollbar[root="true"] { - position: relative; - z-index: 2147483647; /* largest positive value of a signed 32-bit integer */ +@media all and (-moz-overlay-scrollbars) { + scrollbar[root="true"] { + position: relative; + z-index: 2147483647; /* largest positive value of a signed 32-bit integer */ + } + + scrollbar:not([active="true"]), + scrollbar[disabled="true"] { + visibility: hidden; + } } html|select[size]:not([size="0"]):not([size="1"]) > scrollbar, html|select[multiple] > scrollbar { -moz-appearance: scrollbar-small; } -@media all and (-moz-overlay-scrollbars) { - scrollbar:not([active="true"]), - scrollbar[disabled="true"] { - visibility: hidden; - } -} - /* ..... track ..... */ slider { -moz-appearance: scrollbartrack-horizontal; } slider[orient="vertical"] { -moz-appearance: scrollbartrack-vertical;
--- a/toolkit/themes/windows/global/xulscrollbars.css +++ b/toolkit/themes/windows/global/xulscrollbars.css @@ -14,33 +14,33 @@ scrollbar { -moz-appearance: scrollbartrack-horizontal; -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar"); cursor: default; background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar; pointer-events: auto; } -scrollbar[root="true"] { - position: relative; - z-index: 2147483647; /* largest positive value of a signed 32-bit integer */ +@media all and (-moz-overlay-scrollbars) { + scrollbar[root="true"] { + position: relative; + z-index: 2147483647; /* largest positive value of a signed 32-bit integer */ + } + + scrollbar:not([active="true"]), + scrollbar[disabled="true"] { + visibility: hidden; + } } scrollbar[orient="vertical"] { -moz-appearance: scrollbartrack-vertical; } -@media all and (-moz-overlay-scrollbars) { - scrollbar:not([active="true"]), - scrollbar[disabled="true"] { - visibility: hidden; - } -} - /* ::::: borders for thumb and buttons ::::: */ thumb, scrollbarbutton { border: 2px solid; -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight; -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;