summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/reference/align-baseline-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/reference/align-baseline-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/reference/align-baseline-ref.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/reference/align-baseline-ref.html b/testing/web-platform/tests/css/css-flexbox/reference/align-baseline-ref.html
new file mode 100644
index 0000000000..d1c579045e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/reference/align-baseline-ref.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<link href="../support/flexbox.css" rel="stylesheet">
+<style>
+body {
+ margin: 0;
+}
+</style>
+
+<body>
+<div class='flexbox column align-items-flex-start'>
+ <h1>This text</h1>
+ <p>should be left aligned.</p>
+</div>
+
+<div style='margin-left: auto; width: max-content;' class='flexbox column align-items-flex-start'>
+ <h1>This text</h1>
+ <p>should be right aligned.</p>
+</div>
+</body>
+
+</html>