mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 733640: Add crashtest for bug 718516. [r=ehsan]
--HG-- extra : rebase_source : 45e73bc4a7e36da12630c368040b152b83005664
This commit is contained in:
parent
b84967dd54
commit
52b46b2c2c
70
layout/generic/crashtests/718516.html
Normal file
70
layout/generic/crashtests/718516.html
Normal file
@ -0,0 +1,70 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head><title>Bug 718516</title>
|
||||
<script>
|
||||
function start ()
|
||||
{
|
||||
firstDirElement = document.createElement('dir');
|
||||
firstDirElement.style.cssText = '-moz-stack-sizing: ignore;' +
|
||||
' -moz-column-width: 16385px;';
|
||||
textPathElement = document
|
||||
.createElementNS('http://www.w3.org/2000/svg', 'textPath');
|
||||
firstDirElement.appendChild(textPathElement);
|
||||
textPathParent = textPathElement.parentElement;
|
||||
firstDivElement = document.createElement('div');
|
||||
document.body.appendChild(firstDivElement);
|
||||
centerElement = document.createElement('center');
|
||||
firstDivElement.appendChild(centerElement);
|
||||
firstIFrameElement = document.createElement('iframe');
|
||||
firstIFrameElement.src = 'data:text/html,%3Cdatalist%20id%3D%27'
|
||||
+ 'element0%27%3E%3Cscript%20id%3D%27element2%27%3Ex%20x';
|
||||
firstIFrameElement.id = 'ifr37311';
|
||||
centerElement.ownerDocument.documentElement
|
||||
.appendChild(firstIFrameElement);
|
||||
window.setTimeout('start_dataiframe0()', 100);
|
||||
}
|
||||
|
||||
function start_dataiframe0 ()
|
||||
{
|
||||
element2 = centerElement.ownerDocument.getElementById('ifr37311')
|
||||
.contentDocument.getElementById('element2');
|
||||
secondDirElement = document.createElement('dir');
|
||||
secondDirElement.style.cssText =
|
||||
'visibility: inherit;-moz-column-count: 32771;';
|
||||
feOffsetElement = document
|
||||
.createElementNS('http://www.w3.org/2000/svg', 'feOffset');
|
||||
centerElement.style.position = 'absolute';
|
||||
firstIFrameElement.id = 'ifr36578';
|
||||
element0 = feOffsetElement.ownerDocument.getElementById('ifr36578')
|
||||
.contentDocument
|
||||
.getElementById('element0');
|
||||
firstIFrameElement = document.createElement('iframe');
|
||||
element0Clone = element0.cloneNode(true);
|
||||
videoElement = document.createElement('video');
|
||||
firstDivParent = firstDivElement.offsetParent;
|
||||
firstIFrameElement.id = 'ifr9261';
|
||||
element0Clone.ownerDocument.documentElement
|
||||
.appendChild(firstIFrameElement);
|
||||
window.setTimeout('start_dataiframe4()', 100);
|
||||
}
|
||||
|
||||
function start_dataiframe4 ()
|
||||
{
|
||||
documentElement = element0Clone.ownerDocument
|
||||
.getElementById('ifr9261').contentDocument.documentElement;
|
||||
textPathParent.appendChild(videoElement);
|
||||
centerElement.appendChild(element2.lastChild);
|
||||
documentElement.appendChild(secondDirElement);
|
||||
firstDirElement.style.position = 'relative';
|
||||
document.body.appendChild(firstDirElement);
|
||||
firstDirElement.appendChild(firstDivElement);
|
||||
secondDirElement.appendChild(firstDivParent);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="start()">
|
||||
A
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -384,6 +384,7 @@ load 688996-2.html
|
||||
load 683712.html
|
||||
load text-overflow-bug713610.html
|
||||
load 700031.xhtml
|
||||
load 718516.html
|
||||
load first-letter-638937.html
|
||||
asserts(18) load first-letter-638937-2.html
|
||||
load 737313-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user