Support flexbox shorthand properties

Support the `flex` and `flex-flow` shorthand properties in
servo. Currently they are marked as experimental, so they are added to
'__dir__.ini'.

Thanks SimonSapin and jdm for help :)
This commit is contained in:
Pu Xingyu 2016-06-16 15:23:31 +08:00
parent 461d7c4eeb
commit 7badba01ea
4 changed files with 110 additions and 0 deletions

View file

@ -1,4 +1,5 @@
prefs: ["layout.flex.enabled:true",
"layout.flex-flow.enabled:true",
"layout.flex-direction.enabled:true",
"layout.flex-wrap.enabled:true",
"layout.flex-grow.enabled:true",