The CSS selector `bar .foo:last-child` is surprising. It only ever applies to the last child of bar, iff it has the class foo.