Closed Bug 307756 Opened 19 years ago Closed 19 years ago

<input type="image"> with -moz-user-input:none/disabled still processes events

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

Details

(Keywords: testcase)

Attachments

(2 files, 1 obsolete file)

<input type="image"> with -moz-user-input:none/disabled still processes events when replaced by ALT text. STEPS TO REPRODUCE 1. load the attached testcase 2. click on the text ACTUAL RESULTS The form is submitted EXPECTED RESULTS Same as when the image is shown - i.e. no event processing
Assignee: nobody → mats.palmgren
Attached file Testcase
Attached patch Patch rev. 1 (obsolete) — Splinter Review
Use the primary frame if no nsIFormControlFrame can be found for type="image" for testing '-moz-user-input'.
Attachment #195441 - Flags: superreview?(bzbarsky)
Attachment #195441 - Flags: review?(bzbarsky)
Comment on attachment 195441 [details] [diff] [review] Patch rev. 1 Why are we even bothering with GetFormControlFrame when all we want is the primary frame?
That handling is really not an issue anymore, since we no longer support :before/:after on replaced elements... If we ever add back support, we'll have to audit all out GetPrimaryFrameFor() calls anyway.
Attached patch Patch rev. 2Splinter Review
Attachment #195441 - Attachment is obsolete: true
Attachment #195448 - Flags: superreview?(bzbarsky)
Attachment #195448 - Flags: review?(bzbarsky)
Attachment #195441 - Flags: superreview?(bzbarsky)
Attachment #195441 - Flags: review?(bzbarsky)
Attachment #195448 - Flags: superreview?(bzbarsky)
Attachment #195448 - Flags: superreview+
Attachment #195448 - Flags: review?(bzbarsky)
Attachment #195448 - Flags: review+
Checked in to trunk at 2005-09-10 04:02 PDT -> FIXED
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: