mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 368740 - crashtest
This commit is contained in:
parent
eb43010c46
commit
6fab5a8cfc
25
layout/style/crashtests/368740.html
Normal file
25
layout/style/crashtests/368740.html
Normal file
@ -0,0 +1,25 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Testcase bug - Crash [@ nsIFrame::IsThemed] when trying to get the computed style of a button in iframe</title>
|
||||
|
||||
<style>
|
||||
iframe {
|
||||
width: 800px;
|
||||
height: 400px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
This page should not crash Mozilla<br>
|
||||
<iframe id="content" src="data:text/html;charset=utf-8,%3Chtml%3E%3Chead%3E%3C/head%3E%3Cbody%3E%0A%3Cbutton%3E%3C/button%3E%0A%3C/body%3E%3C/html%3E"></iframe>
|
||||
|
||||
<script>
|
||||
function getComputedStyles(){
|
||||
var x=document.getElementById('content').contentDocument.getElementsByTagName('button')[0];
|
||||
var style = document.defaultView.getComputedStyle(x, null).getPropertyValue('border-left-width');
|
||||
}
|
||||
setTimeout(getComputedStyles,300);
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -8,6 +8,7 @@ load 317561-1.html
|
||||
load 330998-1.html
|
||||
load 363950.html
|
||||
load 368175-1.html
|
||||
load 368740.html
|
||||
load 379788-1.html
|
||||
load 383979-1.xhtml
|
||||
load 383979-2.html
|
||||
|
Loading…
Reference in New Issue
Block a user