fune/testing/web-platform/tests/css/css-tables/table-cell-overflow-auto-ref.html
Xianzhu Wang 17d4827a89 Bug 1727381 [wpt PR 30158] - Prepare for drawing non-scrolling background in contents space, a=testonly
Automatic update from web-platform-tests
Prepare for drawing non-scrolling background in contents space

- Rename "ScrollingBackground" to "BackgroundInContentsSpace" where we
  can draw non-scrolling background in contents space.

- Refactor NGBoxFragmentPainter to reduce duplicated code in multiple
  fragment painters.

Bug: 1242241
Change-Id: Ieeccd5ac14742dc8c94e82d75d400b5581ec057a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3113227
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#915420}

--

wpt-commits: 3d1e4f96fd0e6b12e2370222943680546cb75b98
wpt-pr: 30158
2021-09-02 10:30:38 +00:00

12 lines
540 B
HTML

<!DOCTYPE html>
<div style="width: 100px; height: 100px; border: solid;">
<div style="max-width: 100px; height: 100px; background: green; overflow-x: scroll;">
<div style="width: 120px; height: 50px; background: hotpink;"></div>
</div>
</div>
<br>
<div style="width: 100px; height: 100px; border: solid;">
<div style="display: table-cell; max-width: 100px; height: 100px; background: green; overflow-x: scroll; vertical-align: middle;">
<div style="width: 120px; height: 50px; background: hotpink;"></div>
</div>
</div>