Closed Bug 958914 Opened 11 years ago Closed 11 years ago

Scriptlevel doesn't change when moving child in reftest

Categories

(Core :: MathML, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 838506

People

(Reporter: jkitch, Unassigned)

Details

Attachments

(1 file)

Attached patch reftestSplinter Review
In movechild.html (in the attached reftest), an <mo> element is moved from within an <mfrac> to a separate <math> element with no scriptlevel increasing elements. When run without the "MozReftestInvalidate" event listener (ie adding a direct call to doTest()) the element is moved and its scriptlevel is changed from 1 to 0, which is the expected behaviour. When run as part of a reftest using "MozReftestInvalidate" event listener, the element is moved but its scriptlevel remains at 1. Is there something wrong with my testcase, or is there an underlying bug that only manifests itself with reftests?
This reftest passes for me with the refactoring of displaystyle (that includes change to displaystyle / scriptlevel computation in mfrac). See bug 838506. I have not tried to run the reftest without that refactoring.
I've run the patches from bug 838506 and they appear to fix the problem. A testcase to ensure it stays fixed will be included in bug 442637.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: