summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/reference/align-self-015-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/reference/align-self-015-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/reference/align-self-015-ref.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/reference/align-self-015-ref.html b/testing/web-platform/tests/css/css-flexbox/reference/align-self-015-ref.html
new file mode 100644
index 0000000000..415a36f42d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/reference/align-self-015-ref.html
@@ -0,0 +1,39 @@
+<!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 wrap">
+ <div class="item1 align-self-center">centeredWithMargins</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ <div class="item2 align-self-center">centeredWithAlignSelf</div>
+ </div>
+</body>
+</html>