void () { doTest(""" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <body on<caret>load=""> </body> </html>""", "<div class='definition'><pre>onload</pre></div>\n<div class='content'>Function to call when the document has finished loading.", Collections.singletonList("https://developer.mozilla.org/en-us/docs/web/html/element/body#onload")); }