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>
11 lines
393 B
HTML
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>
|