gecko-dev/testing/web-platform/tests/css/css-flexbox/gap-003-rl.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

37 lines
1 KiB
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">
<link rel="help" href="https://www.w3.org/TR/css-grid-1/#gutters">
<link rel="help" href="https://www.w3.org/TR/css-align-3/#column-row-gap">
<link rel="help" href="https://www.w3.org/TR/css-align-3/#gap-legacy">
<link rel="match" href="gap-003-rl-ref.html">
<meta name="flags" content="">
<meta name="assert" content="The 'gap' property enables putting space exclusively between items">
<style>
body {
writing-mode: vertical-rl;
}
section {
background-color: green;
block-size: 100px;
display: flex;
gap: 20px;
flex-wrap: wrap;
flex-direction: column;
}
section > div{
background-color: grey;
width: calc(50% - 10px);
}
</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>