Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <html><head> |
michael@0 | 2 | <title>Testcase bug - Crash [@ nsRuleNode::GetParentData]</title> |
michael@0 | 3 | <script> |
michael@0 | 4 | function addstyles1(){ |
michael@0 | 5 | var x=document.createElementNS('http://www.w3.org/1999/xhtml','style'); |
michael@0 | 6 | x.innerHTML='\ |
michael@0 | 7 | *::first-letter {float: right; }\ |
michael@0 | 8 | '; |
michael@0 | 9 | document.documentElement.appendChild(x); |
michael@0 | 10 | |
michael@0 | 11 | setTimeout(removestyles,500); |
michael@0 | 12 | } |
michael@0 | 13 | setTimeout(addstyles1,200); |
michael@0 | 14 | |
michael@0 | 15 | function removestyles(i){ |
michael@0 | 16 | document.getElementsByTagName('tfoot')[0].removeAttribute('style'); |
michael@0 | 17 | document.getElementsByTagName('table')[0].removeAttribute('style'); |
michael@0 | 18 | |
michael@0 | 19 | window.parent.document.documentElement.className = ""; |
michael@0 | 20 | } |
michael@0 | 21 | </script> |
michael@0 | 22 | <style> |
michael@0 | 23 | *::before { content:"before text";} |
michael@0 | 24 | </style> |
michael@0 | 25 | </head><body> |
michael@0 | 26 | <table style="display: block;"> |
michael@0 | 27 | <tbody><tr><td></td></tr></tbody><tfoot style="position: absolute;"></tfoot> |
michael@0 | 28 | </table> |
michael@0 | 29 | </body></html> |