Implementation of pseudo class 'first-child'.