How did this work in chrome and not firefox? The `>` operator means direct-child. Does this new code work in both firefox and chrome?