html-validate
Advanced tools
Changelog
0.16.0 (2018-12-15)
Location
has a new property size
holding the number of characters the
location refers to.HtmlValidate
class now loads same default config as CLI if no configuration
is passed explicitly.Location
has a new property offset
holding the offset into the source
data (starting at zero).--stdin
and --stdin-filename
for passing markup on standard
input and explicitly naming it. Useful for external tools and IDEs which wants
to pass the markup in stdin instead of a temporary file.Changelog
0.15.3 (2018-12-05)
querySelector
and querySelectorAll
on DOMNode
, not just
DOMTree
.Changelog
0.15.2 (2018-12-01)
Changelog
0.15.1 (2018-11-26)
previousSibling
and nextSibling
on DOMNode
.Changelog
0.15.0 (2018-11-21)
attribute-boolean-style
to validate style of boolean attributes.nodeName
on DOMNode
.attribute-allowed-values
now normalizes boolean attributes before
validating, i.e. it will accept disabled
, disabled=""
or
disabled="disabled"
. Fixes #13.input
learned required
attribute.querySelector
properly handles attribute selectors with dashes and
digits. Fixes #15.Changelog
0.14.1 (2018-11-04)
acorn
, the package now properly resolves acorn 5 when
dependant pulls acorn 6.Changelog
0.14.0 (2018-11-03)
attribute-allowed-values
validates allowed values for attributes,
such as type
for <input>
.Changelog
0.13.0 (2018-10-21)
deprecated
supports adding a message for custom elements.element-permitted-order
now reports the error where the malplaced element is
instead of the parent element (which holds the restriction). Fixes #10.