summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/multicol-span-all-010.html
blob: 6bab00467afa97d16830368d2d61981408d8990e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html>
  <meta charset="utf-8">
  <title>CSS Multi-column Layout Test: column-span:all does not create a spanner, inside an element establishing a containing block for fixed-position descendants</title>
  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
  <link rel="author" title="David Shin" href="mailto:dshin@mozilla.com">
  <link rel="author" title="Mozilla" href="http://www.mozilla.org/">
  <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#the-multi-column-model">
  <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span">
  <link rel="match" href="multicol-span-all-010-ref.html">
  <meta name="assert" content="This test checks that column-span:all does not create a spanner, inside an element establishing a containing block for fixed-position descendants.">

  <style>
  article {
    column-count: 3;
    column-rule: 6px solid;
    width: 500px;
    border: 1px solid black;
    margin-bottom: 3px;
  }
  h3 {
    column-span: all;
    outline: 1px solid blue;
  }
  </style>

  <body>
    <article>
      <div style="transform: scale(1)">
        <h3>non-spanner</h3>
      </div>
    </article>
    <article>
      <div style="filter: contrast(100%)">
        <h3>non-spanner</h3>
      </div>
    </article>
    <article>
      <div style="contain: paint">
        <h3>non-spanner</h3>
      </div>
    </article>
    <article>
      <div style="contain: layout">
        <h3>non-spanner</h3>
      </div>
    </article>
    <article>
      <div style="contain: content">
        <h3>non-spanner</h3>
      </div>
    </article>
    <article>
      <div style="contain: strict; width: 50px; height: 50px;">
        <h3>n</h3>
      </div>
    </article>
  </body>
</html>