From 64fffcb8f33aebef3febab5e01ce0e9f79ff58c4 Mon Sep 17 00:00:00 2001 From: Emil Sjolander Date: Wed, 14 Sep 2016 08:08:29 -0700 Subject: [PATCH] Remove flex section from readme as it now supports all web properties Summary: Update readme to reflect new support. Reviewed By: lucasr Differential Revision: D3856292 fbshipit-source-id: 012f3d1171330cc93c34de300153ff4bb1326819 --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 577594ee..505edbeb 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,6 @@ div, span { - All the flex elements are oriented from top to bottom, left to right and do not shrink. This is how things are laid out using the default CSS settings and what you'd expect. - Everything is `position: relative`. This makes `position: absolute` target the direct parent and not some parent which is either `relative` or `absolute`. If you want to position an element relative to something else, you should move it in the DOM instead of relying of CSS. It also makes `top, left, right, bottom` do something when not specifying `position: absolute`. - -### Flex -CSSLayout currently only supports a simplified flex model. CSSLayout does not support `flex-grow`, `flex-shrink`, or `flex-basis`. Instead CSSLayout only supports `flex` which takes a negative value for shrinking and a positive value for growing. Flex basis is defaulted to `0` when a non-zero `flex` value is provided and is otherwise set to `auto`. These limitations were made for sake of simplicity and we plan on supporting the full range of flex properties in the future. - ### Size units CSSLayout currently only supports pixel sizes. The reason being that we have not seen the need for any other units. We would like to support percentage units sometime in the future.