fune/testing/web-platform/tests/css/css-flexbox/reference/auto-margins-003-ref.html
Abhijeet Kandalkar e24fa5aa4d Bug 1626568 [wpt PR 22601] - fixup! [css-flexbox] Move columns-center-with-margins.html to WPT, a=testonly
Automatic update from web-platform-tests
fixup! [css-flexbox] Move columns-center-with-margins.html to WPT

This CL is a fixup for https://crrev.com/c/2121938 and has two goals,
1. Rename columns-center-with-margins-001.html to auto-margins-003.html
2. Use CSS draft spec url in <link>.

Bug: 1063749
Change-Id: Idc3429f7f7fc488f67688acfddf7b678001c6dc9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2131551
Reviewed-by: Manuel Rego <rego@igalia.com>
Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com>
Cr-Commit-Position: refs/heads/master@{#755309}

--

wpt-commits: 0a7132052b56cf4f20892579306d6b9eb4694a09
wpt-pr: 22601


--HG--
rename : testing/web-platform/tests/css/css-flexbox/reference/columns-center-with-margins-001-ref.html => testing/web-platform/tests/css/css-flexbox/reference/auto-margins-003-ref.html
2020-04-06 12:43:49 +00:00

32 lines
811 B
HTML

<!DOCTYPE html>
<html>
<head>
<link href="../support/flexbox.css" rel="stylesheet">
<style>
.flexbox {
border: 1px solid black;
width: 400px;
height: 200px;
}
.item1 {
background: lightblue;
}
.item2 {
background: lime;
}
</style>
</head>
<body>
<p>The test passes if the flex items are properly centered in each column</p>
<div class="flexbox column">
<div class="item1 align-self-center">centeredWithMargins</div>
<div class="item2 align-self-center">centeredWithAlignSelf</div>
</div>
<div style="writing-mode: vertical-lr;">
<div class="flexbox column">
<div class="item1 align-self-center">centeredWithMargins</div>
<div class="item2 align-self-center">centeredWithAlignSelf</div>
</div>
</div>
</body>
</html>