mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
reftests for bugs 363370, 364318, 368651 369975
This commit is contained in:
parent
a324240e1e
commit
4a37fb3895
11
layout/reftests/bugs/363370-1-ref.html
Normal file
11
layout/reftests/bugs/363370-1-ref.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<html><head>
|
||||||
|
<title>Testcase bug 363370 - [reflow branch] Crash [@ nsTArray_base::ShiftData] with testcase that appends table cells</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<table border>
|
||||||
|
<thead id="b"><tr><td rowspan="3">td</td></tr><tr><td>td</td></tr></thead>
|
||||||
|
<tbody colspan="1" id="f"><tr></tr><tr><td>td</td></tr></tbody></table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
32
layout/reftests/bugs/363370-1.html
Normal file
32
layout/reftests/bugs/363370-1.html
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<html><head>
|
||||||
|
<title>Testcase bug 363370 - [reflow branch] Crash [@ nsTArray_base::ShiftData] with testcase that appends table cells</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<table border>
|
||||||
|
<thead id="b"><tr><td rowspan="3">td</td></tr></thead>
|
||||||
|
<tbody colspan="1" id="f"><tr></tr></tbody></table>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function doe() {
|
||||||
|
|
||||||
|
|
||||||
|
var x=document.createElement('td');
|
||||||
|
var text = document.createTextNode("td");
|
||||||
|
x.appendChild(text);
|
||||||
|
|
||||||
|
document.getElementById('b').appendChild(x);
|
||||||
|
|
||||||
|
|
||||||
|
var y=document.createElement('td');
|
||||||
|
var t2 = document.createTextNode("td");
|
||||||
|
y.appendChild(t2);
|
||||||
|
|
||||||
|
|
||||||
|
document.getElementById('f').appendChild(y);
|
||||||
|
|
||||||
|
}
|
||||||
|
setTimeout(doe, 200);
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
9
layout/reftests/bugs/364318-1-ref.xhtml
Normal file
9
layout/reftests/bugs/364318-1-ref.xhtml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title>rowspan transition</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table><thead ><tr><td>td</td><td id="target" rowspan="2">x</td></tr><tr ><td rowspan="2">x</td></tr></thead></table>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
9
layout/reftests/bugs/364318-1.xhtml
Normal file
9
layout/reftests/bugs/364318-1.xhtml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title>rowspan transition</title>
|
||||||
|
</head>
|
||||||
|
<body onload="document.getElementById('target').setAttribute('rowspan',2);">
|
||||||
|
<table><thead ><tr><td>td</td><td id="target" rowspan="0">x</td></tr><tr ><td rowspan="2">x</td></tr></thead></table>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
25
layout/reftests/bugs/368651-1-ref.html
Normal file
25
layout/reftests/bugs/368651-1-ref.html
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<table border>
|
||||||
|
<tbody id="tbody">
|
||||||
|
<tr>
|
||||||
|
<td rowspan="0">a</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>b</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
35
layout/reftests/bugs/368651-1.html
Normal file
35
layout/reftests/bugs/368651-1.html
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<script>
|
||||||
|
function boom()
|
||||||
|
{
|
||||||
|
var td = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
|
||||||
|
td.appendChild(document.createTextNode("b"));
|
||||||
|
document.getElementById("tbody").appendChild(td);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<table border>
|
||||||
|
<tbody id="tbody">
|
||||||
|
<tr>
|
||||||
|
<td rowspan="0">a</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Flush layout
|
||||||
|
document.body.offsetWidth;
|
||||||
|
|
||||||
|
boom();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
21
layout/reftests/bugs/369975-1.html
Normal file
21
layout/reftests/bugs/369975-1.html
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title>Assert: Must have usable originating data here + crash</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<table border>
|
||||||
|
<tbody>
|
||||||
|
<tr ><td rowspan="2">1</td></tr>
|
||||||
|
<tr><td rowspan="2">2</td></tr>
|
||||||
|
<tr ><td rowspan="3" colspan="2">3</td></tr>
|
||||||
|
<tr></tr>
|
||||||
|
</tbody>
|
||||||
|
<tbody>
|
||||||
|
<tr><td rowspan="3">4</td></tr>
|
||||||
|
<tr><td>5</td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -171,11 +171,13 @@ fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") == 359903-1.html 359903-1-ref.html # bug 3
|
|||||||
== 362594-2c.html 362594-2-standards-ref.html
|
== 362594-2c.html 362594-2-standards-ref.html
|
||||||
== 362901-1.html 362901-1-ref.html
|
== 362901-1.html 362901-1-ref.html
|
||||||
== 363329-1.html 363329-1-ref.html
|
== 363329-1.html 363329-1-ref.html
|
||||||
== 363329-2.html 363329-2-ref.html
|
== 363329-2.html 363329-2-ref.html
|
||||||
|
== 363370-1.html 363370-1-ref.html
|
||||||
== 363637-1.html 363637-1-ref.html
|
== 363637-1.html 363637-1-ref.html
|
||||||
== 363874.html 363874-ref.html
|
== 363874.html 363874-ref.html
|
||||||
== 363874-max-width.html 363874-max-width-ref.html
|
== 363874-max-width.html 363874-max-width-ref.html
|
||||||
== 364066-1.html 364066-1-ref.html
|
== 364066-1.html 364066-1-ref.html
|
||||||
|
== 364318-1.xhtml 364318-1-ref.xhtml
|
||||||
== 364079-1.html 364079-1-ref.html
|
== 364079-1.html 364079-1-ref.html
|
||||||
== 364861-1.html 364861-1-ref.html
|
== 364861-1.html 364861-1-ref.html
|
||||||
== 364862-1.html 364862-1-ref.html
|
== 364862-1.html 364862-1-ref.html
|
||||||
@ -216,8 +218,10 @@ fails == 368020-4.html 368020-4-ref.html # bug 368085
|
|||||||
# == 368247-1.html 368247-1-ref.html
|
# == 368247-1.html 368247-1-ref.html
|
||||||
== 368247-2.html 368247-2-ref.html
|
== 368247-2.html 368247-2-ref.html
|
||||||
fails == 368504-1.html 368504-1-ref.html # bug 368504
|
fails == 368504-1.html 368504-1-ref.html # bug 368504
|
||||||
== 368622-1.html 368622-1-ref.html
|
== 368622-1.html 368622-1-ref.html
|
||||||
== 368622-1.html 368622-1-ref.html
|
== 368622-1.html 368622-1-ref.html
|
||||||
|
== 368651-1.html 368651-1-ref.html
|
||||||
|
== 369975-1.html 369975-1.html
|
||||||
== 369882.xul 369882-ref.xul
|
== 369882.xul 369882-ref.xul
|
||||||
== 370422-1.html 370422-1-ref.html
|
== 370422-1.html 370422-1-ref.html
|
||||||
== 370586-1.xhtml 370586-1-ref.xhtml
|
== 370586-1.xhtml 370586-1-ref.xhtml
|
||||||
|
Loading…
Reference in New Issue
Block a user