Test for #11267 adapted from 6.8. 

The problem is not present in 7, but you need to use a slightly different css to acieve the same result.

Change-Id: Iee6907a15fd9b0674dcb490f9110fc762c56deb6
Ticket: 11267