PhpStorm 2019.3 Help

Code Inspection: XHTML incompatibilities

Reports common JavaScript DOM patterns which may present problemswith XHTML documents. In particular, the patterns detected will behave completelydifferently depending on whether the document is loaded as XML or HTML.This can result in subtle bugs where script behaviour is dependent on the MIME-type of the document, rather than its content.Patterns detected includedocument.body,document.images,document.applets,document.links,document.forms, anddocument.anchors.

Last modified: 27 March 2020