Backed out 2 changesets (bug 1582530) for Creshtest failures in ayout/generic/ReflowInput.cpp. CLOSED TREE

Backed out changeset 536e78fea3de (bug 1582530)
Backed out changeset ae88c31cf531 (bug 1582530)

--HG--
extra : amend_source : cd6928208a1916e72a8f14952adc85f5e5e2c47d
This commit is contained in:
Dorel Luca 2019-09-28 00:31:24 +03:00
parent b2fefdf67b
commit 759e72860c
17 changed files with 31 additions and 46 deletions

View File

@ -48,7 +48,6 @@
}
#PopupAutoComplete > richlistbox > richlistitem > .two-line-wrapper > .ac-site-icon {
display: block;
margin-inline-start: auto;
margin-inline-end: 4px;
}

View File

@ -15,11 +15,15 @@
}
.radio-buttons {
-moz-box-orient: horizontal;
display: flex;
margin-inline-start: 0.35rem;
}
.radio-buttons > radio {
flex: auto;
display: flex;
align-items: center;
justify-content: center;
-moz-user-select: none;
outline: 2px solid transparent;
outline-offset: 4px;

View File

@ -583,11 +583,15 @@
/* Pinned tab separators need position: absolute when positioned (during overflow). */
#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-arrowscrollbox > .tabbrowser-tab[pinned]::after {
display: block;
position: absolute;
top: 0;
bottom: 0;
inset-inline-end: 0;
right: 0;
}
#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-arrowscrollbox > .tabbrowser-tab[pinned]:-moz-locale-dir(rtl)::after {
right: unset;
left: 0;
}
#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-arrowscrollbox > .tabbrowser-tab[pinned] > .tab-stack {

View File

@ -1,4 +1,4 @@
<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<x style="position:fixed; display: block;"/>
</window>
<x style="position:fixed;"/>
</window>

View File

@ -5,8 +5,7 @@
https://bugzilla.mozilla.org/show_bug.cgi?id=726949
-->
<window title="Mozilla Bug 726949"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
style="display: block;">
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
<!-- test results are displayed in the html:body -->

View File

@ -11,8 +11,9 @@ function boom()
window.addEventListener("load", function(){setTimeout(boom, 30)}, 0);
</script>
<hbox id="xxx" style="position: absolute; display: block;">
<hbox id="xxx" style="position: absolute;">
<label value="X" />
<menulist>
<menupopup>
@ -21,4 +22,5 @@ window.addEventListener("load", function(){setTimeout(boom, 30)}, 0);
</menulist>
</hbox>
</window>

View File

@ -6,13 +6,6 @@
<html:style>
* { float: right; }
*:not(style) {
/* At the time this testcase was added, the above `float` styling would
have automatically forced "display:block" for these elements, so we
should preserve that styling to preserve the integrity of the crashtest
since blockification behavior for -moz-box is changing. */
display: block;
}
</html:style>
<menulist>

View File

@ -7,14 +7,6 @@
<html:style>
* { float: right; }
#ping { float: none; }
*:not(#ping):not(style) {
/* At the time this testcase was added, the above `float` styling would
have automatically forced "display:block" for these elements, so we
should preserve that styling to preserve the integrity of the crashtest
since blockification behavior for -moz-box is changing. */
display: block;
}
</html:style>
<hbox>

View File

@ -3,7 +3,7 @@
<head></head>
<body onload="document.getElementById('a').style.position = 'relative';">
<hbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="display: block; float: left;" id="a"><treecols id="b"/></hbox>
<hbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="float: left;" id="a"><treecols id="b"/></hbox>
</body>
</html>

View File

@ -5,7 +5,7 @@
<vbox>
<text value="powered by example.com" style="padding: 16px;"/>
</vbox>
<hbox id="t" style="display: block; position: fixed; right: 16px; bottom: 16px;">
<hbox id="t" style="position: fixed; right: 16px; bottom: 16px;">
<button label="OK"/>
</hbox>
<script><![CDATA[

View File

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<label>
<foopy style="display: block; float:left;" />
<foopy style="float:left;" />
</label>
</window>

View File

@ -344,14 +344,6 @@
transform: none !important;
}
xul|*:fullscreen:not(:root):not([hidden="true"]) {
/* The position: fixed; property above used to force the computed display
* value to block. It is no longer the case now, so we manually set it here to
* maintain the old behaviour. We should probably not do this, but we don't
* fullscreen XUL element that frequently either. */
display: block;
}
/* Selectors here should match the check in
* nsViewportFrame.cpp:ShouldInTopLayerForFullscreen() */
*|*:fullscreen:not(:root):not(:-moz-browser-frame) {

View File

@ -5,12 +5,12 @@ document.getElementById('a').removeAttribute('style');
}
setTimeout(doe,100);
</script>
<box id="a" style="position: absolute; display: block;">
<box id="a" style="position: absolute;">
<menuitem sizetopopup="always">
<menupopup style="position: absolute; display: block;"/>
<menupopup style="position: absolute;"/>
</menuitem>
<box style="position: fixed; display: block;">
<box style="position: fixed;">
<tree>
<treecol>
<treecol/>
@ -18,4 +18,4 @@ setTimeout(doe,100);
</tree>
</box>
</box>
</window>
</window>

View File

@ -3,7 +3,7 @@
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
<menuitem xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
style="position: absolute; display: block;">
style="position: absolute; ">
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=398982
-->

View File

@ -9,7 +9,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=398982
-->
<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
<popupgroup style="position: absolute; display: block;">
<popupgroup style="position: absolute; ">
<tooltip type="zzz">
<treecols/>
</tooltip>

View File

@ -1,12 +1,12 @@
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait">
<tree id="a" style="display: block; position: fixed;">
<box style=" display: block; position: fixed;">
<tree id="a" style="position: fixed;">
<box style=" display: -moz-box; position: fixed;">
<treecol style=" display: -moz-box;"/>
</box>
<box style="display: block; position: fixed;">
<treechildren style="display: block; position: absolute;"/>
<box style="position: fixed;">
<treechildren style="display: -moz-box; position: absolute;"/>
</box>
</tree>

View File

@ -5013,7 +5013,7 @@
# "blockified" to "-moz-box" (rather than to "block")
- name: layout.css.xul-box-display-values.survive-blockification.enabled
type: RelaxedAtomicBool
value: true
value: false
mirror: always
rust: true