fune/testing/web-platform/tests/css/css-flexbox/gap-003-rl-ref.html
Adam Argyle 40ebe95469 Bug 1598797 [wpt PR 20414] - Adds flex gap tests, a=testonly
Automatic update from web-platform-tests
Adds flex gap tests (#20414)

* horizontal test stubbed

* vertical test stubbed

* adding basic horizontal gap test

* adding basic vertical flex gap test

* adding flex wrap gap test on extrinsic children

* adding horizontal flex gap test on intrinsic children

* adding vertical flex gap test on intrinsic children

* cruft removal

* adding horizontal flex gap test on wrapping intrinsic children

* adding vertical flex gap test on wrapping intrinsic children

* started writing mode gap tests

* page title fixes and switched to logical sizing

* flex vertical stack writing mode tests and refs done

* renamed file to be more succinct

* rtl tests for flex stacks

* removed gaps from ref impls

* title updates

* renamed files to scale better with the test matrix

* rows and columns writing mode tests are good

* intrinsic columns writing mode tests are good

* intrinsic rows writing mode tests are good

* wrap intrinsic writing mode tests are good

* wrap intrinsic columns writing mode tests are good

* test for separative row and column gap sizes

* update match meta to latest ref test title

* mixed units gaps, percentage and rem

* calc flex gap examples

* cruft fix

* fix human assertion text

* pacify linter

* fixes colors, updates copy

--

wpt-commits: 8037fe7f0d98f045bc813f3e21f228a2821dca5e
wpt-pr: 20414
2020-02-18 19:29:49 +00:00

39 lines
839 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test: gap - rl rows and columns</title>
<link rel="author" title="Adam Argyle" href="mailto:argyle@google.com">
<style>
body {
writing-mode: vertical-rl;
}
section {
background-color: green;
block-size: 100px;
display: flex;
flex-wrap: wrap;
flex-direction: column;
}
section > div{
background-color: grey;
}
section > div {
width: calc(50% - 10px);
}
section > div:nth-child(1),
section > div:nth-child(3) {
margin-block-end: 20px;
}
section > div:nth-child(3),
section > div:nth-child(4) {
margin-inline-start: 20px;
}
</style>
<body>
<p>Test passes if there are <strong> green lines between boxes</strong>.</p>
<section>
<div></div>
<div></div>
<div></div>
<div></div>
</section>
</body>