Implementat `min-width` and `max-width` for block flow.

For #783, only for block flow.
I'll do the things for other flows as well.

r? @simonsapin, @metajack