[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:19:49 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=48821
--- Comment #8 from Kent Tamura <tkent at chromium.org> 2010-11-16 23:19:49 PST ---
(In reply to comment #7)
> 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.
Could you show me the patch please?
WebCore::Node inherits EventTarget, TreeShared, and ScriptWrappable. Both of EventTarget and TreeShared have ref() and deref().
--
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