Michael Ragazzon
|
dcfbde799e
Add cache for fit-content height
|
5 months ago |
Michael Ragazzon
|
8cfa55c030
Revert "Skip formatting when possible after FormatFitContentWidth"
|
5 months ago |
Michael Ragazzon
|
909a809a18
Add tracy zones for flex item formatting steps
|
5 months ago |
Michael Ragazzon
|
74d7d180c2
Skip formatting when possible after FormatFitContentWidth
|
5 months ago |
Michael Ragazzon
|
89fe7a2c8d
Rename BuildBoxModes, make caller specify that fit-content should be applied
|
5 months ago |
Michael Ragazzon
|
f8cdb102d2
Move shrink-to-fit calculations into formatting context
|
5 months ago |
Michael Ragazzon
|
f02f3dc8ce
Move ShrinkToFit calculation into FormatIndependent, call into each formatting context as needed
|
5 months ago |
Michael Ragazzon
|
e5492585db
Move build box outside of individual formatting contexts
|
5 months ago |
Michael Ragazzon
|
796647ce70
Avoid formatting flexboxes multiple times under shrink-to-fit width
|
6 months ago |
Michael Ragazzon
|
ef533f61d6
Consistently define indefinite size as -1 throughout the layout engine
|
6 months ago |
Michael Ragazzon
|
bb1d099bc8
Update profiling zones for build box and flexbox formatting [pre-commit]
|
6 months ago |
Michael Ragazzon
|
e855e74f47
Introduce formatting mode, allow disabling the layout cache
|
6 months ago |
Michael Ragazzon
|
015057095a
Layout refactor: Get containing block size from container box
|
6 months ago |
Michael Ragazzon
|
679aab8abc
Fix flex formatting test and minor include/comment fixups
|
10 months ago |
Michael Ragazzon
|
9363a12712
Skip rounding in flexbox layout, allow fractional sizes of flex items
|
10 months ago |
Michael Ragazzon
|
b6113b3acd
Flexbox: Apply automatic minimum size of flex items in column mode with auto size, see #658
|
1 year ago |
Michael Ragazzon
|
e9451c9cba
Flexbox: Skip calculating hypothetical cross when not needed, see #658
|
1 year ago |
Michael Ragazzon
|
270efa1d01
Flex formatting: Avoid negative flex item size in some situations when edge size is fractional, fixes #657
|
1 year ago |
Michael Ragazzon
|
9d36a83dbb
Flexbox layout: Fix hypothetical width of replaced elements in column direction layout, see #666
|
1 year ago |
Michael Ragazzon
|
17df9208ec
Flexbox: Consider intrinsic sizes when determining flex base size, fixes #640
|
1 year ago |
ChrisFloofyKitsune
|
b5bf23ddde
Implement `gap` property for flexbox (#621)
|
1 year ago |
Matthew Schäfer
|
6b569506de
Add `space-evenly` property value to flexbox layout (#585)
|
1 year ago |
Alexandr Lurye
|
5961ff5c42
Compute shrink-to-fit width for flex blocks (#559)
|
1 year ago |
Michael Ragazzon
|
eb1d6ee616
Add flexbox chat benchmark (see #498)
|
2 years ago |
Michael Ragazzon
|
313cbab657
Be consistent about using non-namespaced versions of standard integer types, see #470
|
2 years ago |
Michael Ragazzon
|
ce949d2d5b
Refactor Property units and Box enums, and introduce NumericValue [breaking change]
|
2 years ago |
Michael Ragazzon
|
a9657acee7
Math cleanup, rename and remove some functions
|
2 years ago |
Michael Ragazzon
|
7492876298
The great formattening - format all library source code and documents
|
2 years ago |
Michael Ragazzon
|
dff3104c53
Support for new display values: flow-root, inline-flex, inline-table
|
2 years ago |
Michael Ragazzon
|
4742dda07d
Improve and refactor layout engine, better conformance to CSS specification
|
3 years ago |