Mozilla Bug 366936
See html5lib.googlecode.com for original test data