title: Gecko API for DOM
body: <p>Does Gecko expose an API for working directly with its DOM?  I'm looking for a class like HtmlElement that can be used to build/traverse trees of HTML content.  </p>
  
  <p>I'm trying to host Gecko as a web browser control in a desktop application, and would prefer a direct API rather than going through COM.  Thanks!</p>