Primary eng (and PM) emails
Link to “Intent to Deprecate” thread
https://groups.google.com/a/chromium.org/d/msg/blink-dev/tW6Lr5nA1pY/BOedStgP2pEJ
Summary
Let Attr nodes not have any child nodes. It currently has child text nodes as a redundant representation of the attribute value.
Motivation
Usage information from UseCounter
Attr child node access, ~0.002% and falling:
Entry on chromestatus.com
https://www.chromestatus.com/features/5688366657961984
Compatibility Risk
After the removal, Blink will match Gecko in having no child nodes and throwing an exception if one attempts to add child nodes. The biggest risk is non-Gecko code paths that assume that the child nodes are there, for example using element.attributes[n].firstChild.data' instead of element.attributes[n].value. Such code would start throwing exceptions.
Usage dropped quickly on May 20, just as M43 was released. I've verified that the counter wasn't accidentally unreachable in M43, so maybe there's a large site that reacted to the deprecation message, or there was some internal use that hit the code path that was removed with M43.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.