mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
Compute inline-block baselines by traversing into nested block children to find the last in-flow line box, using correct offsets relative to the margin box edge. Also ensure inline-flex and inline-grid containers always derive their baseline from content (per CSS Align), and add special handling for <input> elements which have `overflow: clip` in the UA stylesheet but should still align adjacent text with their internal content.
4 lines
164 B
HTML
4 lines
164 B
HTML
<!DOCTYPE html>
|
|
<input/><span>boo</span><textarea></textarea><span>boo</span><input placeholder="hello"/>
|
|
<span>boo</span><textarea placeholder="hello"></textarea>
|