Closed Bug 515255 Opened 17 years ago Closed 16 years ago

[HTML5] "ASSERTION: Form-associated element did not implement nsIFormControl" with isindex, keygen

Categories

(Core :: DOM: HTML Parser, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: hsivonen)

References

Details

(Keywords: assertion, testcase)

Attachments

(3 files)

Attached file testcase —
With html5.enable true, loading this testcase triggers: ###!!! ASSERTION: Form-associated element did not implement nsIFormControl.: 'formControl', file /Users/jruderman/central/parser/html/nsHtml5TreeBuilderCppSupplement.h, line 126 |content| is an nsHTMLSpanElement when the assertion fires.
Does isindex have anything to do with this? Isn't this just <keygen>?
Depends on: html5-keygen
The testcase seems to require <isindex> to trigger the assertion. I can believe that only <keygen> is doing something wrong, though.
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Attachment #407277 - Flags: review?(bnewman)
Attachment #407277 - Flags: review?(bnewman) → review+
Comment on attachment 407277 [details] [diff] [review] Avoid asserting for now Good enough for me. Maybe prepend TODO to that comment? Or just keep track of it however you keep track of these HTML4-5 gaps.
> Maybe prepend TODO to that comment? I'm partial to including bug numbers.
(In reply to comment #4) > (From update of attachment 407277 [details] [diff] [review]) > Good enough for me. Thanks. > Maybe prepend TODO to that comment? Or just keep track of it however you keep > track of these HTML4-5 gaps. Added "TODO" and bug numbers.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: