diff --git a/index b/index index 8b8c0dee951..9f134a9668d 100644 --- a/index +++ b/index @@ -26792,8 +26792,42 @@ function AddCloud(data, x, y) { ... }
... -
label
- elementlabel
elementform
+
+ for
+
+ interface HTMLLabelElement : HTMLElement { + readonly attribute HTMLFormElement form; + attribute DOMString htmlFor; + readonly attribute HTMLElement control; +};+
...
select
elementtype
- label
+ label
icon
@@ -29926,7 +29960,7 @@ XXX selection ranges -->
interface HTMLCommandElement : HTMLElement { attribute DOMString type; - attribute DOMString label; + attribute DOMString label; attribute DOMString icon; attribute boolean disabled; attribute boolean checked; @@ -29953,7 +29987,7 @@ XXX selection ranges --> may also be omitted if the element is to represent the first of these types, a simple command. -The
label
+The
label
attribute gives the name of the command, as shown to the user.The
title
@@ -30011,7 +30045,7 @@ XXX selection ranges -->The
type
,label
,label
,icon
,disabled
,checked
,type
-label
+label
DOM interface: @@ -30318,7 +30352,7 @@ menu li:not(:first-child)::before { content: ' | '; }
interface HTMLMenuElement : HTMLElement { attribute DOMString type; - attribute DOMString label; + attribute DOMString label; };@@ -30360,14 +30394,14 @@ menu li:not(:first-child)::before { content: ' | '; } href="#li">li element children, flow content describing available commands. -
The label
+
The label
attribute gives the label of the menu. It is used by user agents to
display nested menus in the UI. For example, a context menu containing
another menu would use the nested menu's label
attribute for the submenu's menu label.
+ href="#label2">label attribute for the submenu's menu label.
The type
and label
DOM attributes
+ id=label3 title=dom-menu-label>label
DOM attributes
must reflect the content attributes of the same
name.
@@ -30523,7 +30557,7 @@ menu li:not(:first-child)::before { content: ' | '; }
element.
menu
element with no label
attribute
+ title=attr-menu-label>label attribute
select
element
@@ -30532,7 +30566,7 @@ menu li:not(:first-child)::before { content: ' | '; }
then append another separator.
menu
element with a label
attribute
+ title=attr-menu-label>label attribute
optgroup
element
@@ -30546,14 +30580,15 @@ menu li:not(:first-child)::before { content: ' | '; }
We should support label
in the algorithm above
- -- just iterate through the contents like with li
, to support input
elements in label
elements.
- Also, optgroup
elements without labels should be ignored
- (maybe? or at least should say they have no label so that they are dropped
- below), and select
elements inside label
- elements may need special processing.
+
We should support label
in
+ the algorithm above -- just iterate through the contents like with
+ li
, to support input
elements in label
elements. Also, optgroup
+ elements without labels should be ignored (maybe? or at least should say
+ they have no label so that they are dropped below), and
+ select
elements inside label
elements may need special processing.
Once all the nodes have been processed as described above, the user agent must the post-process the menu as follows: @@ -30684,7 +30719,7 @@ menu li:not(:first-child)::before { content: ' | '; } or from script. If a command has no ID, it is an anonymous command. -
id
DOM attribute on
the HTMLElement
interface.
- The label
- attribute must return the command's The label
+ attribute must return the command's Label, or null if the element does not
- define a command or does not specify a Label. This attribute will be shadowed by
the label
DOM attribute on option
and
command
elements.
@@ -30883,7 +30918,7 @@ menu li:not(:first-child)::before { content: ' | '; }
the element, if the attribute is present and not empty. Otherwise the
command is an anonymous command.
-
The Label of the command +
The Label of the command
is the string given by the element's textContent
DOM attribute.
@@ -30925,7 +30960,7 @@ menu li:not(:first-child)::before { content: ' | '; }
href="#command1" title=concept-command>defines a command.
The Type, ID, ID, Label, Hint, Icon, the element, if the attribute is present and not empty. Otherwise the command is an anonymous command. -
The Label of the command +
The Label of the command depends on the Type of the command:
If the Type is "command", @@ -30974,14 +31009,14 @@ menu li:not(:first-child)::before { content: ' | '; } the button itself if the attribute is absent.
Otherwise, the Type is
- "radio" or "checkbox". If the element has a label
element
- associated with it, the label
element associated with it, the textContent
of the first such element is
- the Label (in DOM terms,
+ the Label (in DOM terms,
this the string given by element.labels[0].textContent
). Otherwise, the value
- of the value
attribute, if present, is the Label. Otherwise, the value attribute, if present, is the Label. Otherwise, the Label is the empty string.
The Hint of the command is @@ -31039,7 +31074,7 @@ menu li:not(:first-child)::before { content: ' | '; } the element, if the attribute is present and not empty. Otherwise the command is an anonymous command. -
The Label of the command +
The Label of the command
is the value of the The Label of the command
+ The Label of the command
is the value of the element's option
element's label
attribute, if there is one, or the
value of the option
element's
the element, if the attribute is present and not empty. Otherwise the
command is an anonymous command.
-
attribute, if there is one, or the empty
string if it doesn't.
label
attribute, if there is one, or the empty
+ href="#label0">label
The Hint of the command is @@ -31154,7 +31189,7 @@ menu li:not(:first-child)::before { content: ' | '; } the element, if the attribute is present and not empty. Otherwise the command is an anonymous command. -
The Label of the command +
The Label of the command
is the string given by the element's textContent
DOM attribute, if that is not
the empty string, or a user-agent-defined string appropriate for the
@@ -50859,8 +50894,8 @@ interface MessageChannel {
If the stack of open elements has a p
element in
+ scope, then act as if an end tag with the tag name "p" had been
+ seen.
Insert an HTML element for the token.
+ +If the form
element
+ pointer is not null, then associate
+ the newly created fieldset
element
+ with the form
element pointed to by the
+ form
element pointer.
form
element pointed to by the form
element pointer.
+ Reconstruct the active formatting elements, + if any.
+ +Insert an HTML element for the token.
+ +If the form
element
+ pointer is not null, then associate
+ the newly created label
element with
+ the form
element pointed to by the form
element pointer.
...
-label
elementlabel
elementform
for
interface HTMLLabelElement : HTMLElement { + readonly attribute HTMLFormElement form; + attribute DOMString htmlFor; + readonly attribute HTMLElement control; +};+
...
+select
elementIf the stack of open elements has a p
element in
+ scope, then act as if an end tag with the tag name
+ "p" had been seen.
Insert an HTML element for the token.
+ +If the form
element pointer
+ is not null, then associate the
+ newly created fieldset
element with the
+ form
element pointed to by the form
element pointer.
Reconstruct the active formatting elements, if + any.
+ +Insert an HTML element for the token.
+ +If the form
element pointer
+ is not null, then associate the
+ newly created label
element with the
+ form
element pointed to by the form
element pointer.