gecko-dev/content/xbl/crashtests/397596-1.xhtml
Timothy Nikkel 2237f423ac Bug 397596 and bug 492978. Add tests.
--HG--
extra : rebase_source : 64fbe0958089e676690eb89e5f68e903972043f2
2009-11-03 15:51:55 -06:00

29 lines
658 B
HTML

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Testcase bug - 100% cpu usage with binding setting position: fixed in constructor</title>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="b" inheritstyle="false">
<content>
<div xmlns="http://www.w3.org/1999/xhtml" style=" -moz-binding: url(#a);"/>
<children/>
</content>
</binding>
<binding id="a">
<implementation>
<constructor>
this.style.position='fixed';
</constructor>
</implementation>
<content>
<children xmlns="http://www.mozilla.org/xbl"/>
</content>
</binding>
</bindings>
</head>
<body>
<span style="-moz-binding:url();"></span>
</body>
</html>