1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/536623-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.5 +<head> 1.6 + 1.7 +<bindings 1.8 + xmlns="http://www.mozilla.org/xbl" 1.9 + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.10 + xmlns:xbl="http://www.mozilla.org/xbl" 1.11 + xmlns:html="http://www.w3.org/1999/xhtml"> 1.12 + 1.13 + <binding id="qwe"> 1.14 + <content> 1.15 + <xul:label style="-moz-binding: url(#xar)" xbl:inherits="xbl:text=label" flex="1"/> 1.16 + </content> 1.17 + </binding> 1.18 + 1.19 + <binding id="xar"> 1.20 + <content> 1.21 + <html:table><children/></html:table> 1.22 + </content> 1.23 + </binding> 1.24 + 1.25 +</bindings> 1.26 + 1.27 +<script type="text/javascript"> 1.28 +function boom() 1.29 +{ 1.30 + document.getElementById("b").setAttribute('label', "1 2 3"); 1.31 + document.documentElement.offsetHeight; 1.32 + document.getElementById("b").removeAttribute('label'); 1.33 +} 1.34 +</script> 1.35 +</head> 1.36 + 1.37 +<body onload="boom();"> 1.38 +<div style="width: 0px;"><box id="b" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="-moz-binding: url(#qwe);"/></div> 1.39 +</body> 1.40 +</html>