It's really hard to understand the expected result of these tests. Converting them to dump-as-markup will make them much easier to read.
Created attachment 94519 [details] Patch
Created attachment 94522 [details] Patch
Comment on attachment 94522 [details] Patch Clearing flags on attachment: 94522 Committed r87132: <http://trac.webkit.org/changeset/87132>
All reviewed patches have been landed. Closing bug.