Skip to content

HTMLElement binding conversion

Tetsuharu OHZEKI edited this page Aug 8, 2013 · 79 revisions

Find all webidl files at http://mxr.mozilla.org/mozilla-central/source/dom/webidl/.

When integrating them into Servo, comment out anything that causes a python error when generating bindings. Similarly, feel free to comment out anything that causes a nontrivial compile error when building the bindings (ie. more complicated than HTMLFooElement doesn't implement a method named Bar, where you can define the Bar method on the type).

https://github.com/jdm/servo/commit/04da4346e4ba8ffdb998e4fb530d76bfdfa2618e is a good reference for what's required for typical elements.

Elements

  • HTMLAnchorElement (jdm)
  • HTMLAsideElement (saneyuki): -> HTMLElement
  • HTMLBRElement (recrack)
  • HTMLBodyElement (june0cho)
  • HTMLBoldElement (saneyuki): -> HTMLElement
  • HTMLDivElement (jdm)
  • HTMLFontElement
  • HTMLFormElement (sonwow)
  • HTMLHRElement (saneyuki)
  • HTMLHeadElement (jdm)
  • HTMLHtmlElement (jdm)
  • HTMLIframeElement (jdm)
  • HTMLImageElement (jdm)
  • HTMLInputElement
  • HTMLItalicElement (saneyuki): -> HTMLElement
  • HTMLLinkElement (recrack)
  • HTMLListItemElement : -> HTMLLIElement
  • HTMLMetaElement (saneyuki)
  • HTMLOListElement (smellman)
  • HTMLOptionElement
  • HTMLParagraphElement (saneyuki)
  • HTMLScriptElement (saneyuki)
  • HTMLSectionElement (saneyuki): -> HTMLElement
  • HTMLSelectElement
  • HTMLSmallElement (ysuzuki)
  • HTMLSpanElement (saneyuki)
  • HTMLStyleElement (saneyuki)
  • HTMLTableBodyElement (saneyuki): -> HTMLTableSectionElement.
  • HTMLTableCellElement (saneyuki)
  • HTMLTableElement (saneyuki)
  • HTMLTableRowElement (saneyuki)
  • HTMLTitleElement (ysuzuki)
  • HTMLUListElement (sonwow)
  • UnknownElement

Other nodes

  • Text (jdm)
  • Comment
  • Doctype
Clone this wiki locally
You can’t perform that action at this time.