flexbox-invalidation-1-ref.html 721 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <!DOCTYPE html>
  2. <!--
  3. Any copyright is dedicated to the Public Domain.
  4. http://creativecommons.org/publicdomain/zero/1.0/
  5. -->
  6. <!--
  7. Reference case, with testcase's dynamic tweak already performed.
  8. -->
  9. <html>
  10. <head>
  11. <style>
  12. div#outer { margin-left: 40px }
  13. div#flexContainer {
  14. width: 100px;
  15. height: 50px;
  16. background: lightgray;
  17. display: flex;
  18. justify-content: center;
  19. }
  20. div#flexItem {
  21. border: 1px solid black;
  22. height: 200%;
  23. background: purple;
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <div id="outer">
  29. <div id="flexContainer">
  30. <div id="flexItem">item</div>
  31. </div>
  32. </div>
  33. </body>
  34. </html>