Closed Bug 1140838 Opened 11 years ago Closed 10 years ago

Make MDN <menu> type description understandable, doc context not popup

Categories

(Developer Documentation Graveyard :: HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: anaran, Assigned: anaran)

References

()

Details

See these links: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu referenced from https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu Details: I am not able to understand "this is the missing value default if ..." in the description below. Do these sentences under popup and toolbar make sense? Could they be reworded to be clearer? type This attribute indicates the kind of menu being declared, and can be one of two values. popup: The popup menu state, which represents a group of commands activated through another element. This might be through the menu attribute of a <button>, or an element with a contextmenu attribute. When nesting <menu> elements directly within one another, this is the missing value default if the parent is already in this state. toolbar: The toolbar menu state, which represents a series of commands for user interaction. This is the missing value default, except where the parent element is a <menu> in the popup menu state.
http://dev.w3.org/html5/spec-LC/interactive-elements.html#the-menu-element is the best upstream info I was able to find. It mentions the list state: "The attribute may also be omitted. The missing value default is the list state, which indicates that the element is merely a list of commands that is neither declaring a context menu nor defining a toolbar." Perhaps MDN should reword along these lines and mention the missing default separately, not twice under popup and toolbar.
Hi! Thanks for the info! It is a wiki, can you try to fix it? It would be helpful and save us a lot of time: takes quite a lot of time to dig into a new context and fix, even if it "simple". Don't be afraid, you can't break anything. Thanks in advance for the help, really appreciated!
Assignee: nobody → adrian.aichner
Depends on: 897102
Summary: Make MDN <menu> type description understandable → Make MDN <menu> type description understandable, doc context not popup
Correction: See bug 897102 comment 10 for my suggested replacement of type popup with context to document current implementation and to make the type default documentation more approachable.
Hi Jean-Yves, can you please confirm my temporary fix as per bug 897102 comment 10.
Status: NEW → ASSIGNED
Flags: needinfo?(jypenator)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Adrian, it looks good! Thanks.
Flags: needinfo?(jypenator)
You need to log in before you can comment on or make changes to this bug.