Inconsistent / Incorrect "Missing Value Defaults" for rehype-minify-enumerated-attribute
#38
Labels
🗄 area/interface
This affects the public interface
💪 phase/solved
Post is done
🧒 semver/minor
This is backwards-compatible change
🦋 type/enhancement
This is great to have
Subject of the feature
Copied from the comments in #36 #36 (comment)
Going through MDN and the HTML spec, found some more inconsistencies / additions:
missing
value forol[type]
should be'1'
missing
value forul[type]
should be'circle'
missing
value forform[target]
should be'_self'
[autocomplete]
: should this have an array oftagNames
? MDN says<input>
,<textarea>
,<select>
, and<form>
img[decoding]
: missing value default of'auto'
[loading]
should be ordered after[keytype]
and[kind]
[formmethod]
should have amissing
ofnull
(from the spec: "Theformmethod
attribute ... has no missing value default."). Maybe also change the comment to update the[method]
, because it isn't actually 100% synced...[formenctype]
should have amissing
ofnull
(from the spec: "Theformenctype
attribute ... has no missing value default."). Maybe also change the comment to update the[enctype]
, because it isn't actually 100% synced...[formtarget]
probably should have amissing
ofnull
(couldn't find it in the spec, but seems consistent with the others). Maybe also change the comment to update the[target]
, because it isn't actually 100% synced...li[type]
should maybe benull
instead? (from MDN: "This type overrides the one used by its parent<ol>
element, if any.")Problem
I'm trying to gather a list of "missing value defaults" for a new ESLint rule:
jsx-eslint/eslint-plugin-react#2866
Also see #36
Expected behavior
The list should be complete and correct.
The text was updated successfully, but these errors were encountered: