gecko-dev/testing/web-platform/tests/css/css-flexbox/overflow-top-left.html
Stefan Zager 0e2ff509d9 Bug 1557425 [wpt PR 16903] - Correctly identify overflow direction inside flexbox., a=testonly
Automatic update from web-platform-tests
Correctly identify overflow direction inside flexbox.

BUG=961286
R=cbiesinger@chromium.org

Change-Id: I6c827744b69a5f2d36c0cc219fe8e490fe851f55
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618017
Commit-Queue: Stefan Zager <szager@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#661195}

--

wp5At-commits: 9f7c5d9b42a284ac5448891b10985b15444cc3a4
wpt-pr: 16903
2019-06-19 11:05:38 -07:00

59 lines
986 B
HTML

<!DOCTYPE html>
<head>
<title>cross-axis top and left overflow</title>
<link rel="author" title="Google, Inc." href="http://www.google.com/">
<link rel="match" href="overflow-top-left-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#cross-sizing">
</head>
<style>
.row-wrapper, .column-wrapper {
margin: 4px 0;
overflow: auto;
display: flex;
direction: rtl;
border: 2px solid black;
}
.column-wrapper {
width: 300px;
display: flex;
flex-direction: column;
}
.row-wrapper {
height: 300px;
flex-direction: column;
writing-mode: vertical-rl;
}
.column-wrapper > div {
margin: 4px;
height: 30px;
background: #CCC;
}
.h-overflow {
width: 500px;
}
.row-wrapper > div {
margin: 4px;
width: 30px;
background: #CCC;
}
.v-overflow {
height: 500px;
}
</style>
<div class=column-wrapper>
<div>one</div>
<div class=h-overflow>two</div>
</div>
<div class=row-wrapper>
<div>one</div>
<div class=v-overflow>two</div>
</div>