dom/base/crashtests/1118764.html
author William Chen <wchen@mozilla.com>
Thu, 08 Jan 2015 13:49:51 -0800
changeset 223143 eb4ffa05e89c100b85459f149264b3c2cd9b0461
permissions -rw-r--r--
Bug 1118764 - Don't distribute anonymous root content in shadow DOM. r=bz

<!DOCTYPE html>
<html>
<body>
<style>
#foo {
  overflow: scroll;
  height: 100px;
}
</style>
<div id="foo">
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
Mozilla Firefox<br>
<script>
foo.createShadowRoot().innerHTML = "<content></content>";
</script>
</body>
</html>