1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/xbl/crashtests/397596-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.5 +<head> 1.6 +<title>Testcase bug - 100% cpu usage with binding setting position: fixed in constructor</title> 1.7 + 1.8 +<bindings xmlns="http://www.mozilla.org/xbl"> 1.9 +<binding id="b" inheritstyle="false"> 1.10 +<content> 1.11 +<div xmlns="http://www.w3.org/1999/xhtml" style=" -moz-binding: url(#a);"/> 1.12 +<children/> 1.13 +</content> 1.14 +</binding> 1.15 + 1.16 +<binding id="a"> 1.17 +<implementation> 1.18 +<constructor> 1.19 + this.style.position='fixed'; 1.20 +</constructor> 1.21 +</implementation> 1.22 +<content> 1.23 +<children xmlns="http://www.mozilla.org/xbl"/> 1.24 +</content> 1.25 +</binding> 1.26 +</bindings> 1.27 + 1.28 +</head> 1.29 +<body> 1.30 +<span style="-moz-binding:url();"></span> 1.31 +</body> 1.32 +</html> 1.33 \ No newline at end of file