This content should be
small-caps
because its span is a child of the parent division, while for
this text
there should not be any small-caps display because its span is a descendant, not a child.