Michael Ragazzon
|
40862ebb05
Add formatting context mode for LayoutDetails::BuildBox
|
4 anni fa |
Michael Ragazzon
|
c7cda708c5
Abstract and move some methods from table details to layout details
|
4 anni fa |
Michael Ragazzon
|
4771ced11d
LayoutDetails: Cleanup
|
5 anni fa |
Michael Ragazzon
|
3ffda21965
Replaced elements sizing: Try to preserve the aspect ratio when both width and height are auto, and min/max-sizing is applied.
|
5 anni fa |
Michael Ragazzon
|
8cacf8d8c2
Layout engine: Clean up some headers and functions.
|
5 anni fa |
Michael Ragazzon
|
59b7f050d5
LayoutEngine: Move the box generation out of the LayoutBlockBox and pass it in.
|
5 anni fa |
Michael Ragazzon
|
3d688b6d66
Extend Box API and clean up.
|
5 anni fa |
Michael Ragazzon
|
cf935e077a
Added intrinsic ratio for replaced elements. Replaced elements now follow the normal CSS sizing rules, that is, padding and borders are no longer subtracted from the width and height of the element by default.
|
5 anni fa |
Michael Ragazzon
|
d5615eda9d
Implement the 'box-sizing' property.
|
5 anni fa |
Michael Ragazzon
|
b5588b2b13
Layout engine: Clean-up.
|
5 anni fa |
Michael Ragazzon
|
674e9a533e
Try to fix build.
|
5 anni fa |
Michael Ragazzon
|
cde8835600
Layout engine (WIP): Move shrink-to-fit calculation into the box size generator. Fixes eg. shrink-to-fit in 'position: absolute'. Split the layout things to do with sizing into 'LayoutDetails'.
|
5 anni fa |