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
387 B
HTML
11 lines
387 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head><title>overflow: auto without overflowing content</title></head>
|
|
<body style="margin: 0;">
|
|
<!-- overflow: auto with no overflow should NOT show scrollbar -->
|
|
<div style="width: 200px; height: 100px; overflow: auto; background-color: #eee;">
|
|
<div style="width: 50px; height: 30px; background-color: #afa;">Small content</div>
|
|
</div>
|
|
</body>
|
|
</html>
|