Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / bugs / bug18664.html
blobfb73279062b772bd529adec4ca49f4c6d4c4796b
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2 <HTML>
3 <HEAD>
4 <TITLE>Mozilla Test: Table + DHTML Problem in Mozilla</TITLE>
5 <META name="author" content="Antti Huotari">
7 <SCRIPT type="text/javascript" language="javascript">
9 <!-- ===== hide
11 // window.onerror = null;
13 var agt = navigator.userAgent.toLowerCase ();
15 var is_major = parseInt (navigator.appVersion);
16 var is_minor = parseFloat (navigator.appVersion);
18 var is_nav = ((agt.indexOf('mozilla') != -1)
19 && (agt.indexOf('spoofer') == -1)
20 && (agt.indexOf('compatible') == -1)
21 && (agt.indexOf('opera') == -1)
22 && (agt.indexOf('webtv') == -1));
24 var is_nav5 = (is_nav && (is_major == 5));
25 var is_ie = (agt.indexOf("msie") != -1);
26 var is_ie5 = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0") != -1));
28 function moveTestdiv ()
30 document.getElementById('testDiv').style.left = 200 + 'px';
31 document.getElementById('testDiv').style.top = 200 + 'px';
34 function init ()
36 if (is_nav5 || is_ie5)
38 setTimeout ("moveTestdiv ()", 700)
42 // ===== hiding ends ===== -->
45 </SCRIPT>
47 </HEAD>
49 <BODY style="background: #999999; color: #000000;" onLoad="init()">
51 <div id="testDiv" style="position: absolute; left: 70px; top: 70px;">
52 <TABLE border="0" width="173" bgcolor="#CC6600" cellspacing="0" cellpadding="0">
53 <TR>
54 <TD><P align="center"><B>Testing</B></P></TD>
55 </TR>
56 </TABLE>
57 <TABLE border="0" width="173" cellspacing="0" cellpadding="0">
58 <TR>
59 <TD width="9" bgcolor="#666666">&nbsp;</TD>
60 <TD width="123" bgcolor="#FF9900">Test, test and test...</TD>
61 <TD width="9" bgcolor="#666666">&nbsp;</TD>
62 </TR>
63 </TABLE>
64 <TABLE border="0" width="173" bgcolor="#CC6600" cellspacing="0" cellpadding="0">
65 <TR>
66 <TD>&nbsp;</TD>
67 <TD>&nbsp;</TD>
68 <TD>&nbsp;</TD>
69 </TR>
70 </TABLE>
71 </DIV>
73 <P>Problem: Tables inside a DIV get border=1 after moving the DIV.
74 If you <A href="test2.html"><B>remove the border</B></A>
75 attribute from the tables, the border doesn't show up.</P>
76 </BODY>
77 </HTML>