Closed Bug 408782 Opened 17 years ago Closed 17 years ago

[FIX]Inconsistent display of <input type="image"> when "alt" attribute is removed

Categories

(Core :: Layout: Form Controls, defect)

x86
macOS
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: bzbarsky)

References

Details

(Keywords: testcase)

Attachments

(3 files)

The testcase and reference have identical DOMs, so they should display the same.
Attached file testcase (dynamic)
Attached file reference (static)
(In particular, the default "Submit Query" text doesn't show up when the alt attribute is removed.)
Hmm.  The problem is that the -moz-alt-content style we use here depends on the attributes, so changes to the relevant attributes should trigger a reframe, but there is no mechanism in place to do that right now.
Attached patch Simple fixSplinter Review
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #293629 - Flags: superreview?(dbaron)
Attachment #293629 - Flags: review?(dbaron)
Summary: Inconsistent display of <input type="image"> when "alt" attribute is removed → [FIX]Inconsistent display of <input type="image"> when "alt" attribute is removed
Comment on attachment 293629 [details] [diff] [review]
Simple fix

r+sr=dbaron
Attachment #293629 - Flags: superreview?(dbaron)
Attachment #293629 - Flags: superreview+
Attachment #293629 - Flags: review?(dbaron)
Attachment #293629 - Flags: review+
Comment on attachment 293629 [details] [diff] [review]
Simple fix

This is a very safe patch to handle alt text changes for image inputs if the alt or value attribute changes.
Attachment #293629 - Flags: approval1.9?
Attachment #293629 - Flags: approval1.9? → approval1.9+
Checked in with reftests.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: