Files
rust_browser/tests/goldens/fixtures/264-overflow-auto-overflow.html
Zachary D. Rowitsch e3c9d0632a Implement CSS 2.1 overflow: scroll/auto with code review fixes (§11.1, §11.1.1)
Add Overflow::Scroll and Auto enum variants, extend clipping to all
non-visible overflow values, implement visual scroll indicators, and
fix positioned children clipping per CSS 2.1 §11.1.1. Code review
fixes include: DRY overflow parsing helper, rasterizer clip consistency,
scroll indicator corner overlap fix, abspos escape in overflow detection
(recovering 6 WPT tests), and additional golden/unit tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 11:31:47 -04:00

11 lines
393 B
HTML

<!DOCTYPE html>
<html>
<head><title>overflow: auto with overflowing content</title></head>
<body style="margin: 0;">
<!-- overflow: auto shows scrollbar only when content overflows -->
<div style="width: 200px; height: 100px; overflow: auto; background-color: #eee;">
<div style="width: 300px; height: 200px; background-color: #faa;">Overflowing content</div>
</div>
</body>
</html>