Adding some tests
authorBoris Zbarsky <bzbarsky@mit.edu>
Thu, 15 Jan 2009 14:49:33 -0500
changeset 23758 880575f00b4154864faf17cefb5a7e535db9aa60
parent 23757 1a8ce361d90ac1162ac040a0af570cfffe379173
child 23759 0db00d61c314492ad36e4d04d9fe7c4245d52fd1
child 23909 bbdb771a31b2a01cd8d9f662e9c0f109318589e5
push id4708
push userbzbarsky@mozilla.com
push dateThu, 15 Jan 2009 19:50:02 +0000
treeherdermozilla-central@880575f00b41 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.2a1pre
Adding some tests
layout/base/crashtests/275746-1.html
layout/base/crashtests/280708-1.html
layout/base/crashtests/280708-2.html
layout/base/crashtests/crashtests.list
layout/reftests/bugs/278266-1-ref.html
layout/reftests/bugs/278266-1a.html
layout/reftests/bugs/278266-1b.html
layout/reftests/bugs/280708-1-ref.html
layout/reftests/bugs/280708-1a.html
layout/reftests/bugs/280708-1b.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/275746-1.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html><head><title>Testcase bug 275746 - Crash when clicking in drop down list, when changing from display:table-cell to display:inline</title>
+<style>
+span,select{display:table-cell;}
+</style>
+</head>
+<body onload="document.getElementById('x').style.display = 'inline'; document.documentElement.className = '';">
+<span>This is needed</span><select id='x'><option>option 1</option><option>option 2</option></select>
+</body></html>
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/280708-1.html
@@ -0,0 +1,9 @@
+<html class="reftest-wait"><head>
+<style>
+.rowg {display:table-row-group;}
+</style>
+</head><body onload="document.getElementById('x').className = 'rowg'; document.body.offsetWidth; document.getElementById('y').className = 'rowg'; document.body.offsetWidth; document.documentElement.className = '';">
+<table><tbody><tr>
+<td id="x"><input id="y"></td>
+</tr></tbody></table>
+</body></html>
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/280708-2.html
@@ -0,0 +1,9 @@
+<html class="reftest-wait"><head>
+<style>
+.rowg {display:table-row-group;}
+</style>
+</head><body onload="document.getElementById('x').className = 'rowg'; document.body.offsetWidth; document.getElementById('y').className = 'rowg'; document.body.offsetWidth; document.documentElement.className = '';">
+<table><tbody><tr>
+<td id="y"><input id="x"></td>
+</tr></tbody></table>
+</body></html>
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -1,15 +1,18 @@
 load 56746-1.html
 load 143862-1.html
 load 143862-2.html
 load 241300-1.html
 load 243159-1.html
 load 243159-2.xhtml
 load 243519-1.html
+load 275746-1.html
+load 280708-1.html
+load 280708-2.html
 load 306940-1.html
 load 310267-1.xml
 load 310638-1.svg
 load 310638-2.html
 load 313086-1.xml
 load 321058-1.xul
 load 321058-2.xul
 load 321077-1.xul
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/278266-1-ref.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+<body>
+There should be text below this line:
+<div style="display: table-row" id="foo"><span style="display: table-cell">Second line of text</span></div>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/278266-1a.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+<body onload="document.getElementById('foo').appendChild(document.createTextNode('Second line of text'))">
+There should be text below this line:
+<div style="display: table-row" id="foo"></div>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/278266-1b.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+<body>
+There should be text below this line:
+<div style="display: table-row">Second line of text</div>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/280708-1-ref.html
@@ -0,0 +1,9 @@
+<html><head>
+<style>
+.rowg {display:table-row-group;}
+</style>
+</head><body>
+<table><tbody><tr>
+<td class="rowg"><input class="rowg"></td>
+</tr></tbody></table>
+</body></html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/280708-1a.html
@@ -0,0 +1,9 @@
+<html class="reftest-wait"><head>
+<style>
+.rowg {display:table-row-group;}
+</style>
+</head><body onload="document.getElementById('x').className = 'rowg'; document.body.offsetWidth; document.getElementById('y').className = 'rowg'; document.body.offsetWidth; document.documentElement.className = '';">
+<table><tbody><tr>
+<td id="x"><input id="y"></td>
+</tr></tbody></table>
+</body></html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/280708-1b.html
@@ -0,0 +1,9 @@
+<html class="reftest-wait"><head>
+<style>
+.rowg {display:table-row-group;}
+</style>
+</head><body onload="document.getElementById('x').className = 'rowg'; document.body.offsetWidth; document.getElementById('y').className = 'rowg'; document.body.offsetWidth; document.documentElement.className = '';">
+<table><tbody><tr>
+<td id="y"><input id="x"></td>
+</tr></tbody></table>
+</body></html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -208,16 +208,20 @@ random == 99850-1b.html 99850-1-ref.html
 == 253701-1.html 253701-1-ref.html
 == 255820-1.html 255820-1-ref.html
 == 262151-1.html 262151-1-ref.html
 #== 263683-1.html 263683-1-ref.html
 == 267353-1.html 267353-1-ref.html
 == 271747-1a.html 271747-1-ref.html
 == 271747-1b.html 271747-1-ref.html
 == 273681-1.html 273681-1-ref.html
+== 278266-1a.html 278266-1-ref.html 
+== 278266-1b.html 278266-1-ref.html 
+== 280708-1a.html 280708-1-ref.html
+== 280708-1b.html 280708-1-ref.html
 == 283686-1.html about:blank
 == 283686-2.html 283686-2-ref.html
 == 283686-3.html about:blank
 fails-if(MOZ_WIDGET_TOOLKIT!="cocoa") HTTP == 289480.html#top 289480-ref.html # basically-verbatim acid2 test, HTTP for a 404 page -- bug 409329 for the non-Mac failures
 == 290129-1.html 290129-1-ref.html
 == 291078-1.html 291078-1-ref.html
 == 291078-2.html 291078-2-ref.html
 == 291262-1.html 291262-1-ref.html