box-decoration-break-block-border-padding-ref.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE HTML>
  2. <!--
  3. Any copyright is dedicated to the Public Domain.
  4. http://creativecommons.org/publicdomain/zero/1.0/
  5. -->
  6. <html>
  7. <head>
  8. <title>Testcase for box-decoration-break:clone, block border+padding</title>
  9. <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=988653">
  10. <meta charset="utf-8">
  11. <style type="text/css">
  12. html,body {
  13. color:black; background-color:white; font-size:16px; padding:10px; margin:0;
  14. }
  15. .inner {
  16. border: 5px dashed blue;
  17. height: 33px;
  18. width: 40px;
  19. background: lime;
  20. background-clip: content-box;
  21. margin-bottom: 12px;
  22. }
  23. .columns {
  24. -moz-columns: 3;
  25. width: 250px;
  26. height: 50px;
  27. background: grey;
  28. margin-top: 2px;
  29. }
  30. .unbalanced {
  31. -moz-column-fill: auto;
  32. }
  33. .inner.p { height:31px; padding:1px 3px 5px 7px; }
  34. .unbalanced .inner { height:40px; margin-bottom: 0px;}
  35. .unbalanced .inner.p { height:34px; }
  36. </style>
  37. </head>
  38. <body>
  39. <div class="columns"><div class="inner"></div><div class="inner"></div><div class="inner"></div></div>
  40. <div class="columns unbalanced"><div class="inner"></div><div class="inner"></div><div class="inner" style="height:19px"></div></div>
  41. <div class="columns"><div class="p inner"></div><div class="p inner"></div><div class="p inner"></div></div>
  42. <div class="columns unbalanced"><div class="p inner"></div><div class="p inner"></div><div class="p inner" style="height:25px"></div></div>
  43. </body>
  44. </html>