mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add crashtests
This commit is contained in:
parent
054f7cc95b
commit
f237d6dcc5
29
content/base/crashtests/395469-1.xhtml
Normal file
29
content/base/crashtests/395469-1.xhtml
Normal file
@ -0,0 +1,29 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<bindings xmlns="http://www.mozilla.org/xbl"><binding id="empty"><content></content></binding></bindings>
|
||||
|
||||
<style>
|
||||
|
||||
.bef:before { content: counter(c); }
|
||||
|
||||
.fl:first-letter { }
|
||||
|
||||
</style>
|
||||
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("xblize").style.MozBinding = "url('#empty')";
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();">
|
||||
|
||||
<div class="fl"><span class="bef" id="xblize"></span><span class="bef"></span></div>
|
||||
|
||||
</body>
|
||||
</html>
|
45
content/base/crashtests/395469-2.xhtml
Normal file
45
content/base/crashtests/395469-2.xhtml
Normal file
@ -0,0 +1,45 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
|
||||
<head>
|
||||
|
||||
<bindings xmlns="http://www.mozilla.org/xbl"><binding id="empty"><content></content></binding></bindings>
|
||||
|
||||
<style>
|
||||
|
||||
.bef:before { content: counter(c); }
|
||||
|
||||
.fl:first-letter { }
|
||||
|
||||
</style>
|
||||
|
||||
<script>
|
||||
|
||||
var xblize, div;
|
||||
|
||||
function boom()
|
||||
{
|
||||
xblize = document.getElementById("xblize");
|
||||
div = document.getElementById("div");
|
||||
|
||||
xblize.style.MozBinding = "url('#empty')";
|
||||
|
||||
// Give the XBL extra time to settle
|
||||
setTimeout(boom2, 200);
|
||||
}
|
||||
|
||||
function boom2()
|
||||
{
|
||||
div.removeChild(xblize);
|
||||
div.appendChild(xblize);
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();">
|
||||
|
||||
<div class="fl" id="div"><span class="bef" id="xblize"></span><span class="bef"></span></div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -19,6 +19,8 @@ load 369216-1.html
|
||||
load 371466-1.xhtml
|
||||
load 386000-1.html
|
||||
load 386794-1.html
|
||||
load 395469-1.xhtml
|
||||
load 395469-2.xhtml
|
||||
load 399712-1.html
|
||||
load 407818.html
|
||||
load 410860-1.xml
|
||||
|
Loading…
Reference in New Issue
Block a user