[usecase-webapi] Improve w3c usecase FlexibleBox