Closed Bug 44625 Opened 25 years ago Closed 25 years ago

browser doesn't recognize 'value' property 'button' tag

Categories

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

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: the_great_spam_bin, Assigned: rods)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/4.73 (Macintosh; U; PPC) BuildID: 2000061411 In the page www.icab.de/test.html, Mozilla correctly displays form elements using the 'button' tag when the button text is between the opening and closing button tags as in: <button>foo</button>. However, it does not display button text when it is placed in the 'value' property of the tag as in <button value="foo"></button>. Reproducible: Always Steps to Reproduce: 1.go to www.icab.de/test.html 2.look at the only incorrectly displayed set of buttons in the form toward the bottom. 3. Actual Results: The buttons that used the button tag and had their text placed in their 'value' properties did not display properly. Expected Results: The text in the 'value' property should be displayed as the button text. <button value="foo"></button> creates a button without text in it when the button should contain the text "foo"
This is invalid, look at this in the spec: http://www.w3.org/TR/html4/interact/forms.html#h-17.5 the value property is only for submittal for the new html4 "button" tag.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Updating QA contact.
QA Contact: ckritzer → bsharma
*** Bug 192782 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.