Skip to content

Avoid logging warning for missing value for some html attributes such as defer #160

Description

@apupier

When using this kind of notation:
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>

a warning is logged: [xmldom warning] attribute "defer" missed value!! "defer" instead2!!

based on html specification https://html.spec.whatwg.org/#attr-script-defer this notation is valid.
So when the mimetype is text/html, I think that there is no warniogn log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp-wantedExternal contributions welcomespec:DOM Living Standardhttps://dom.spec.whatwg.org/spec:HTML

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions