[cgiowt] (3) PARSER CHANGE: Change the Adoption Agency Algorithm so that it only pops the current element if it's not on the list of formatting elements, since otherwise we can end up with close tags closing things out of order even when they're all there.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24833
Affected topics: HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@8531 340c8d12-0b0e-0410-8428-c7bf67bfef74