Files
rust_browser/tests/goldens/expected/139-font-family-monospace.dl.txt
Zachary D. Rowitsch de0afa12a1 Fix 4 rendering bugs: HTML table parsing, background-position axes, deferred absolute layout, half-leading line-height
- HTML parser: Add implicit tag closing for table elements (td, th, tr, tbody, thead, tfoot) per HTML5 §12.2.6.4
- CSS background-position: Swap axes when Y-only keyword (top/bottom) appears first or X-only keyword (left/right) appears second
- Canvas background: Propagate background image ID from root/body layout box to canvas
- Absolute positioning: Defer layout of absolute children until containing block height is finalized, fixing bottom:0 in auto-height containers
- Inline line-height: Implement CSS half-leading model (CSS2 §10.8.1) so line box height uses CSS line-height, not font metrics
- Anonymous text boxes: Inherit line_height and vertical_align from parent styles
- Default vertical_align changed from Top to Baseline per CSS spec

WPT: +3 promoted (abspos-containing-block-005, abspos-width-004, background-color-animation-with-table2), -9 demoted

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 23:16:11 -05:00

14 lines
1.2 KiB
Plaintext

DisplayList items=12
Text rect=(8, 25.6, 28.193832, 16) text="Code" color=#000000 font_size=16 font_family=monospace
Text rect=(43.24229, 25.6, 21.145374, 16) text="via" color=#000000 font_size=16 font_family=monospace
Text rect=(71.43613, 25.6, 28.193832, 16) text="code" color=#000000 font_size=16 font_family=monospace
Text rect=(106.67842, 25.6, 21.145374, 16) text="tag" color=#000000 font_size=16 font_family=monospace
Text rect=(8, 60.800003, 84.5815, 16) text="Preformatted" color=#000000 font_size=16 font_family=monospace
Text rect=(99.62996, 60.800003, 28.193832, 16) text="text" color=#000000 font_size=16 font_family=monospace
Text rect=(8, 96, 63.436123, 16) text="Monospace" color=#000000 font_size=16 font_family=monospace
Text rect=(78.48459, 96, 21.145374, 16) text="via" color=#000000 font_size=16 font_family=monospace
Text rect=(106.67842, 96, 21.145374, 16) text="CSS" color=#000000 font_size=16 font_family=monospace
Text rect=(8, 131.20001, 40.36417, 16) text="Default" color=#000000 font_size=16
Text rect=(51.418503, 131.20001, 53.06314, 16) text="sans-serif" color=#000000 font_size=16
Text rect=(107.53597, 131.20001, 21.321585, 16) text="text" color=#000000 font_size=16