gap-002-ref.rml 785 B

123456789101112131415161718192021222324252627282930313233343536
  1. <rml>
  2. <head>
  3. <link type="text/rcss" href="/../Tests/Data/style.rcss"/>
  4. <title>CSS Flexbox Test: gap - vertical</title>
  5. <link href="https://test.csswg.org/suites/css-align-3_dev/nightly-unstable/xhtml1/reference/gap-002-ltr-ref.xht"
  6. rel="source"/>
  7. <link href="mailto:[email protected]" rel="author" title="Adam Argyle"/>
  8. <style>
  9. section {
  10. background-color: green;
  11. width: 200px;
  12. height: 400px;
  13. display: flex;
  14. flex-direction: column;
  15. }
  16. section > div {
  17. background-color: grey;
  18. flex: 1 1 auto;
  19. }
  20. section > div:not(:first-child) {
  21. margin-top: 20px;
  22. }
  23. </style>
  24. </head>
  25. <body>
  26. <p>Test passes if there is <strong>a green horizontal line between boxes</strong>.</p>
  27. <section>
  28. <div></div>
  29. <div></div>
  30. <div></div>
  31. </section>
  32. <hr/>
  33. </body>
  34. </rml>