layout/xul/crashtests/381862.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 <html><head>
michael@0 2 <title>Testcase bug - Crash [@ nsBoxFrame::BuildDisplayListForChildren] with tree stuff in iframe toggling display</title>
michael@0 3 </head>
michael@0 4 <body>
michael@0 5 <iframe src="data:application/vnd.mozilla.xul+xml;charset=utf-8,%3Cwindow%20xmlns%3D%22http%3A//www.mozilla.org/keymaster/gatekeeper/there.is.only.xul%22%3E%0A%20%20%3Ctree%20style%3D%22display%3A%20block%3B%20position%3A%20absolute%3B%22%3E%0A%20%20%20%20%3Ctree%20style%3D%22display%3A%20table%3B%22%3E%0A%20%20%20%20%20%20%3Ctreeseparator%20style%3D%22display%3A%20block%3B%20position%3A%20absolute%3B%22%3E%0A%20%20%20%20%20%20%20%20%3Ctreechildren%20style%3D%22display%3A%20block%3B%22/%3E%0A%20%20%20%20%20%20%3C/treeseparator%3E%0A%20%20%20%20%20%20%3Ctreechildren%20style%3D%22display%3A%20none%3B%22/%3E%0A%20%20%20%20%3C/tree%3E%0A%20%20%3C/tree%3E%0A%3C/window%3E" id="content"></iframe>
michael@0 6
michael@0 7 <script>
michael@0 8 function toggleIframe(){
michael@0 9 var x=document.getElementById('content');
michael@0 10 x.style.display = x.style.display == 'none' ? x.style.display = 'block' : x.style.display = 'none';
michael@0 11 setTimeout(toggleIframe,200);
michael@0 12 }
michael@0 13 setTimeout(toggleIframe,500);
michael@0 14
michael@0 15 function removestyles(i){
michael@0 16 window.frames[0].document.getElementsByTagName('*')[1].removeAttribute('style');
michael@0 17 }
michael@0 18
michael@0 19 setTimeout(removestyles,500,1);
michael@0 20 /*template*/
michael@0 21 </script>
michael@0 22 </body>
michael@0 23 </html>

mercurial