[Webkit-unassigned] [Bug 48821] "elements" for form and fieldsset don't conform to the HTML5 spec
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 16 23:02:21 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=48821
--- Comment #7 from Kenichi Ishibashi <bashi at google.com> 2010-11-16 23:02:21 PST ---
Kent-san,
(In reply to comment #6)
> I think it's doable. Did you try it and have problems?
I tried introducing the interface class, say FormAssociatedElementInterface, and changed the argument of checkValidity from Vector<RefPtr<HTMLFormControlElement> to Vector<RefPtr<FormAssociatedElementInterface>. Since RefPtr requires ref() and deref(), I needed to define these functions, but they are also defined in EventTarget class, which is a superclass of HTMLElement subclasses. I think, in this case, virtual inheritance is needed to make both HTMLFormControlElement and HTMLObjectElement to be a subclass of not only HTMLElement but also FormAssociatedElementInterface. I can't come up with a workaround to avoid it.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list