summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/containing-block-change-button-ref.html
blob: c5beee9359c83c9188d9cdf027636ebf7a3a8d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html>
<meta charset="utf-8">
<style>
  #button {
    width: 400px;
    height: 400px;
    margin: 100px;
    padding: 0;
    border: 0;
    background-color: purple;
    vertical-align: top;
  }
  #button > div {
    width: 100px;
    height: 100px;
    background-color: green;
  }
</style>
<button id="button">
  <div></div>
</button>