Reftest for bug 302379.

This commit is contained in:
Mats Palmgren 2008-12-31 17:38:00 +01:00
parent a76598678b
commit 2e5e21038a
3 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title></head>
<body>
<table width="400">
<tbody><tr>
<td>
<font><b>
long string long string long string long string long string long string long string long string
<select id="sel">
<option value="b">short string</option>
<option value="a">long string long string long string long string</option>
</select>
</b></font>
</td>
</tr>
</tbody></table>
</body></html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html class="reftest-wait"><head><title></title></head>
<body onload="document.documentElement.className='';">
<table width="400">
<tbody><tr>
<td>
<font><b>
long string long string long string long string long string long string long string long string
<select id="sel">
<option value="a">long string long string long string long string</option>
<option value="b">short string</option>
</select>
</b></font>
</td>
</tr>
</tbody></table>
<script>
sel = document.getElementById('sel');
sel.selectedIndex=1;
</script>
</body></html>

View File

@ -223,6 +223,7 @@ fails-if(MOZ_WIDGET_TOOLKIT!="cocoa") HTTP == 289480.html#top 289480-ref.html #
== 300691-1f.html 300691-1-ref.html
== 301726-1.html 301726-1-ref.html
!= 301726-2.html 301726-2-ref.html
== 302379.html 302379-ref.html
== 306630-1.html 306630-1-ref.html
== 306660-1.html 306660-1-ref.html
== 306660-2.html 306660-2-ref.html