testing/web-platform/tests/css/css-multicol/multicol-span-all-button-001.html
author Sotaro Ikeda <sotaro.ikeda.g@gmail.com>
Thu, 10 Jul 2025 00:10:09 +0000 (8 hours ago)
changeset 795941 23763b72c35abeead04f63e4503c28abc73d065d
parent 588887 11f782bff7fc46f44d97c825291aa9d058849ee4
permissions -rw-r--r--
Bug 1976135 - Remove nightly only limitation of pref gfx.webrender.layer-compositor r=gfx-reviewers,gw Differential Revision: https://phabricator.services.mozilla.com/D256379
<!DOCTYPE html>
<html>
  <meta charset="utf-8">
  <title>CSS Multi-column Layout Test: Test a multi-column container on button works with a column-span:all child</title>
  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
  <link rel="author" title="Mozilla" href="http://www.mozilla.org/">
  <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span">
  <link rel="match" href="multicol-span-all-button-001-ref.html">
  <meta name="assert" content="This test checks the page is rendered correctly for a multi-column container on button with a column-span:all child.">

  <style>
  button {
    column-count: 3;
    column-rule: 6px solid;
    width: 400px;
  }
  h3 {
    column-span: all;
    outline: 1px solid blue;
  }
  </style>

  <button>
    <div>block1</div><div>block2</div>
    <h3>spanner</h3>
    <div>block3</div><div>block4</div>
  </button>
</html>