Re: [dev-servo] HTML element binding conversion

2013-08-08 Thread Tetsuharu OHZEKI
2013/8/9 Tetsuharu OHZEKI : > Why I defined `handle_htmlelement!` is that `handle_element!` create > object which cannot handle the case of simple `HTMLElement`. I'm sorry. I made a typo. This is: Why I defined `handle_htmlelement!` is that `handle_element!` cannot handle the case of simple `HTMLE

Re: [dev-servo] HTML element binding conversion

2013-08-08 Thread Tetsuharu OHZEKI
2013/8/9 Boris Zbarsky : > Note that there are other cases where multiple element types all use the > same interface that's not HTMLElement (e.g. and ). So we > want support for that sort of thing. For its purpose, I feel we can use `handle_element!` macro simply in /src/components/script/html/h

Re: [dev-servo] HTML element binding conversion

2013-08-08 Thread Boris Zbarsky
On 8/8/13 8:18 PM, Josh Matthews wrote: On a related note, saneyuki added support for some element types that don't have their own interfaces and just use HTMLElement. Note that there are other cases where multiple element types all use the same interface that's not HTMLElement (e.g. and ).

Re: [dev-servo] HTML element binding conversion

2013-08-08 Thread Josh Matthews
I'd like to thank everyone who's been contributing to this - the response has been overwhelming, and I'm thrilled at how fast we're burning through the list. I added a bunch of new entries to it today, since it turns out that our element types are quite incomplete; feel free to tackle those as

Re: [dev-servo] HTML element binding conversion

2013-08-08 Thread Josh Matthews
That seems like what we want to do, yes. Cheers, Josh On 08/08/2013 08:54 AM, Tetsuharu OHZEKI wrote: Good question. I've noticed this with a few elements we define (like HTMLItalicElement, HTMLStrongElement, etc). According to http://www.whatwg.org/specs/web-apps/current-work/multipage/section

Re: [dev-servo] HTML element binding conversion

2013-08-08 Thread Tetsuharu OHZEKI
> Good question. I've noticed this with a few elements we define (like > HTMLItalicElement, HTMLStrongElement, etc). According to > http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-section-element, > uses HTMLElement (as do the other ones I mentioned), so it looks > li

Re: [dev-servo] HTML element binding conversion

2013-08-07 Thread Josh Matthews
Good question. I've noticed this with a few elements we define (like HTMLItalicElement, HTMLStrongElement, etc). According to http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-section-element, uses HTMLElement (as do the other ones I mentioned), so it looks like we'

Re: [dev-servo] HTML element binding conversion

2013-08-07 Thread Tetsuharu OHZEKI
Josh, HTMLSectionElement.webidl is no in http://mxr.mozilla.org/mozilla-central/source/dom/webidl/. And HTMLSectionElement is not defined by current specs: whatwg HTML, w3c HTML5, w3c HTML5.1. How do we care about it? 2013/8/7 Josh Matthews : > To ensure that no redundant work occurs, I've put u