summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1348481-2.html
blob: 4d197d6a0f29f48e208117578937c93be65beedf (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<link rel="stylesheet" href="data:text/css,div { color: green }">
<link rel="stylesheet" href="data:text/css,div { color: green }">
<div>This should be green</div>
<script>
  onload = function() {
    var links = document.getElementsByTagName("link");
    links[0].remove();
  }
</script>