Closed Bug 496840 Opened 15 years ago Closed 15 years ago
Dynamic changes to fieldset legends don't work
See upcoming patch and tests. nsFieldsetFrame::AppendFrames/InsertFrames/RemoveFrame fail when multiple legends are present. They also fail to handle cases induced by my patch in bug 495385, where ContentInserted on a <legend> frame may create a frame for a text node that precedes it, so we InsertFrames with a text frame followed by the legend.
Easy stuff really...
15 years ago
Comment on attachment 382068 [details] [diff] [review] fix So the key here is that we never take the ContentAppended codepath for fieldset content because of the multiple insertion points thing? I guess that works, sure.
+ // aFrameList is not allowed to contain "the legend" for this frameset s/frameset/fieldset/ in two places
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.