mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 994861. Only overlay scrollbars should be positioned and have z-index. r=roc
Bug 896443 added these but didn't guard them on overlay scrollbars. When drawing the scrollbars layout interprets a positioned scrollbar as an scrollbar that should be placed above the content (like overlay scrollbars). Classic scrollbars should be drawn in the background layer.
This commit is contained in:
parent
3c56ccd198
commit
f3071a3d05
@ -13,9 +13,16 @@ 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;
|
||||
}
|
||||
}
|
||||
|
||||
html|select[size]:not([size="0"]):not([size="1"]) > scrollbar,
|
||||
@ -23,13 +30,6 @@ 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 {
|
||||
|
@ -19,9 +19,16 @@ 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"]
|
||||
@ -29,13 +36,6 @@ 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,
|
||||
|
Loading…
Reference in New Issue
Block a user