If the browser exposes and allows you to further extend HTMLElement extensions 
such as HTMLTableElement, then yes. But I wouldn't bother with it because 
you're not going to get full BC and have to implement get('tag') as a failsafe 
anyway.

If you plan to use document.id() everywhere (thus assuming no extended natives 
at all) you could add the tagName check inside the wrapper and then make it 
seem transparent to the outside. This, too, is a waste of time IMO. Just use 
get('tag') if you want this feature to be compatible with all Moo-supported 
browsers.

-- Sandy

Reply via email to