Closed Bug 1267 Opened 26 years ago Closed 26 years ago

body does not handle style changed reflow targeted at it

Categories

(Core :: Layout, defect, P1)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 1324

People

(Reporter: buster, Assigned: troy)

References

()

Details

click on the Change Caption Style button. You'll hit this assert in nsBodyFrame.cpp: if (this == reflowCmdTarget) { NS_ASSERTION(nsIReflowCommand::FrameAppended == reflowCmdType, "unexpected reflow command"); But it should be perfectly legal for a style changed reflow to be targeted at a body frame. In this case, we're reusing the body frame to map the caption content.
Status: NEW → ASSIGNED
Priority: P2 → P1
Assignee: kipp → troy
Status: ASSIGNED → NEW
I made a simple change to steve's test so that when you poke the "change caption style" that it changes the BODY's style instead. Kaboom. The problem seems to be that we aren't construcing the path for the reflow command properly. I believe that troy can handle this one quickly.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 1324 ***
Status: RESOLVED → VERIFIED
Marking Verified as a dup.
You need to log in before you can comment on or make changes to this bug.