Query module ConflictingAttributes

name
Conflicting HTML element attributes
description
If an HTML element has two attributes with the same name but different values, its behavior may be browser-dependent.
kind
problem
problem.severity
warning
id
js/conflicting-html-attribute
tags
maintainability correctness external/cwe/cwe-758
precision
very-high

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Predicates

conflict

Holds if earlier and later are attribute definitions with the same name and different values, where earlier appears textually before later.