Also remove the unused StyleValue::to_rect() because an EdgeRect is only ever held by a RectStyleValue.