dom/xbl/crashtests/397596-1.xhtml
author Robert O'Callahan <robert@ocallahan.org>
Fri, 10 Jan 2014 16:03:25 +1300
changeset 180086 243259fda9aba5900ae1492c991a0e7a541a584d
parent 34527 content/xbl/crashtests/397596-1.xhtml@813e673bc1b6cd7fce0e742c6372f773d1f05c81
permissions -rw-r--r--
Bug 946065. Part 4: Move content/xbl to dom/ and flatten away 'src' directory. r=Ms2ger

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