gecko-dev/testing/web-platform/tests/css/css-writing-modes/reference/scrollbar-vertical-rl-ref.html
Aleks Totic 00b9e6b5f8 Bug 1471810 [wpt PR 11703] - [LayoutNG] bugfix for NG painting in vertical-rl with scrollbars., a=testonly
Automatic update from web-platform-tests[LayoutNG] bugfix for NG painting in vertical-rl with scrollbars.

This bug occurs when painting NG child inside non-inline vertical-rl parent
with scrollbars.

Root cause is extra scrollbar offset that Paint applies to Legacy painting that
is not needed for NG.

The fix is hacky: NG applies reverse offset.

This fix does not make any additional tests pass or fail.

Bug: 852395
Cq-Include-Trybots: luci.chromium.try :linux_layout_tests_layout_ng
Change-Id: I7dda2cdbf682485ab30c048987ae683981731886
Reviewed-on: https://chromium-review.googlesource.com/1115863
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#571080}

--

wpt-commits: e7aa3025a97a793b4fe5776dcf616f6e845d1ce0
wpt-pr: 11703
MozReview-Commit-ID: JlUogtQDeVU
2018-07-11 08:01:18 +01:00

21 lines
491 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Writing Modes Test: vertical-rl painting with vertical scrollbar reference</title>
<link rel="author" title="Aleks Totic" href="atotic@chromium.org" />
<style>
#container {
width: 300px;
height: 200px;
border: 1px solid black;
writing-mode: vertical-rl;
overflow: scroll;
background: blue;
}
#target {
width:500px;
}
</style>
<div id="container">
<div id="target"><br></div>
</div>