Bug 463785 - Crashtest.

This commit is contained in:
Martijn Wargers 2013-11-12 14:37:22 +00:00
parent 03b15ed205
commit 6c3566d1d2
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,40 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait">
<bindings xmlns="http://www.mozilla.org/xbl" xmlns:xlink="http://www.w3.org/1999/xlink">
<binding id="xbl">
<content>
<div xmlns="http://www.w3.org/1999/xhtml" style="border: 100px solid red;">
<div style="position: fixed;"/>
</div>
</content>
</binding>
</bindings>
<div style="position: absolute; -moz-column-count: 2;">
<table style="border: 100px solid green;" id="c">
<tr id="b" style="-moz-binding:url(#xbl)">
<td style="position: absolute;">
m
<span id="a">
<div style="border: 100px solid black;">
<div style="position: fixed;"/>
</div>
</span>
</td>
</tr>
</table>
</div>
<script>
var doc = document;
function doe() {
var newNode = document.createElementNS("http://www.w3.org/1999/xhtml", 'div');
newNode.innerHTML = '<div xmlns="http://www.w3.org/1999/xhtml" style="border: 100px solid black;"><div style="position: fixed;"/></div>';
document.getElementById('c').insertBefore(newNode, doc.getElementById('b'));
document.getElementById('b').removeAttribute('style');
document.documentElement.removeAttribute("class");
}
setTimeout(doe, 100);
</script>
</html>

View File

@ -303,6 +303,7 @@ load 463350-1.html
load 463350-2.html
load 463350-3.html
load 463741-1.html
load 463785.xhtml
load 465651-1.html
load 467137-1.html
load 467213-1.html