Issue #2499 - Part 3: Add CSS clip overflow support with serialization fixes

This commit is contained in:
MeladJM 2025-07-08 05:46:54 +08:00 • committed by roytam1
commit 5e8e1208e7
40 changed files with 144 additions and 97 deletions

View file

@ -59,7 +59,7 @@
<binding id="progressmeter-undetermined"
extends="chrome://global/content/bindings/progressmeter.xml#progressmeter">
<content>
<xul:stack class="progress-remainder" flex="1" anonid="stack" style="overflow: -moz-hidden-unscrollable;">
<xul:stack class="progress-remainder" flex="1" anonid="stack" style="overflow: clip;">
<xul:spacer class="progress-bar" anonid="spacer" top="0" style="margin-right: -1000px;"/>
</xul:stack>
</content>

View file

@ -83,7 +83,7 @@ menulist[editable="true"] {
window,
page {
overflow: -moz-hidden-unscrollable;
overflow: clip;
-moz-box-orient: vertical;
}
@ -184,7 +184,7 @@ notificationbox {
}
.notificationbox-stack {
overflow: -moz-hidden-unscrollable;
overflow: clip;
}
notification {
@ -844,7 +844,7 @@ panel[type="autocomplete-richlistbox"] {
.autocomplete-richlistitem {
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-richlistitem");
-moz-box-orient: vertical;
overflow: -moz-hidden-unscrollable;
overflow: clip;
}
%else
@ -884,7 +884,7 @@ panel[type="autocomplete-richlistbox"] {
.autocomplete-richlistitem {
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-richlistitem");
-moz-box-orient: vertical;
overflow: -moz-hidden-unscrollable;
overflow: clip;
}
.autocomplete-treerows {
@ -1125,12 +1125,12 @@ prefpane > .content-box {
}
prefwindow[type="child"] > .paneDeckContainer {
overflow: -moz-hidden-unscrollable;
overflow: clip;
}
prefwindow[type="child"] > prefpane > .content-box {
-moz-box-flex: 1;
overflow: -moz-hidden-unscrollable;
overflow: clip;
}
preferences {