gecko-dev/layout/style/crashtests/1370793-1.xhtml
Cameron McCormack 1abc353e33 Bug 1370793 - Part 2: Crashtest. r=bholley
MozReview-Commit-ID: 1vepQTv40DQ

--HG--
extra : rebase_source : 9b8341ec338a4f4f2b031372dcad00edc168035e
2017-06-11 19:12:16 +08:00

25 lines
611 B
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="a">
<content>
<children/>
</content>
</binding>
</bindings>
<script>
function doTest() {
// Cause XBL bindings to be attached to the object element by
// wrapping it for JS.
document.querySelector("object");
}
</script>
</head>
<body onload="doTest()">
<div style="display: none;">
<object style="-moz-binding: url(#a);" data="about:blank"></object>
</div>
</body>
</html>