mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 22:28:59 +02:00
Automatic update from web-platform-tests[PE] Fix fragment clip and paint offset under multicol vertical-rl scrolled The previous code in VisualOffsetFromPaintOffsetRoot() converting the result into scrolling contents space used ScrolledContentOffset which mismatched the new ScrollTranslation which also includes scroll origin. Now use ScrollTranslation instead. Also removed the wrong remedy about scroll origin in one of the callers. Bug: 887423 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I9a72ed6ddc066c5b4c9970037ed4c4287c5a2f0f Reviewed-on: https://chromium-review.googlesource.com/1239170 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#593572} -- wpt-commits: 68d63d516e6bc4b83934d71616b2aa82d8efe2af wpt-pr: 13157
16 lines
623 B
HTML
16 lines
623 B
HTML
<!DOCTYPE html>
|
|
<title>Multicol under vertical-rl scrolling container</title>
|
|
<p>Passes if there are two green squares</p>
|
|
<div id="scroller" style="width: 200px; height: 200px; overflow: scroll; border: 1px solid black">
|
|
<div style="width: 580px; height: 500px; position: relative">
|
|
<div style="position: absolute; right: 0">
|
|
<div style="width: 80px; height: 80px; background: green"></div>
|
|
<div style="height: 20px"></div>
|
|
<div style="width: 80px; height: 80px; background: green"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
// Scroll all the way to the right.
|
|
scroller.scrollLeft = 800;
|
|
</script>
|