Skip to content

Flex layout #285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 41 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
6d065ea
flex layout - the first implementation
tordex Nov 5, 2023
c5335d5
flex layout: support for flex-direction: row
tordex Nov 6, 2023
dbe19cc
flex layout: remake disrtibute free space algorithm
tordex Nov 6, 2023
7117be9
flex layout: small refactoring
tordex Nov 6, 2023
33b8699
flex layout: support for flex-direction: column
tordex Dec 17, 2023
3331260
flex layout: distribute free cross size to lines
tordex Dec 18, 2023
efe03ce
Some fixes
tordex Dec 19, 2023
9543455
tests: support for subfolders in rendering test
tordex Dec 20, 2023
90b3dff
added support for start, end values for align_items css property
tordex Dec 20, 2023
709855c
fix test container base path
tordex Dec 21, 2023
d764b9f
added support row-reverse and column-reverse for flex-direction
tordex Dec 21, 2023
86f2634
added support for flex-wrap: wrap-reverse
tordex Dec 21, 2023
4b633c6
container_linux: don't draw background image with zero size
tordex Dec 21, 2023
5eaf3af
flex: added support for the justify-content property
tordex Dec 22, 2023
bf94093
flex: added order property support
tordex Dec 23, 2023
ce7d5a1
flex: added support for align-content property
tordex Dec 23, 2023
6922a84
flex: fixed rendering issues
tordex Dec 24, 2023
85da586
Added tests for Flexible Box Layout
tordex Dec 24, 2023
e1bbe63
fixed rendering block with negative top/bottom margins
tordex Dec 25, 2023
33407c6
flex test: some tests were fixed
tordex Dec 25, 2023
76ffcfa
flex: more flex tests passed
tordex Dec 27, 2023
23a8523
Scale borders radius to prevent corner overlap
tordex Dec 28, 2023
a230188
flex: fixes in rendering of the justify-content css property
tordex Dec 29, 2023
3bfe3f2
flex: Distribute remaining after algorithm space
tordex Dec 29, 2023
96c79a0
flex: fixed parsing of the flex shorthand
tordex Dec 29, 2023
691965b
flex: fix auto-shrink tests
tordex Jan 4, 2024
88e255c
flex: support for items max-width/max-height and auto-margins
tordex Jan 6, 2024
531eddc
flex: some passed tests added
tordex Jan 6, 2024
2289e1b
flex: "flex-basis: 0" is valid value
tordex Jan 6, 2024
d5354e6
flex: fixed the height calc in size_mode_content mode
tordex Jan 6, 2024
ca4eed0
flex: added validation for flex-grow and flex-shrink (must be positiv…
tordex Jan 6, 2024
d06f95b
flex: Added support for flex-grow/flex-shring with values less then 1
tordex Jan 6, 2024
3e03b6c
flex: apply max-height to the flex container
tordex Jan 7, 2024
f5cdc4f
flex: support for 'align-self: inherit'
tordex Jan 7, 2024
b6e60a6
flex: added support for align-items: baseline
tordex Jan 8, 2024
6ad0c53
fixed rendering of <br> tag with the 'clear' property
tordex Jan 9, 2024
7f77236
flex: support for auto-margins in the cross direction
tordex Jan 11, 2024
f195ffb
flex: refactoring flexbox redering
tordex Jan 15, 2024
ef70eef
flexbox rendering fixes
tordex Jan 27, 2024
cca0547
flexbox: some tests are resolved
tordex Jan 30, 2024
d85ebec
Merge branch 'master' into flex_layout
tordex Jan 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ set(SOURCE_LITEHTML
src/render_flex.cpp
src/render_image.cpp
src/formatting_context.cpp
)
src/flex_item.cpp
src/flex_line.cpp)

set(HEADER_LITEHTML
include/litehtml.h
Expand Down Expand Up @@ -138,6 +139,8 @@ set(HEADER_LITEHTML
include/litehtml/master_css.h
include/litehtml/string_id.h
include/litehtml/formatting_context.h
include/litehtml/flex_item.h
include/litehtml/flex_line.h
)

set(TEST_LITEHTML
Expand Down
Loading