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: scroll</title></head>
|
|
<body style="margin: 0;">
|
|
<!-- overflow: scroll always shows scrollbar, even without overflowing content -->
|
|
<div style="width: 200px; height: 100px; overflow: scroll; background-color: #eee;">
|
|
<div style="width: 300px; height: 200px; background-color: #aaf;">Overflowing content</div>
|
|
</div>
|
|
</body>
|
|
</html>
|