commit 656aec087dd6fde9ee092aa726e2f49ba65fa216
Author: yangfl <yangfl@users.noreply.github.com>
Date: Thu Nov 26 06:43:23 2026 +0800
debian: update to 0.10
commit 3f1d110f7b064d51103a59edcf9ab7c920ddc22f
Merge: 013d7f9 9bc84b8
Author: yangfl <yangfl@users.noreply.github.com>
Date: Thu Nov 26 06:38:56 2026 +0800
Merge tag 'v0.10'
commit 9bc84b8b8d15a4e50f18b327aa30955048b441c2
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Sun Jun 14 00:03:49 2026 +0300
Do not justify the last line of a block
commit d11d45ad3755c33d27624c290a038a2ae8ebf086
Author: Kleuter <kleuter@users.noreply.github.com>
Date: Tue Jun 9 15:09:57 2026 +0200
Rebuild the render tree in media_changed() so display changes take effect
document::media_changed() recomputes element styles (refresh_styles /
compute_styles) but does not rebuild the render tree. The render tree
(m_root_render) is created once in createFromString() from the display values
computed at that time. So an element that is display:none when the tree is built
and becomes display:block after a media change (a responsive breakpoint) never
gets a render item and stays invisible, even though its computed display is now
block. Whole responsive sections (e.g. Bootstrap navbars/heroes hidden on narrow
viewports and shown on wide ones) disappear after the viewport crosses the
breakpoint.
Rebuild the render tree (create_render_item + init) at the end of media_changed()
when the media actually changed. This runs only when update_media_lists() reports
a change, so it has no effect on ordinary re-renders.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
commit 02025a882ce1fcd7785fb24272d500ebd0973318
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Wed May 27 01:38:26 2026 +0300
Fix: crash in encoding detection with clang (#454)
commit e2629b9e5b84e2a269270430f64b7258998f8fe2
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Fri Jun 12 00:10:45 2026 +0300
Added test for issue 459
commit 98d32d678e9b08a44fc10090245a7254ee606bbc
Author: Kleuter <kleuter@users.noreply.github.com>
Date: Tue Jun 9 13:33:07 2026 +0200
Fix flex item with percentage max-width collapsing below its main size (#459)
A row-direction flex item is rendered to its resolved main size via
size_mode_exact_width. The flex algorithm has already clamped that main size by
the item's min/max-width, resolved against the flex container's width (see
flex_item_row_direction::direction_specific_init).
calculate_containing_block_context then re-applied the item's min/max-width while
rendering it at that exact main size. For a *percentage* max-width this resolves
against cb_context.width, which now equals the assigned main size instead of the
flex container width, so the item gets clamped too small. Because the item is
rendered more than once (flex_line::init, then align_stretch) the error compounds
and the item collapses to roughly its content width.
This is the common Bootstrap grid pattern
(.col-* { flex: 0 0 X%; max-width: X% }), which collapsed to the left instead of
filling the row.
Fix: skip the width clamp for row-direction flex items on the exact-width pass,
since the flex algorithm has already applied min/max-width against the container.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
commit 1ce745b02d8cbbb95974e88a97ed9625ff860666
Author: Unsung Yoo <yus1108@hotmail.com>
Date: Fri May 29 22:21:06 2026 +0900
Remove unused tstringview files in vcxproj
commit 3f2a588d222b2bac766aa987311c0a1ab8f02d69
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Tue May 26 00:41:53 2026 +0300
Remove unused tstringview files
commit a11afbf3c79409ae0fe64036f90e864fdcab1fa8
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Sun May 24 01:43:45 2026 +0300
Remove formatting_context::find_next_line_top
commit ddbf6ab363b1666d883b81c5ad3f959123eb9310
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Sun May 24 01:38:50 2026 +0300
Updated tests for PR457
commit 12b48964e695f529871ef9754eb0dc367737a43b
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Sat May 23 01:26:27 2026 +0300
Calculate min width during render
All render functions returns rendered_width structure with fields:
natural_width - The width required to render the element without
additional word wrapping.
min_width - The minimum width the element can be rendered
commit b653b95013bae47441a801bef5680f4ef506b8dc
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Mon May 11 23:02:46 2026 +0300
ignore floats with height:0
commit b90082c22d163de61456f7f1b22a141442e0c615
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Mon May 11 15:22:03 2026 +0300
updated .clang-format
commit 2d6377770ef1c56a2bd3b46028cdae548ed6b5b7
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Mon May 11 15:20:40 2026 +0300
checking cleared top is returned back
commit c3063490f9dfae5dd371322dc585ce2ddb663df1
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Wed Mar 25 00:21:56 2026 +0300
Use place_to_left for the inline context rendering
commit 56ca5c08fdbea2d93b6338b9861340dbfb6d32de
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Sun Jan 25 14:31:55 2026 +0300
Floating engine refactor
commit 8836bc1bc35ca0cfd71dc0386ef841d5cbc3bd5e
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Sat Jan 10 01:58:50 2026 +0300
Update GIT_TAG for litehtml-tests to the latest commit
commit fc3db05b3581779deea4cacc64878127c55b92c6
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Sat Jan 10 01:45:37 2026 +0300
Fix: incorect rendering of blocks with own formatting context
Blocks with own formating context: overflow: hidden/scroll, tables
If block is rounding with floats, it doesn't wrap correctly
Closes #440
commit b3a1512d95ca3667cc17aafbc6f7611e4e5c43c8
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Wed Jan 7 17:28:15 2026 +0300
Fix append_children_from_string function. Added support for replacing existing children.
commit 8ea651207cdc38398d2d8ef684b6aba3249001fd
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Wed Jan 7 17:11:13 2026 +0300
Refactor: remove dump, draw_measure and render_measure functions
commit 8c147c4d69966a5fbc93d28341d3de4304f17aea
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Wed Jan 7 02:00:04 2026 +0300
Update GIT_TAG for litehtml-tests
commit f651d68ee82f38af579c100d3051f1768c8397d3
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Wed Jan 7 01:50:40 2026 +0300
docs: add scrolling support for internal elements in usage documentation
commit 129b373bcccd68ae58e498ef55945d0bd447bdb8
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Tue Dec 23 00:55:44 2025 +0300
Fix: double call of get_child_by_point in some cases
commit 36f9905d913b6ead3c62310cd9e4f553fb7c2439
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Mon Dec 22 02:56:32 2025 +0300
Scrolling support for the fixed elements
commit ac9000ad7f14850425aec764877535ac455ff7d2
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Thu Dec 18 00:41:23 2025 +0300
Support for elements scrolling
Elements with "overflow: auto" or "overflow: scroll" can be scrolled
commit ea2ff36d8e51df04e1138175189f135d506bae09
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Tue Jun 10 01:46:11 2025 +0300
Add const qualifier to calc_document_size method
commit 37b6429123ea6b6f0e7cbceb07bb1dee9c3b0885
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Tue Jun 10 01:43:14 2025 +0300
refactor: simplify document size calculation by removing content size handling
document::width() and document::height() can be used in all cases to calculate the document size.
commit 3f4efa210fd7eec63e8047096b8a0a83ae896398
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Wed Dec 3 19:04:33 2025 +0300
Mark element::get_text as const
Issue #433
commit 78e1d09e4902fa44a13b555e328c645d6c409760
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Tue Nov 25 03:41:32 2025 +0300
Fix: incorrect hover position for vertically algned elements
Closes the issue #429
commit 91b12df37f5e0d7b2ae6e187e6559ff96b163b77
Author: Christian Clauss <cclauss@me.com>
Date: Tue Oct 7 20:58:04 2025 +0200
Fix typos discovered by codespell
commit d1a2e1fec363f341a2c4722b9c20b3ab05f20562
Author: Christian Clauss <cclauss@me.com>
Date: Tue Oct 7 20:43:12 2025 +0200
Upgrade GitHub Actions
Updated actions/checkout version from v2 to v5 and improved comments for clarity.
* https://github.com/actions/checkout/releases
commit c9a20df210f5de87c2a8da2492861707efbe97f8
Merge: 0fac15d 3f67f93
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Wed Sep 10 00:53:04 2025 +0300
Merge pull request #422 from DRKV333/FlexFix
Improve flex layout free space distribution
commit 0fac15d8a6f1b5ea0e9a5e9513f6b01e8b40440c
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Wed Sep 10 00:43:05 2025 +0300
Updated the reference to the tests repo
commit c8bfcdda4d2cf41fa2f5210ba55667346339b8f0
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Thu Sep 4 17:57:46 2025 +0000
Removed unused factor sum fields
commit e1f608b6d19c8de6911e9d1d3b3fa4aca70112d2
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Mon Sep 1 19:02:54 2025 +0000
Fixed more render vs content offset problems
commit b770f9c221a8ea8720c9d0142246964e81e2d4da
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Mon Sep 1 18:03:23 2025 +0000
Removed some unnecessary box sizing checks
commit b772cfe2565d1203195bc58ea79f73f2285fe4a6
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Sun Aug 31 18:54:48 2025 +0000
Fixed scaled shrink factor using outer base size instead of inner
commit b03d570c09b1ce47ef2f2e86ce0f66084781f101
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Sun Aug 31 14:53:52 2025 +0000
Exit early if all items are inflexible
commit c9f41b663b2bd3d2322d5b734c4b618069e87dd8
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Sat Aug 30 18:16:04 2025 +0000
Fixed max violations not freezing
commit d036931b9055f38d610845e558be70a02a7f62d9
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Fri Aug 29 21:12:53 2025 +0000
Changed space distribution algorithm to match to the spec
commit d936138a43206555f4b3020a86f92ab039b2054f
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Sat Aug 23 18:45:59 2025 +0000
Use hypothetical main size for collecting lines and choosing factor
commit 6f205417f14cc0c78c3414f9a1d80340e223a25c
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Wed Aug 20 17:42:45 2025 +0000
Fixed explicit flex-basis interpretation
commit 01be29a8488c99e89fd4277c58a4a61e9ea8cc98
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Wed Aug 13 23:09:54 2025 +0000
Fixed flex grow factor sum also counting frozen items
commit 6321389c08882c4679c06e3794a6dd8aa3715e39
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Wed Aug 6 17:02:52 2025 +0000
Removed unnecessary "after algorithm" space distribution
commit 3f67f936dc81711f4025e204e12447e2d1c055e0
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Thu Sep 4 17:57:46 2025 +0000
Removed unused factor sum fields
commit b8def98c728ef416e5d26119c0c55c41ce6b7e80
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Mon Sep 1 19:02:54 2025 +0000
Fixed more render vs content offset problems
commit 2abf47593fd008b081261df237172d2471b4a1a7
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Mon Sep 1 18:03:23 2025 +0000
Removed some unnecessary box sizing checks
commit 09caf8a0169b7e21d253f644cf39135404ca2364
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Sun Aug 31 18:54:48 2025 +0000
Fixed scaled shrink factor using outer base size instead of inner
commit ec4362de2410f13444db1e3d717643d0100545a7
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Sun Aug 31 14:53:52 2025 +0000
Exit early if all items are inflexible
commit 078bcb8ca2f8f813b851a2276a20ca0a7e9af766
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Sat Aug 30 18:16:04 2025 +0000
Fixed max violations not freezing
commit ef9fe7a0484cdcae64ea6fd9b61c062e671f7a88
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Fri Aug 29 21:12:53 2025 +0000
Changed space distribution algorithm to match to the spec
commit b51b5acab5668af9c6a1cbe71efb6745fad5446b
Author: Ollie <niu15076177821@hotmail.com>
Date: Sun Aug 24 00:44:10 2025 +0800
fix: the issue where :hover/:active are not triggered by on_mouse_leave and on_button_cancel
commit 792bfe351c8049ffe5c4855a45cb1c7928935b3e
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Sat Aug 23 18:45:59 2025 +0000
Use hypothetical main size for collecting lines and choosing factor
commit fffbe5604020b8e220a9bea987131c624f67023c
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Wed Aug 20 17:42:45 2025 +0000
Fixed explicit flex-basis interpretation
commit 85382c288f238e837e945f434587d1d0ca1f3657
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Wed Aug 13 23:09:54 2025 +0000
Fixed flex grow factor sum also counting frozen items
commit 2f11e963cabb2970ec583a931fc8ceac103d8f4a
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Wed Aug 6 17:02:52 2025 +0000
Removed unnecessary "after algorithm" space distribution
commit f61a6786b0775d22dfd97eb6b32c24275024f3dd
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Sun Aug 10 02:01:39 2025 +0300
Fixed tests after PR #415
commit 7d4cb5a20def9a5bbde2ae634e8b2377d5e08458
Merge: 09fd84d 416c34b
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Sun Aug 10 01:38:47 2025 +0300
Merge PR: Enable processing pixel lengths as float #415
commit 416c34b3c2f8ca7e9d7bd49bb4d922373ee123ec
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Tue Aug 5 18:13:28 2025 +0000
Round font sizes, image, text and background position before drawing them.
commit ab16b1c52e8df73843861e033da2c6c7aa42f738
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Tue Aug 5 09:25:30 2025 +0000
Improved cm/mm to pixel conversion precision
commit 4b5aaf25e90abf4667300d336644bed9b2ab5aac
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Tue Aug 5 09:24:00 2025 +0000
Implemented "snap as border width" rule
commit 09fd84d4ff66770433f08253a7badbf20530e800
Author: Cristian Adam <cristian.adam@gmail.com>
Date: Tue Jul 29 23:11:37 2025 +0200
Allow building with Clang using MSVC ABI
The official LLVM build of Clang is using the MSVC ABI, and
if you are using clang.exe and not clang-cl.exe you get the
GNU command line interface.
CMake would not set the MSVC variable, but the CMAKE_CXX_SIMULATE_ID
as "MSVC". Since clang.exe is targeting the MSVC ABI it needs
the build support the MSVC has.
commit 2fd778c5c3dbbd952a4cf7daec6e673b859c8f7f
Author: Kalman Vince <30904009+DRKV333@users.noreply.github.com>
Date: Mon Jul 21 19:19:19 2025 +0000
Made list marker width calculation simpler
commit 35ecd69d05e72b0148204a576db62c2148084193
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Thu Jun 26 01:23:36 2025 +0300
tests update for list markers and baseline fix
commit 6288fca97ffac0f9bb5c4ddfbb8dd41dcbb75a9f
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Thu Jun 26 01:21:07 2025 +0300
fix: incorrect position of the text of the list markers
commit e668a6e8a6cf60a8bf98f8b7f8156592d460d688
Author: Yuri Kobets <yuri.kobets@gmail.com>
Date: Thu Jun 26 01:19:31 2025 +0300
fix: incorrect baseline calculation
Among the 1 debian patch available in version 0.9-1 of the package, we noticed the following issues: