Implements CSS position: sticky across the full rendering pipeline: style parsing, layout constraint capture, and scroll-dependent offset resolution at display-list build time. Sticky elements participate in normal flow during layout; visual offset is computed per-frame based on scroll position and containing block bounds. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 lines
271 B
Plaintext
5 lines
271 B
Plaintext
DisplayList items=3
|
|
SolidRect rect=(0, 0, 800, 50) color=#add8e6
|
|
Text rect=(0, 110, 44.15859, 16) text="Content" color=#212529 font_size=16 font_family=system-ui
|
|
Text rect=(47.21292, 110, 33.221733, 16) text="below" color=#212529 font_size=16 font_family=system-ui
|