Polygon tests for shape-outside