Skip to content

HTMLElement binding conversion

Taro Matsuzawa aka. btm edited this page Aug 7, 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
  • HTMLBRElement
  • HTMLBodyElement
  • HTMLBoldElement
  • HTMLDivElement (jdm)
  • HTMLFontElement
  • HTMLFormElement
  • HTMLHRElement (saneyuki)
  • HTMLHeadElement (jdm)
  • HTMLHtmlElement (jdm)
  • HTMLIframeElement (jdm)
  • HTMLImageElement (jdm)
  • HTMLInputElement
  • HTMLItalicElement
  • HTMLLinkElement
  • HTMLListItemElement
  • HTMLMetaElement (saneyuki)
  • HTMLOListElement
  • HTMLOptionElement
  • HTMLParagraphElement (saneyuki)
  • HTMLScriptElement (saneyuki)
  • HTMLSectionElement
  • HTMLSelectElement
  • HTMLSmallElement (ysuzuki)
  • HTMLSpanElement (saneyuki)
  • HTMLStyleElement
  • HTMLTableBodyElement
  • HTMLTableCellElement
  • HTMLTableElement
  • HTMLTableRowElement
  • HTMLTitleElement (ysuzuki)
  • HTMLUListElement
  • UnknownElement

Other nodes

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