Pu Xingyu
debcd30b21
layout 2020: Implement justify-content in flexbox
...
Align the items along the main-axis per justify-content.
2023-05-10 19:06:52 +08:00
Martin Robinson
0c13fcb9f2
Rework CB management during stacking context tree construction
...
Manage containing blocks and WebRender SpaceAndClip during stacking
context tree constuction using the ContainingBlockInfo data structure.
This will allow us to reuse this data structure whenever we traverse the
fragment tree. In addition, StackingContextBuilder is no longer
necessary at all. This change also fixes some bugs where fixed position
fragments were not placed in the correct spatial node. Unfortunately,
these fixes are difficult to test because of #29659 .
2023-05-03 10:43:56 +02:00
Dirk Stolle
f2260e7c18
Fix some typos
...
Signed-off-by: Dirk Stolle <striezel-dev@web.de>
2022-12-17 03:22:34 +01:00
Manish Goregaokar
ba9448e682
flex 2020: Handle positioning flex item based on align-self
2020-07-20 20:16:23 -07:00
Manish Goregaokar
d1b92b68c7
flexbox 2020: Respect the stretchiness of align-self
2020-07-20 14:26:14 -07:00
Manish Goregaokar
63ac4d165c
flexbox 2020: Store align_items on FlexContext
2020-07-20 14:26:14 -07:00
Manish Goregaokar
6914c51195
Handle flex item box sizing and minmax for flexbox in 2020
2020-07-20 12:22:06 -07:00
Simon Sapin
22b60d8b82
Manage side effects when redoing layout for align-self: stretch
flex item
2020-06-23 10:26:24 +02:00
Simon Sapin
3e13b3be80
Flexbox: add align-self: stretch
2020-06-23 00:51:51 +02:00
Simon Sapin
01905923db
First pass at implementing the Flex Layout Algorithm
...
https://drafts.csswg.org/css-flexbox/#layout-algorithm
2020-06-23 00:41:27 +02:00
Anthony Ramine
235df94f2e
Compute content sizes lazily in layout 2020
2020-06-18 14:11:02 +02:00
Anthony Ramine
db80b8e3c1
Make IndependentFormattingContext an enum
2020-06-15 18:09:15 +02:00
Simon Sapin
dd0d6a2a6f
Split layout_2020/flexbox.rs
into modules
2020-06-10 08:43:51 +02:00