summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-mediaqueries/mq_overflow-block.html
blob: 1e31e9855dda89bd34644f6afb528e920edc2542 (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
<!DOCTYPE html>
<html>
  <style>
    @media (overflow-block: none) {
      .a { display: none }
    }
    @media (overflow-block: scroll) {
      .b { display: none }
    }
    @media (overflow-block: paged) {
      .c { display: none }
    }
    @media (overflow-block: something-new-and-unknown) {
      .d { display: none }
    }
    @media (overflow-block) {
      .e { 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>