From a1ff0f3d88f738705c862e1a80c4fdc67a9d244f Mon Sep 17 00:00:00 2001
From: Ian Hickson HTML
- Living Standard — Last Updated 12 February 2013
+ Living Standard — Last Updated 13 February 2013
2.2.2 Dependencies
Event
interfaceEventTarget
interface2.7.2.2 HTMLFormCon
HTMLCollection
objects.
The supported property names consist of the values of all the id
and name
attributes of all the
- elements represented by the collection.
id
of an element preceding its name
if it has both, they differ from each other, and neither is the
+ duplicate of an earlier entry.
The namedItem(name)
method must act according to the following algorithm:
optgroup
elements (though it can remove children from them).
The supported property names consist of the values of all the id
and name
attributes of all the
- elements represented by the collection.
id
of an element preceding its name
if it has both, they differ from each other, and neither is
+ the duplicate of an earlier entry.
The namedItem(name)
method must return the first node in the collection that has
either an id
attribute or a name
attribute equal to name, if there is one;
@@ -7841,7 +7846,8 @@
HTMLCollection
objects.
The supported property names consist of the property names of all the - elements represented by the collection.
+ elements represented by the collection, in tree order, ignoring later + duplicates.The names
attribute must
return a live read only array object giving
@@ -7887,7 +7893,7 @@
The supported property names on a DOMStringMap
object at any instant
are the names of each pair returned from the algorithm for getting the list of name-value pairs at
- that instant.
To determine the value of a named property name in a DOMStringMap
, the user agent must return the value component
of the name-value pair whose name component is name in the list returned by
@@ -7956,7 +7962,7 @@
The supported property names on a DOMElementMap
object at any instant
are the names for each mapping returned from the algorithm for getting the list of name-element
- mappings at that instant.
To determine the value of a named property name in a DOMElementMap
, the user agent must return the element
component of the name-element mapping whose name component is name in the list
@@ -8853,7 +8859,8 @@
id
content attributes of all the
img
elements in the Document
that have both name
content
- attributes and id
content attributes.
+ attributes and id
content attributes. The supported property
+ names must be in tree order, ignoring later duplicates.
To determine the value of a named property name when the Document
object is indexed for property
retrieval, the user agent must return the value obtained using the following steps:
data-
" and whose remaining characters (if any) do not include any
- uppercase ASCII letters, add a name-value pair to list whose
+ uppercase ASCII letters,
+ in the order that those attributes are listed in the element's attributes list,
+ add a name-value pair to list whose
name is the attribute's name with the first five characters removed and whose value is the
attribute's value.The form
element represents a
+
The form
element represents a
collection of form-associated
elements, some of which can represent editable values that
can be submitted to a server for processing.
The supported property names consist of the values
of all the id
and name
attributes of all the listed elements and img
elements that are descendants of the form
element, and
- all the names currently in the past names map.
id
attributes preceding name
attributes
+ preceding entries from the past names map, with multiple entries in the past
+ names map for the same element being ordered chronologically by when they were added to the
+ map, and in all cases ignoring later duplicates.
When a form
element is indexed for named property
retrieval, the user agent must run the following steps:
The Window
interface supports named
- properties. The supported property names at any moment consist of:
The DOM APIs — specifically, all the interfaces defind in the DOM specification other than exceptions — must not be exposed if the JavaScript - global environment is a worker environment. [DOMCORE]
+ global environment is a worker environment. [DOM]Storage
interfaceinterface Storage { readonly attribute unsigned long length; DOMString? key(unsigned long index); @@ -83148,7 +83163,8 @@11.2.1 The
The supported property names on a
Storage
object are the keys of each key/value pair - currently present in the list associated with the object. + currently present in the list associated with the object, in the order that the keys were last + added to the storage area.The
getItem(key)
method must return the current value associated with diff --git a/index b/index index 446261d6511..d8b99d46e87 100644 --- a/index +++ b/index @@ -248,7 +248,7 @@HTML
-Living Standard — Last Updated 12 February 2013
+Living Standard — Last Updated 13 February 2013
- Web developer edition:
- http://developers.whatwg.org/
- Multiple-page version:
@@ -3571,6 +3571,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute dThe insert, append, remove, and replace algorithms for nodes The nodes are inserted and nodes are removed concepts +The attribute list concept. Event
interface@@ -7581,7 +7582,9 @@ interface RadioNodeList : NodeList EventTarget
interfaceHTMLCollection
objects.The supported property names consist of the values of all the
+ elements represented by the collection, in tree order, ignoring later + duplicates, with theid
andname
attributes of all the - elements represented by the collection.id
of an element preceding itsname
if it has both, they differ from each other, and neither is the + duplicate of an earlier entry.The
@@ -7710,7 +7713,9 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..namedItem(name)
method must act according to the following algorithm:optgroup
elements (though it can remove children from them).The supported property names consist of the values of all the
+ elements represented by the collection, in tree order, ignoring later + duplicates, with theid
andname
attributes of all the - elements represented by the collection.id
of an element preceding itsname
if it has both, they differ from each other, and neither is + the duplicate of an earlier entry.The
namedItem(name)
method must return the first node in the collection that has either anid
attribute or aname
attribute equal to name, if there is one; @@ -7841,7 +7846,8 @@ interface PropertyNodeList : NoHTMLCollection
objects.The supported property names consist of the property names of all the - elements represented by the collection.
+ elements represented by the collection, in tree order, ignoring later + duplicates.The
names
attribute must return a live read only array object giving @@ -7887,7 +7893,7 @@ interface PropertyNodeList : NoThe supported property names on a
+ that instant, in the order returned.DOMStringMap
object at any instant are the names of each pair returned from the algorithm for getting the list of name-value pairs at - that instant.To determine the value of a named property name in a
DOMStringMap
, the user agent must return the value component of the name-value pair whose name component is name in the list returned by @@ -7956,7 +7962,7 @@ interface PropertyNodeList : NoThe supported property names on a
+ mappings at that instant, in the order returned.DOMElementMap
object at any instant are the names for each mapping returned from the algorithm for getting the list of name-element - mappings at that instant.To determine the value of a named property name in a
+ attributes andDOMElementMap
, the user agent must return the element component of the name-element mapping whose name component is name in the list @@ -8853,7 +8859,8 @@ partial /*sealed*/ interface Document { attributes, and the values of theid
content attributes of all theimg
elements in theDocument
that have bothname
content - attributes andid
content attributes.id
content attributes. The supported property + names must be in tree order, ignoring later duplicates.To determine the value of a named property name when the
@@ -10013,8 +10020,11 @@ background: transparent">blue</span>.</p>Document
object is indexed for property retrieval, the user agent must return the value obtained using the following steps:
data-
" and whose remaining characters (if any) do not include any
- uppercase ASCII letters, add a name-value pair to list whose
+ uppercase ASCII letters,
+ in the order that those attributes are listed in the element's attributes list,
+ add a name-value pair to list whose
name is the attribute's name with the first five characters removed and whose value is the
attribute's value.The form
element represents a
+
The form
element represents a
collection of form-associated
elements, some of which can represent editable values that
can be submitted to a server for processing.
The supported property names consist of the values
of all the id
and name
attributes of all the listed elements and img
elements that are descendants of the form
element, and
- all the names currently in the past names map.
id
attributes preceding name
attributes
+ preceding entries from the past names map, with multiple entries in the past
+ names map for the same element being ordered chronologically by when they were added to the
+ map, and in all cases ignoring later duplicates.
When a form
element is indexed for named property
retrieval, the user agent must run the following steps:
The Window
interface supports named
- properties. The supported property names at any moment consist of:
The DOM APIs — specifically, all the interfaces defind in the DOM specification other than exceptions — must not be exposed if the JavaScript - global environment is a worker environment. [DOMCORE]
+ global environment is a worker environment. [DOM]Storage
interface
+
interface Storage { readonly attribute unsigned long length; DOMString? key(unsigned long index); @@ -83148,7 +83163,8 @@ callback PortCollectionCallback = void (The supported property names on aStorage
object are the keys of each key/value pair - currently present in the list associated with the object. + currently present in the list associated with the object, in the order that the keys were last + added to the storage area.The
getItem(key)
method must return the current value associated with diff --git a/source b/source index 26250a61429..ac6e78da273 100644 --- a/source +++ b/source @@ -2393,6 +2393,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
Event
interfaceEventTarget
interfaceThe supported property names consist of the values of all the id
and name
attributes of all the
- elements represented by the collection.
id
of an element preceding its name
if it has both, they differ from each other, and neither is the
+ duplicate of an earlier entry.
The namedItem(name)
method must act according to the following algorithm:
The supported property names consist of the values of all the id
and name
attributes of all the
- elements represented by the collection.
id
of an element preceding its name
if it has both, they differ from each other, and neither is
+ the duplicate of an earlier entry.
The namedItem(name)
method must return the first node in the collection that has
@@ -7488,7 +7495,8 @@ interface PropertyNodeList : NodeList {
HTMLCollection
objects.
The supported property names consist of the property names of all the - elements represented by the collection.
+ elements represented by the collection, in tree order, ignoring later + duplicates.The names
attribute must
return a live read only array object giving
@@ -7537,7 +7545,7 @@ interface PropertyNodeList : NodeList {
The supported property names on a DOMStringMap
object at any instant
are the names of each pair returned from the algorithm for getting the list of name-value pairs at
- that instant.
To determine the value of a named property name in a DOMStringMap
, the user agent must return the value component
@@ -7612,7 +7620,7 @@ interface PropertyNodeList : NodeList {
The supported property names on a DOMElementMap
object at any instant
are the names for each mapping returned from the algorithm for getting the list of name-element
- mappings at that instant.
To determine the value of a named property name in a DOMElementMap
, the user agent must return the element
@@ -8679,7 +8687,8 @@ partial /*sealed*/ interface Document {
attributes, and the values of the id
content attributes of all the
img
elements in the Document
that have both name
content
- attributes and id
content attributes.
id
content attributes. The supported property
+ names must be in tree order, ignoring later duplicates.
To determine the value of a named property name when the The Document
object is indexed for property
@@ -9994,9 +10003,12 @@ background: transparent">blue</span>.</p>
data-
" and whose remaining characters (if any) do not include any
- uppercase ASCII letters, add a name-value pair to list whose
+ uppercase ASCII letters,
+ in the order that those attributes are listed in the element's attributes list,
+ add a name-value pair to list whose
name is the attribute's name with the first five characters removed and whose value is the
attribute's value.form
element represents a
collection of form-associated
elements, some of which can represent editable values that
@@ -51153,7 +51166,11 @@ interface HTMLFormElement : HTMLElement {
title="attr-fe-name">name attributes of all the listed elements and img
elements that are descendants of the form
element, and
- all the names currently in the past names map.id
attributes preceding name
attributes
+ preceding entries from the past names map, with multiple entries in the past
+ names map for the same element being ordered chronologically by when they were added to the
+ map, and in all cases ignoring later duplicates.
When a The The DOM APIs — specifically, all the interfaces defind in the DOM specification other
than exceptions — must not be exposed if the JavaScript
global environment is a worker environment. [DOMCORE] The supported property names on a
The form
element is indexed for named property
@@ -76236,7 +76253,8 @@ END:VCARD
Window
interface supports named
- properties. The supported property names at any moment consist of:
@@ -92644,7 +92662,7 @@ partial interface WorkerGlobalScope
Importing scripts and libraries
@@ -96292,6 +96310,7 @@ callback PortCollectionCallback = void (MessagePort port
The
+
Storage
interfaceinterface Storage {
readonly attribute unsigned long length;
DOMString? key(unsigned long index);
@@ -96345,7 +96364,8 @@ callback PortCollectionCallback = void (MessagePort port
Storage
object are the keys of each key/value pair
- currently present in the list associated with the object.getItem(key)
method must return