Closed Bug 27151 Opened 25 years ago Closed 25 years ago

Fieldset with PCDATA and LEGEND does not display the PCDATA

Categories

(Core :: Layout: Form Controls, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: christinehoff4, Assigned: rods)

Details

Attachments

(1 file)

Tested on Windows, Mac and Linux using 2/9 build.

Steps to reproduce:
1. Open attached file
2. There is a Fieldset with PCDATA and a LEGEND. 

Expected result:
Text in Fieldset should display when a LEGEND follows.

Actual result:
Text in Fieldset does not display when a LEGEND follows.

In the HTML 4.01 spec:
http://www.w3.org/TR/html4/interact/forms.html#edef-FIELDSET
the DTD says that with FIELDSET, both #PCDATA and LEGEND occur, in that order. 
Therefore, if you have a FIELDSET start tag, text, start and end LEGEND tags, 
and FIELDSET end tag - the text should display. Text displays if there is no 
legend.
Attached file testcase to demonstrate problem (deleted) —
Reassigning to Rod.
Assignee: karnaze → rods
QA Contact: ckritzer → chrisd
need to look at it
Status: NEW → ASSIGNED
Target Milestone: M15
The problem was in nsCSSFrameConstructor, the "previous" frame wasn't being set 
correctly.
Summary: Fieldset with PCDATA and LEGEND does not display the PCDATA → [FIX]Fieldset with PCDATA and LEGEND does not display the PCDATA
Whiteboard: fix in tree, waiting to check in
fixed.
Summary: [FIX]Fieldset with PCDATA and LEGEND does not display the PCDATA → Fieldset with PCDATA and LEGEND does not display the PCDATA
Whiteboard: fix in tree, waiting to check in
forgot to set it to fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Using 7-13-08 build, verified fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: