2009-04-24 21:08:15 +04:00
|
|
|
<html><head>
|
|
|
|
<title>Testcase bug - Crash [@ nsRuleNode::GetParentData]</title>
|
|
|
|
<script>
|
|
|
|
function addstyles1(){
|
|
|
|
var x=document.createElementNS('http://www.w3.org/1999/xhtml','style');
|
|
|
|
x.innerHTML='\
|
|
|
|
*::first-letter {float: right; }\
|
|
|
|
';
|
|
|
|
document.documentElement.appendChild(x);
|
2010-06-25 23:12:00 +04:00
|
|
|
|
|
|
|
setTimeout(removestyles,500);
|
2009-04-24 21:08:15 +04:00
|
|
|
}
|
|
|
|
setTimeout(addstyles1,200);
|
|
|
|
|
|
|
|
function removestyles(i){
|
|
|
|
document.getElementsByTagName('tfoot')[0].removeAttribute('style');
|
|
|
|
document.getElementsByTagName('table')[0].removeAttribute('style');
|
2010-06-25 23:12:00 +04:00
|
|
|
|
|
|
|
window.parent.document.documentElement.className = "";
|
2009-04-24 21:08:15 +04:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<style>
|
|
|
|
*::before { content:"before text";}
|
|
|
|
</style>
|
|
|
|
</head><body>
|
|
|
|
<table style="display: block;">
|
|
|
|
<tbody><tr><td></td></tr></tbody><tfoot style="position: absolute;"></tfoot>
|
|
|
|
</table>
|
2010-06-25 23:12:00 +04:00
|
|
|
</body></html>
|