зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1617753 - Avoid using our DEBUG version of RemoveFrame() which is supposed to never be called. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D64206 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
7f93d2e008
Коммит
a53a9a89f5
|
@ -0,0 +1,21 @@
|
||||||
|
<style>
|
||||||
|
LEGEND, FORM {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
LEGEND {
|
||||||
|
max-height: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
FORM {
|
||||||
|
column-width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
FIELDSET {
|
||||||
|
column-width: 1em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<form id="htmlvar00005" class="class3">
|
||||||
|
<fieldset>
|
||||||
|
<legend>
|
||||||
|
<!-- COMMENT -->
|
|
@ -75,3 +75,4 @@ load 1471157.html
|
||||||
load 1488219.html
|
load 1488219.html
|
||||||
load 1600207.html
|
load 1600207.html
|
||||||
load 1600367.html
|
load 1600367.html
|
||||||
|
load 1617753.html
|
||||||
|
|
|
@ -887,7 +887,8 @@ void nsFieldSetFrame::EnsureChildContinuation(nsIFrame* aChild,
|
||||||
nsIFrame* nif = aChild->GetNextInFlow();
|
nsIFrame* nif = aChild->GetNextInFlow();
|
||||||
if (aStatus.IsFullyComplete()) {
|
if (aStatus.IsFullyComplete()) {
|
||||||
if (nif) {
|
if (nif) {
|
||||||
RemoveFrame(kPrincipalList, nif);
|
// NOTE: we want to avoid our DEBUG version of RemoveFrame above.
|
||||||
|
nsContainerFrame::RemoveFrame(kNoReflowPrincipalList, nif);
|
||||||
MOZ_ASSERT(!aChild->GetNextInFlow());
|
MOZ_ASSERT(!aChild->GetNextInFlow());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче