content/xbl/crashtests/397596-1.xhtml
author Drew Willcoxon <adw@mozilla.com>
Wed, 05 Jun 2013 17:07:55 -0700
changeset 134173 3f4ad11d56da4b29ee44fe238ecce312204cdc85
parent 34527 813e673bc1b6cd7fce0e742c6372f773d1f05c81
permissions -rw-r--r--
Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 4: update reftests). r=ehsan

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