Add support for modern flexbox layout

Flexbox model will replace old xul box as the default display model so
this patch adds support for that in a whole bunch of styles.

A lot of style rules are marked as "Fx < 112 compatibility" rules and
those can be removed when 112 hits release.
This commit is contained in:
MrOtherGuy
2023-03-11 12:26:07 +02:00
parent 0db37c5d77
commit 0ff12e01fe
47 changed files with 262 additions and 137 deletions

View File

@@ -26,7 +26,7 @@ As a workaround, the -moz-element background image is removed somewhat often whi
.urlbar-input-box::after{
z-index: 2;
content: "";
display: -moz-box;
display: flex;
width: 100%;
height: 100%;
pointer-events:none;
@@ -111,6 +111,7 @@ As a workaround, the -moz-element background image is removed somewhat often whi
#statuspanel-label{
text-align: center;
-moz-box-pack: center;
justify-content: center;
}
.urlbar-input-box::after{ background-position-x: center !important; }
*/