title: How does form auto-filling in the browser work?
body: <p>How does form <a href="http://en.wikipedia.org/wiki/Autofill" rel="noreferrer">autofill</a> work in modern web browsers? Which are the most common techniques used in browsers that implement automatic form filling?</p>
  
  <p>-- EDIT --</p>
  
  <p>The question is not about autocomplete, is about form autofilling, which cares not only about the previously inputted values but also considers the meaning and structure of the field to be completed. Google Chrome implementation, for example, <a href="http://codesearch.google.com/codesearch/p#OAMlx_jo-ck/src/chrome/browser/autofill/address_field.cc&amp;l=192" rel="noreferrer">tries to parse the inputted fields</a> to guess their type and structure. Or at least is that what I understood from the code linked above. </p>