mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 879147 - Don't move OS X titlebar placeholders in RTL mode. r=dao,mconley
This commit is contained in:
parent
98c16dd89f
commit
95646b10b0
@ -485,15 +485,13 @@
|
||||
|
||||
#ifdef CAN_DRAW_IN_TITLEBAR
|
||||
<hbox class="titlebar-placeholder" type="caption-buttons"
|
||||
#ifdef XP_MACOSX
|
||||
ordinal="0"
|
||||
#else
|
||||
#ifndef XP_MACOSX
|
||||
ordinal="1000"
|
||||
#endif
|
||||
/>
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
<hbox class="titlebar-placeholder" type="fullscreen-button" ordinal="1000"/>
|
||||
<hbox class="titlebar-placeholder" type="fullscreen-button"/>
|
||||
#endif
|
||||
#endif
|
||||
</toolbar>
|
||||
@ -856,16 +854,13 @@
|
||||
|
||||
#ifdef CAN_DRAW_IN_TITLEBAR
|
||||
<hbox class="titlebar-placeholder" type="caption-buttons"
|
||||
#ifdef XP_MACOSX
|
||||
ordinal="0"
|
||||
#else
|
||||
#ifndef XP_MACOSX
|
||||
ordinal="1000"
|
||||
#endif
|
||||
/>
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
<hbox class="titlebar-placeholder" type="fullscreen-button"
|
||||
ordinal="1000"/>
|
||||
<hbox class="titlebar-placeholder" type="fullscreen-button"/>
|
||||
#endif
|
||||
#endif
|
||||
</toolbar>
|
||||
|
@ -48,6 +48,16 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Fullscreen and caption buttons don't move with RTL on OS X so override the automatic ordering. */
|
||||
.titlebar-placeholder[type="fullscreen-button"]:-moz-locale-dir(ltr),
|
||||
.titlebar-placeholder[type="caption-buttons"]:-moz-locale-dir(rtl) {
|
||||
-moz-box-ordinal-group: 1000;
|
||||
}
|
||||
.titlebar-placeholder[type="caption-buttons"]:-moz-locale-dir(ltr),
|
||||
.titlebar-placeholder[type="fullscreen-button"]:-moz-locale-dir(rtl) {
|
||||
-moz-box-ordinal-group: 0;
|
||||
}
|
||||
|
||||
#titlebar {
|
||||
padding-top: 9px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user