This tests an element with CSS counter having a sibling with display: contents.
The test passes if WebKit doesn't crash or hit an assertion.