servo/components/layout_2020/flow
Patrick Walton cdec48328e Place floats in layout 2020, but don't flow text around the floats yet.
This commit puts floats behind the `layout.floats.enabled` pref, because of the
following issues and unimplemented features:

* Inline formatting contexts don't take floats into account, so text doesn't
  flow around the floats yet.

* Non-floated block formatting contexts don't take floats into account, so BFCs
  can overlap floats.

* Block formatting contexts that contain floats don't expand vertically to
  contain all the floats. That is, floats can stick out the bottom of BFCs,
  contra spec.
2023-06-03 06:09:21 +02:00
..
construct.rs layout_2020: Check blocks for whether they will establish a formatting context 2023-05-31 23:28:28 +08:00
float.rs Place floats in layout 2020, but don't flow text around the floats yet. 2023-06-03 06:09:21 +02:00
inline.rs Place floats in layout 2020, but don't flow text around the floats yet. 2023-06-03 06:09:21 +02:00
mod.rs Place floats in layout 2020, but don't flow text around the floats yet. 2023-06-03 06:09:21 +02:00
root.rs Place floats in layout 2020, but don't flow text around the floats yet. 2023-06-03 06:09:21 +02:00