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)
Tracking
()
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.
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
You need to log in
before you can comment on or make changes to this bug.
Description
•