In Ronaldo's absence Portugal became the first team to secure a place in the quarter-finals, with two group games still to play.