mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 21:28:04 +02:00
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
33 lines
892 B
HTML
33 lines
892 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Flexbox Test: gap - vertical with vertical LR writing mode</title>
|
|
<link rel="author" title="Adam Argyle" href="mailto:argyle@google.com">
|
|
<link rel="help" title="The 'gap' property" href="https://www.w3.org/TR/css-align-3/#gaps">
|
|
<link rel="match" href="gap-002-lr-ref.html">
|
|
<meta name="flags" content="">
|
|
<meta name="assert" content="The 'gap' property enables putting space exclusively between items">
|
|
<style>
|
|
body {
|
|
writing-mode: vertical-lr;
|
|
}
|
|
|
|
section {
|
|
background-color: green;
|
|
block-size: 200px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
section > div{
|
|
background-color: grey;
|
|
flex: 1 1 auto;
|
|
}
|
|
</style>
|
|
<body>
|
|
<p>Test passes if there is <strong>a green vertical line between boxes</strong>.</p>
|
|
<section>
|
|
<div></div>
|
|
<div></div>
|
|
<div></div>
|
|
</section>
|
|
</body>
|