DescriptionHTML allows some valueless attributes.
<input checked>
is equivalent to
<input checked="checked">
The HTML schema table distinguishes these by putting the attribute
name as the only allowed value.
This change modifies the perl script that derives the JSON doc, and the
JSON HTML attributes, and it adds programmatic support via the HTML.Attrib
class.
It also changes the value criterion used to check untyped HTML attributes
values to allow the value criteria to be converted to Javascript regular
expressions so that they can be evaluated client side.
Submited @3658
Patch Set 1 #
Total comments: 13
Patch Set 2 : Distinguish valueless attribs (checked, selected) in the HTML attribute schemas #
MessagesTotal messages: 4
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||