Michael Ragazzon
|
4771ced11d
LayoutDetails: Cleanup
|
5 anos atrás |
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 anos atrás |
Michael Ragazzon
|
8cacf8d8c2
Layout engine: Clean up some headers and functions.
|
5 anos atrás |
Michael Ragazzon
|
59b7f050d5
LayoutEngine: Move the box generation out of the LayoutBlockBox and pass it in.
|
5 anos atrás |
Michael Ragazzon
|
3d688b6d66
Extend Box API and clean up.
|
5 anos atrás |
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 anos atrás |
Michael Ragazzon
|
d5615eda9d
Implement the 'box-sizing' property.
|
5 anos atrás |
Michael Ragazzon
|
b5588b2b13
Layout engine: Clean-up.
|
5 anos atrás |
Michael Ragazzon
|
674e9a533e
Try to fix build.
|
5 anos atrás |
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 anos atrás |