Two bugs in table layout: 1. measure_table_intrinsic_width() only measured text/child content, ignoring explicit CSS width properties on cells. Cells with width: 12px but empty content measured as 0px, making auto-width tables too narrow. Fixed by applying Length width hints inline during the single-column measurement pass. 2. Empty tables (no rows) ignored specified_height in their early-return path, always setting height to 0. Fixed by calling calculate_block_height() in both separate and collapsed border model paths to resolve explicit CSS heights. Promotes 3 WPT tests from known_fail to pass. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2.3 KiB
2.3 KiB