You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, if `"x-invalid-end-tag": true` is given then this rule will catch the end tags of elements which have not opened.
82
+
The error codes are defined in [WHATWG spec](https://html.spec.whatwg.org/multipage/parsing.html#parse-errors), but this rule does not support all of those (E.g., it does not catch errors about DOCTYPE).
83
+
Also, The codes which have `x-` prefix are original in this rule because errors in tree construction phase have not codified yet.
84
+
85
+
-`x-invalid-end-tag` enables the errors about the end tags of elements which have not opened.
86
+
-`x-invalid-namespace` enables the errors about invalid `xmlns` attributes. See also [step 10. of "create an element for a token"](https://html.spec.whatwg.org/multipage/parsing.html#create-an-element-for-the-token).
87
+
88
+
> TODO(mysticatea): I will revisit errors in tree construction phase after those are codified.
0 commit comments