My read of the spec (see below) an testing in chromium, suggests that identifiers are not actually required (i.e. <div containertiming> works), nor do they need to be unique.
However, every unique container (node) creates its own unique Container Timing Record.
It seems equally viable to me to consider sharing Records based on the string identifier, rather than the unique node. (Thought I do like that all unnamed nodes always just create a new root).
My read of the spec (see below) an testing in chromium, suggests that identifiers are not actually required (i.e.
<div containertiming>works), nor do they need to be unique.However, every unique container (node) creates its own unique
Container Timing Record.It seems equally viable to me to consider sharing Records based on the string identifier, rather than the unique node. (Thought I do like that all unnamed nodes always just create a new root).
containertimingattribute will mark a node as a root, and add the node to a global map or roots.