The comment should be treated as a comment, so hiding it inside <title> isn't good.
Created attachment 59537 [details] proposed fix
Comment on attachment 59537 [details] proposed fix So the test used to fail to go into quirks mode because of the comment? Are we sure that this placement of the comment will cause the same effect?
Committed <http://trac.webkit.org/changeset/61704>. > So the test used to fail to go into quirks mode because of the comment? Actually, vice versa - there is no DOCTYPE, so the test shouldn't be in strict mode. Bug 8626 was about strict mode being entered in error. > Are we sure that this placement of the comment will cause the same effect? It was a long time ago, but my recollection about that bug is that yes, the modified test should still cover it.