PhpStorm 2020.3 Help

Code Inspection: XHTML incompatibilities

Reports common JavaScript DOM patterns which may present problems with XHTML documents. In particular, the patterns detected will behave completely differently 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 include document.body , document.images , document.applets , document.links , document.forms , and document.anchors .

Last modified: 08 May 2020