mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Bug 398332 - Crash tests.
This commit is contained in:
parent
9ee59f510d
commit
f7c4526b9f
19
layout/generic/crashtests/398332-1.html
Normal file
19
layout/generic/crashtests/398332-1.html
Normal file
@ -0,0 +1,19 @@
|
||||
<html><head>
|
||||
<title>Testcase bug - Crash [@ nsHTMLReflowState::GetNearestContainingBlock] with display: -moz-box, generated content, positioning and fieldset</title>
|
||||
<style>
|
||||
small::before { content: "m m";}
|
||||
strike::before { content: "m m";}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="display: -moz-box;">
|
||||
<strike style="overflow: -moz-hidden-unscrollable; position: absolute;"></strike>
|
||||
<fieldset style="position: relative;">
|
||||
<strike style="overflow: -moz-hidden-unscrollable; position: absolute;"><small style="position: relative;">
|
||||
<span style="position: absolute;"></span>
|
||||
</small>
|
||||
</strike>
|
||||
</fieldset>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
27
layout/generic/crashtests/398332-2.html
Normal file
27
layout/generic/crashtests/398332-2.html
Normal file
@ -0,0 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
function removestyles(i){
|
||||
document.getElementsByTagName('*')[5].removeAttribute('style');
|
||||
document.body.offsetHeight;
|
||||
document.getElementsByTagName('*')[6].removeAttribute('style');
|
||||
document.body.offsetHeight;
|
||||
document.getElementsByTagName('*')[7].removeAttribute('style');
|
||||
}
|
||||
|
||||
setTimeout(removestyles,300);
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div style="position: relative; width: 500px;">
|
||||
<span style="position: absolute; -moz-column-count: 2;">
|
||||
<span style=" position: absolute;">
|
||||
<span style=" display: inline-block; ">m</span>
|
||||
<input>
|
||||
<input style="position: fixed;">m
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
4
layout/generic/crashtests/398332-3.html
Normal file
4
layout/generic/crashtests/398332-3.html
Normal file
@ -0,0 +1,4 @@
|
||||
<marquee style="position: relative; right: 20%;">"Ë”Öqü®Û;<span style="position: relative; word-spacing: -100px;"><span style="position: absolute;">
|
||||
<style>span::before { content:"before textbefore textbefore textbefore textbefore textbefore text"; }</style>
|
||||
|
||||
|
@ -163,6 +163,9 @@ load 398181-1.html
|
||||
load 398181-2.html
|
||||
load 398322-1.html
|
||||
load 398322-2.html
|
||||
load 398332-1.html
|
||||
load 398332-2.html
|
||||
asserts(2) load 398332-3.html # bug 436123 and bug 457397
|
||||
load 399407-1.xhtml
|
||||
load 399412-1.html
|
||||
load 399843-1.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user