Write interfaces for Web Forms 2.0

RESOLVED INVALID

Status

()

defect
RESOLVED INVALID
13 years ago
11 years ago

People

(Reporter: WeirdAl, Assigned: WeirdAl)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Assignee

Description

13 years ago
The first thing that has to be done for Web Forms 2.0 is to design and implement an IDL interface for the input element's extensions.  nsIDOMHTMLInputElement is (correctly) frozen, so we can't add to that.

I'm tentatively calling this interface nsIWebForms2InputElement.
No longer blocks: 344614

Updated

13 years ago
Blocks: 344614
Assignee

Comment 1

13 years ago
Posted patch patch, v1Splinter Review
This patch creates two interfaces which Web Forms 2.0 will require:  nsIWebForms2InputElement (for the input-specific fields), and nsIWebForms2FormControl (for all form controls under WF2).

Both of these inherit from HTML interfaces (as WF2 extends HTML4 and XHTML 1.x).
Attachment #229217 - Flags: review?(bugmail)
Assignee

Comment 2

13 years ago
Comment on attachment 229217 [details] [diff] [review]
patch, v1

Meh, I didn't see the interfaces defined in section 7 of WF2.  I'll need to read the spec more closely, and rethink these interfaces.

Hixie:  it may not be advisable to make your interface names the same as currently existing interfaces from DOM 2 HTML.  In particular, mozilla.org froze a lot of these interfaces, so we can't exactly add to them.

Instead, we have to name them differently, as I did in this patch.

Now that's an internal implementation detail, so it may not be valid for your spec.
Attachment #229217 - Flags: review?(bugmail)
Assignee

Updated

13 years ago
Summary: Write interface for Web Forms 2.0 input element → Write interfaces for Web Forms 2.0
I'd rather not add interfaces until we have code that implement and use them.
Assignee

Comment 4

13 years ago
Okay, then this bug as filed is INVALID.  I'll supply the needed interfaces with each implementation.
No longer blocks: 344614
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
It is advisable to start DOM interface names with nsIDOM* or nsIDOMNS* (the DOM code does some magic based on those prefixes). And no need to add these to domstubs.idl imho.

Updated

11 years ago
Component: DOM: HTML → DOM: Core & HTML
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.