mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 947557 - Call DidReflow() on <mprescripts/> frame. r=fredw
This commit is contained in:
parent
e717247ca9
commit
822522fb53
21
layout/mathml/crashtests/947557-1.html
Normal file
21
layout/mathml/crashtests/947557-1.html
Normal file
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user