content/xbl/crashtests/397596-1.xhtml
author Timothy Nikkel <tnikkel@gmail.com>
Tue, 03 Nov 2009 15:51:55 -0600
changeset 34527 813e673bc1b6cd7fce0e742c6372f773d1f05c81
permissions -rw-r--r--
Bug 397596 and bug 492978. Add tests.

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