aboutsummaryrefslogtreecommitdiffstats
path: root/test/render/flex/-align-content-003.htm
diff options
context:
space:
mode:
authorYuri Kobets <yuri.kobets@gmail.com>2023-12-25 01:16:42 +0300
committerYuri Kobets <yuri.kobets@gmail.com>2023-12-25 01:16:42 +0300
commit85da5869cb5f7a297809ab9ef1557eb6319e24e6 (patch)
treee1d26e2523233d82bc08a26e573218f195d6c23f /test/render/flex/-align-content-003.htm
parent6922a8497dc8a8fceaff70a71cca487863d27354 (diff)
Added tests for Flexible Box Layout
All tests are copied from: http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/toc.htm Prefixes: "-" - test is using features that litehtml doesn't support yet "--" - all featured should be supported but test failed because of flex rendering implementation issues
Diffstat (limited to 'test/render/flex/-align-content-003.htm')
-rw-r--r--test/render/flex/-align-content-003.htm41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/render/flex/-align-content-003.htm b/test/render/flex/-align-content-003.htm
new file mode 100644
index 00000000..c18c287e
--- /dev/null
+++ b/test/render/flex/-align-content-003.htm
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/align-content-003.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
+<head>
+ <title>CSS Test: A multi-line flex container with the 'align-content' property set to 'flex-end'</title>
+ <link href="http://www.microsoft.com/" rel="author" title="Microsoft">
+ <link href="http://www.w3.org/TR/css-flexbox-1/#align-content-property" rel="help">
+ <link href="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/align-content-001-ref.htm" rel="match">
+ <meta content="" name="flags">
+ <meta content="This test checks that a multi-line flex container with 'align-content: flex-end' packs lines toward the end of the flex container." name="assert">
+ <style type="text/css">
+ #flexbox
+ {
+ background: linear-gradient(to bottom, green 0, green 50px, red 50px, red 100px);
+ align-content: flex-end;
+ display: flex;
+ flex-flow: wrap;
+ height: 100px;
+ width: 300px;
+ }
+ div div
+ {
+ background-color: green;
+ height: 26px;
+ width: 150px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is no red visible on the page.</p>
+ <div id="flexbox">
+ <div></div>
+ <div></div>
+ <div></div>
+ <div></div>
+ </div>
+
+
+</body>
+<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/align-content-003.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
+</html> \ No newline at end of file