flexbox-dyn-insertEmptySpan-1-ref.xhtml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Any copyright is dedicated to the Public Domain.
  4. http://creativecommons.org/publicdomain/zero/1.0/
  5. -->
  6. <!--
  7. This reference case is like its textcase, but with the testcase's dynamic
  8. modifications already performed.
  9. -->
  10. <html xmlns="http://www.w3.org/1999/xhtml">
  11. <head>
  12. <style>
  13. body { font-size: 10px; }
  14. <!-- to make inserted span elements stand out -->
  15. span {
  16. background: teal;
  17. padding: 3px;
  18. }
  19. div.flexbox {
  20. border: 1px dashed blue;
  21. width: 300px;
  22. display: flex;
  23. justify-content: space-around;
  24. margin-bottom: 1px;
  25. white-space: pre;
  26. }
  27. </style>
  28. </head>
  29. <body>
  30. <div class="flexbox" id="f0"><span/>[orig]</div>
  31. <div class="flexbox" id="f1">[orig]<span/></div>
  32. <div class="flexbox" id="f2"><span/> [orig]</div>
  33. <div class="flexbox" id="f3"> <span/>[orig]</div>
  34. <div class="flexbox" id="f4">[orig]<span/> </div>
  35. <div class="flexbox" id="f5">[orig] <span/></div>
  36. <div class="flexbox" id="f6"><span/>[NewText][orig]</div>
  37. <div class="flexbox" id="f7">[NewText]<span/>[orig]</div>
  38. <div class="flexbox" id="f8">[orig]<span/>[NewText]</div>
  39. <div class="flexbox" id="f9">[orig][NewText]<span/></div>
  40. </body>
  41. </html>