Splitting from #5841.
The shape() function in CSS Shapes Level 2 is specified with the from position being a coordinate-pair, but this doesn't allow for keywords like top left.
Similarly, you can't use <position> arguments as the to point or control points on the various commands. Maybe we could allow if it's an absolute (to) point. This would enable very natural shapes like shape(from center top, line to right center, line to center bottom, line to left center, close).