@property rule
…
Registered, --index computes to a number on
.second-item, and that computed 2 inherits to
the child.
Unregistered, the child inherits the unresolved token
sibling-index(), which resolves against the
child's position instead, giving 1.
--index on .second-item:
--index on the child:
scale on the child: