gecko/layout/style/crashtests/930270-2.html
Cameron McCormack 538a3cfaeb Bug 930270 - Don't initialize the ancestor filter for elements outside the document. r=dbaron
--HG--
extra : rebase_source : fa10a28a8bbd9eaf670f8133ccd81a9c706ebec7
2013-11-01 13:44:40 +11:00

10 lines
228 B
HTML

<!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>