summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/align-baseline.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/align-baseline.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/align-baseline.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/align-baseline.html b/testing/web-platform/tests/css/css-flexbox/align-baseline.html
new file mode 100644
index 0000000000..31bcca6977
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/align-baseline.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<link href="support/flexbox.css" rel="stylesheet">
+<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#valdef-align-items-baseline">
+<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column">
+<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#valdef-flex-wrap-wrap-reverse">
+<link rel="match" href="reference/align-baseline-ref.html">
+<style>
+body {
+ margin: 0;
+}
+</style>
+
+<body>
+<div class='flexbox column align-items-baseline'>
+ <h1>This text</h1>
+ <p>should be left aligned.</p>
+</div>
+
+<div class='flexbox column align-items-baseline wrap-reverse'>
+ <h1>This text</h1>
+ <p>should be right aligned.</p>
+</div>
+</body>
+
+</html>