Implement CSS box-sizing for HTML layout sizing

Add CSS box-sizing support for HTML widgets and route CSS-specified
width/height conversion through virtual sizing hooks. Resolve percentage
CSS sizes against the containing block content box, and apply content-box
or border-box conversion consistently across block, flex, grid, table,
and rich text layout paths.

Keep table wrapper width behavior compatible with CSS table layout by
overriding the table width conversion separately, so padded percentage
tables do not overflow their assigned wrapper width.

Add focused regressions for block padding, flex-basis sizing, grid
containers, table containers, and the border rendering cases that depend
on explicit border-box sizing.
This commit is contained in:
Martín Lucas Golini
2026-07-06 00:32:17 -03:00
parent 2c59d9b4e2
commit e984c87105
17 changed files with 443 additions and 29 deletions

View File

@@ -377,7 +377,7 @@
"working_dir": "${project_root}/bin"
},
{
"args": "-c system --hn-dark",
"args": "--hn-dark",
"command": "${project_root}/bin/eepp-ui-html-debug",
"name": "eepp-ui-html-debug",
"working_dir": "${project_root}/bin"