Commit Graph

85 Commits

Author SHA1 Message Date
Martín Lucas Golini
a4f4e033b7 Merge branch 'develop' into feature/uiwebview 2026-07-03 13:27:51 -03:00
Martín Lucas Golini
f3e5bee80a Fix body height invalidation issue killing performance. 2026-07-03 13:27:27 -03:00
Martín Lucas Golini
38448008ec Merge branch 'develop' into feature/uiwebview 2026-07-01 19:10:22 -03:00
Martín Lucas Golini
f6da5ef76e Fix warning on macOS due to posix_spawn_file_actions_addchdir_np usage (we must use posix_spawn_file_actions_addchdir).
Try to run tests with borderless windows to see if macOS windows are created with the right size.
2026-06-30 11:35:33 -03:00
Martín Lucas Golini
4b1e9b6574 Fix tests. 2026-06-13 00:29:03 -03:00
Martín Lucas Golini
5cba387497 UIWebView with its own UISceneNode support WIP. 2026-06-09 01:30:14 -03:00
Martín Lucas Golini
05e81c23de Communicate the reason for the layout invalidation, store and process the reasons, this is an initial setup, we will continue working on it. The new system will allow us to fine grain the invalidations to avoid re-layouting on each attribute change, this commit already does some of this but it's not fully fine-grained and needs more work. 2026-06-08 02:33:49 -03:00
Martín Lucas Golini
12413ea630 Temporary fix until we have proper layout invalidation. 2026-06-07 02:00:42 -03:00
Martín Lucas Golini
b75cab5939 Fix html element sizing. 2026-06-06 19:16:35 -03:00
Martín Lucas Golini
68904b9656 Fixed layouting performance issues in UIRichText (layout invalidation trashing issues). Everything is highly commented given that none of these changes are obvious and it's very easy to break it.
Added tests to verify possible regression. And added a simple benchmark with some metrics to inspect layouting invalidation issues.
2026-06-06 15:54:54 -03:00
Martín Lucas Golini
288950bf34 Image sizing fixes.
Added support for `:where` and `:is`.
2026-06-05 00:18:26 -03:00
Martín Lucas Golini
b72e2c5d0b More grid fixes and fixed a couple of crashes. 2026-06-03 02:07:37 -03:00
Martín Lucas Golini
f8f066c57a Fix infinite loop in flex layouter. 2026-06-02 19:42:50 -03:00
Martín Lucas Golini
2e14b4d0cb Span’s own RichText was using the parent match width while still inheriting text-align: center, so the text was rendered offset inside the correct span box. 2026-06-02 19:09:28 -03:00
Martín Lucas Golini
98837b9cbe Merge remote-tracking branch 'origin/develop' into feature/grid-layout 2026-06-01 16:55:25 -03:00
Martín Lucas Golini
4370a45728 CSS white-space-collapse Support in HTML compatibility layer. 2026-06-01 16:53:45 -03:00
Martín Lucas Golini
46b3fa44f0 Grid layout WIP. 2026-06-01 02:14:00 -03:00
Martín Lucas Golini
50334d4481 HTML input checkbox fixes. 2026-05-31 02:07:36 -03:00
Martín Lucas Golini
8be05aabdd Initial implementation to support rendering text nodes as anonymous flex items. This does not support wrapping yet. 2026-05-30 02:37:22 -03:00
Martín Lucas Golini
4cd645a411 More flex fixes. 2026-05-30 01:55:23 -03:00
Martín Lucas Golini
ddfd59e167 More flex improvements. 2026-05-29 21:20:56 -03:00
Martín Lucas Golini
cc0e516edc Nits 2026-05-29 18:17:39 -03:00
Martín Lucas Golini
453eaa03fc Several flex fixes. 2026-05-29 15:48:23 -03:00
Martín Lucas Golini
5305670f46 Fixes. 2026-05-29 03:04:27 -03:00
Martín Lucas Golini
20ef8854fc Flex support WIP. 2026-05-29 02:18:12 -03:00
Martín Lucas Golini
55e0fb9736 float and clear fixes 2026-05-26 21:57:32 -03:00
Martín Lucas Golini
85b706869e Float and text wrap fixes. 2026-05-25 02:42:55 -03:00
Martín Lucas Golini
b36ef2cf85 Fix background draw in atomic boxes.
Fix in selector parser.
2026-05-25 01:49:04 -03:00
Martín Lucas Golini
fa537eaaaa More WIP, several HTML fixes compatibility. 2026-05-24 15:29:00 -03:00
Martín Lucas Golini
c5e39f4c6d More fixes. 2026-05-24 13:43:29 -03:00
Martín Lucas Golini
aa9efcf13b Load CSS default HTML element styles from a CSS file with no specificity. This simplyfies how to setup the HTML defaults. Also set new defaults matching closer HTML spec. 2026-05-24 13:15:31 -03:00
Martín Lucas Golini
bb7682dd8f CSS float improvements. 2026-05-24 02:21:53 -03:00
Martín Lucas Golini
49971701ed float fixes. 2026-05-23 19:24:14 -03:00
Martín Lucas Golini
a90a003384 Update the Linux nightly. 2026-05-23 17:17:33 -03:00
Martín Lucas Golini
89028491ef Try fix macOS not passing tests due to incorrect Window sizing in macOS CI.
Add support to diff images in UIDiffView.
2026-05-23 14:17:48 -03:00
Martín Lucas Golini
15db9e90eb Body height miscalculation fix. 2026-05-23 00:25:27 -03:00
Martín Lucas Golini
428cd55c48 Fix bug in CSS id selectors not working properly because we were lower-casing them for no reason. 2026-05-22 01:11:39 -03:00
Martín Lucas Golini
0defa0ada3 Fix hex color string parsing.
UIMarkdownView now uses the HTMLFormatter::HTMLtoXML.
Removed formatting hack to force strict XML from HTML, now we should always use HTMLFormatter::HTMLtoXML.
2026-05-20 01:39:05 -03:00
Martín Lucas Golini
ea1a148b30 Fix a possible crash when loading fonts. 2026-05-19 02:04:48 -03:00
Martín Lucas Golini
8cfedc4590 Added alignment-baseline and vertical-align support in RichText and all its consumers. 2026-05-17 21:54:08 -03:00
Martín Lucas Golini
afe3df0650 Improve baseline aligment in inline-blocks.
Improved html architecture documentation.
2026-05-17 03:19:08 -03:00
Martín Lucas Golini
e223ed6d3c Initial support for HTML element tags: details and summary. 2026-05-16 22:23:31 -03:00
Martín Lucas Golini
702f995608 Add support for data attributes and CSS selectors using them. 2026-05-16 19:23:48 -03:00
Martín Lucas Golini
acc27edd8a Fix macOS tests (it was a driver bug ¬¬) 2026-05-16 14:18:46 -03:00
Martín Lucas Golini
a580b3b97b Try luck with the complexLayout2 test (macOS CI is failing with no reason). 2026-05-15 23:41:41 -03:00
Martín Lucas Golini
a6b9f39ac3 Several crashes fixes for HTML loading. 2026-05-15 18:59:51 -03:00
Martín Lucas Golini
852adaa2c5 CSS Block Semantics plan executed. 2026-05-15 02:42:05 -03:00
Martín Lucas Golini
359dc8f157 block and inline-block layouter fixes, added a plan for a definitive fix in block layouter. 2026-05-14 01:33:00 -03:00
Martín Lucas Golini
4b58b2f61b Fix line-height. 2026-05-13 12:53:40 -03:00
Martín Lucas Golini
7be0f28c31 Fix text collapsing in UITextSpan. 2026-05-13 11:54:30 -03:00