width-special-values-float-intrinsic.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!DOCTYPE html>
  2. <html lang="en-US">
  3. <head>
  4. <title>intrinsic widths for -moz-max-content, -moz-min-content, -moz-fit-content, and -moz-available values of CSS width property, on blocks</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <meta http-equiv="Content-Style-Type" content="text/css">
  7. <style type="text/css">
  8. div { float: left; clear: left; }
  9. </style>
  10. </head>
  11. <body>
  12. <table border><tr><td>
  13. <div style="width: -moz-max-content">AA B</div>
  14. </td></tr></table>
  15. <table border width="1"><tr><td>
  16. <div style="width: -moz-max-content">AA B</div>
  17. </td></tr></table>
  18. <table border><tr><td>
  19. <div style="width: -moz-min-content">AA B</div>
  20. </td></tr></table>
  21. <table border width="1"><tr><td>
  22. <div style="width: -moz-min-content">AA B</div>
  23. </td></tr></table>
  24. <table border><tr><td>
  25. <div style="width: -moz-fit-content">AA B</div>
  26. </td></tr></table>
  27. <table border width="1"><tr><td>
  28. <div style="width: -moz-fit-content">AA B</div>
  29. </td></tr></table>
  30. <table border><tr><td>
  31. <div style="width: -moz-available">AA B</div>
  32. </td></tr></table>
  33. <table border width="1"><tr><td>
  34. <div style="width: -moz-available">AA B</div>
  35. </td></tr></table>
  36. </body>
  37. </html>