DescriptionMeasure how often Attr needs its associated Element
The new Attr in http://dom.spec.whatwg.org/#attr does not inherit from
Node and is not attached to an Element. To determine if this is Web
compatible, measure how often the associated Element is actually needed
in the Attr.value getter and setter.
The counters could be affected by Attr.nodeValue and the internal
Attr::childrenChanged(), so measure those too. On the assumption that
they will be very rarely hit compared to Attr.value, don't bother
discriminating whether or not Element was needed.
BUG=none
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|