summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/930270-2.html
blob: 6240ca20ecd3aab1aec0bcdc60f99054ee11ebcf (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<body>
<style scoped>span { color: red; }</style>
<div><span></span></div>
<script>
var div = document.querySelector("div");
div.parentNode.removeChild(div);
getComputedStyle(div.firstChild, "").color;
</script>