DescriptionAdd counters for <menuitem>.
- UseCounter::MenuItemElement
Counts menuitem element usage.
if chrome://flags/#enable-experimental-web-platform-features is enabled,
HTMLMenuItemElement is used. Otherwise, HTMLUnknownElement is used.
- UseCounter::MenuItemCloseTag
Counts </menuitem>. <menuitem> is a void element according to the current
specification. This counts wrong usages like crbug.com/412945.
BUG=412945
Committed: https://crrev.com/960e27eea0a509153ee247d7edda7d1c4d49eb53
Cr-Commit-Position: refs/heads/master@{#369354}
Patch Set 1 : #
Messages
Total messages: 16 (9 generated)
|