DescriptionHandle (numeric) indexed access of DOMStringMap.
As the set of supported property names over DOMStringMap reflects the
attributes of an Element prefixed with 'data-', these naturally also
include numeric indexes.
To allow such index values to be used over DOMStringMap, extend its
IDL definition with indexed accessors.
Also address an infelicity in comparing attribute names to property
names if the property name uses a "-" but isn't followed by an ASCII
uppercase letter (e.g. "a-1".)
Extended test coverage to check for these variations also.
R=tkent@chromium.org
BUG=171175
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161864
Patch Set 1 #Patch Set 2 : Better handling of 'a-<num>' property names #Patch Set 3 : Add tests for array index-like properties #
Messages
Total messages: 10 (0 generated)
|