зеркало из https://github.com/mozilla/gecko-dev.git
Bug 947557 - Call DidReflow() on <mprescripts/> frame. r=fredw
This commit is contained in:
Родитель
e717247ca9
Коммит
822522fb53
|
@ -0,0 +1,21 @@
|
|||
<!doctype html>
|
||||
<body>
|
||||
<math>
|
||||
<mmultiscripts>
|
||||
<mo>A</mo>
|
||||
<mprescripts/>
|
||||
<mmultiscripts>
|
||||
<mo>A</mo>
|
||||
<mprescripts/>
|
||||
<mo>A</mo>
|
||||
<mo>A</mo>
|
||||
</mmultiscripts>
|
||||
<mmultiscripts>
|
||||
<mo>A</mo>
|
||||
<mprescripts/>
|
||||
<mo>A</mo>
|
||||
<mo>A</mo>
|
||||
</mmultiscripts>
|
||||
</mmultiscripts>
|
||||
</math>
|
||||
</body>
|
|
@ -58,4 +58,5 @@ load 654928-1.html
|
|||
load 655451-1.xhtml
|
||||
load 713606-1.html
|
||||
load 716349-1.html
|
||||
load 947557-1.html
|
||||
test-pref(layout.css.sticky.enabled,true) asserts(1) load 973322-1.xhtml
|
||||
|
|
|
@ -571,7 +571,10 @@ nsMathMLmmultiscriptsFrame::PlaceMultiScript(nsPresContext* aPresContext,
|
|||
dx),
|
||||
dy, 0);
|
||||
dx += bmBase.width;
|
||||
} else if (prescriptsFrame != childFrame) {
|
||||
} else if (prescriptsFrame == childFrame) {
|
||||
// Clear reflow flags of prescripts frame.
|
||||
prescriptsFrame->DidReflow(aPresContext, nullptr, nsDidReflowStatus::FINISHED);
|
||||
} else {
|
||||
// process each sup/sub pair
|
||||
if (0 == count) {
|
||||
subScriptFrame = childFrame;
|
||||
|
|
Загрузка…
Ссылка в новой задаче