summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-mediaqueries/mq_overflow-block.html
blob: 10d3d69ebec566f75baa3a1e2a6c0172cc4d29d6 (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
<!DOCTYPE html>
<html>
  <style>
    @media (overflow-block: none) {
      .a { display: none }
    }
    @media (overflow-block: scroll) {
      .b { display: none }
    }
    @media (overflow-block: optional-paged) {
      .c { display: none }
    }
    @media (overflow-block: paged) {
      .d { display: none }
    }
    @media (overflow-block: something-new-and-unknown) {
      .e { display: none }
    }
    @media (overflow-block) {
      .f { display: none }
    }
  </style>
  <span class=a>A</span>
  <span class=b>B</span>
  <span class=c>C</span>
  <span class=d>D</span>
  <span class=e>E</span>
  <span class=f>F</span>