Tests the fix in the previous commit 93715b963e. Sadly, the flipped variant of this test fails with the cairo renderer, so it is marked as -nocairo. All the other renderers pass it.
93715b963e