If child has a media attribute and its value does not match the environment, continue to the next child.