DescriptionImplement checked attribute for menuitem.
The checked attribute is a boolean attribute that, if present,
indicates that the command is selected. The attribute must be
omitted unless the type attribute is in either the Checkbox state
or the Radio state.
If the type attribute is in the Checkbox state
If the element has a checked attribute, the UA must remove that
attribute. Otherwise, the UA must add a checked attribute, with the
literal value "checked".
Specification
https://html.spec.whatwg.org/multipage/forms.html#attr-menuitem-checked
BUG=87553
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186584
Patch Set 1 #
Total comments: 5
Patch Set 2 : Update #Patch Set 3 : Added tests to verify activation behavior of context menu #Patch Set 4 : Moved post-activation steps to menuitem #Patch Set 5 : Added layout test for click on menuitem. #Patch Set 6 : Rebased #Messages
Total messages: 24 (4 generated)
|