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
In the HTML standard, the trailing slash can exist on a void element with no effect, except when directly preceded by unquoted attribute values. Therefore the following is valid HTML: <input id=foo disabled/>
However, HAP will parse this as having an attribute named disabled/ which is incorrect. The trailing slash should only be parsed as part of an unquoted attribute's value, such as <input id=foo disabled=/> and produce the attribute (name: "disabled", value: "/")
1. Description
In the HTML standard, the trailing slash can exist on a void element with no effect, except when directly preceded by unquoted attribute values. Therefore the following is valid HTML:
<input id=foo disabled/>
However, HAP will parse this as having an attribute named
disabled/
which is incorrect. The trailing slash should only be parsed as part of an unquoted attribute's value, such as<input id=foo disabled=/>
and produce the attribute(name: "disabled", value: "/")
2. Exception
N/A
3. Fiddle or Project
https://dotnetfiddle.net/aAyPFj
4. Any further technical details
The text was updated successfully, but these errors were encountered: