summaryrefslogtreecommitdiffstats
path: root/layout/reftests/meta-viewport/removal.html
blob: 80cff8077b62b98d67fab151468aba7d0139e8e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<meta name="viewport" content="width=device-width">
<!-- This should still have an effect after removal -->
<meta name="viewport" content="width=980">
<script>document.querySelector('meta + meta').remove()</script>
<style>
#box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: green;
}
</style>
<div id="box"></div>