From: Mike B. <mb...@Ga...> - 2003-05-30 17:03:03
|
Barnaby Court wrote: > I propose that the input elements be simplified to 2 elements, > the HtmlInputElement and the HTMLInputElement class. For > backward compatibility all the sub classes of these 2 classes > could be kept as interfaces so existing test cases will not be > broken. If this move is supported I will submit a patch to > support these changes by next week. The principal effect that > this has on our current bug list is to eliminate bug 730915 > as it would eliminate the one-to-n mapping that currently > exists for input elements. Let me know what you think. +1 My initial idea was to keep the various types as seperate classes because they all have distinct behaviour. In retrospect however, this introduces a bunch of casting that is undesirable. Your proposal makes sense. I assume btw that you really meant to have the existing subclasses turned into empty classes rather than interfaces. If this isn't what you mean then please elaborate. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |