[Mono-bugs] [Bug 79437][Maj] New - HtmlTableCell problem

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 19 05:18:03 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by informatique.internet at fiducial.fr.

http://bugzilla.ximian.com/show_bug.cgi?id=79437

--- shadow/79437	2006-09-19 05:18:03.000000000 -0400
+++ shadow/79437.tmp.2390	2006-09-19 05:18:03.000000000 -0400
@@ -0,0 +1,109 @@
+Bug#: 79437
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: informatique.internet at fiducial.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: HtmlTableCell problem
+
+Description of Problem:
+I've an HtmlTableCell which contains a table. Inside this table i've an non
+ xhtml element (<br> or <img>)...
+
+
+Steps to reproduce the problem:
+1. try this aspx :
+
+<%@ Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
+Transitional//EN">
+<html><head>
+  <title>Default</title>
+</head><body>
+<form id="form1" runat="server">
+	<Table>
+		<tr>
+		  <td id="cell1" runat="server" visible="false">
+		    <table id="tableMessage" >
+                    <tr>										<td >										<br>										</td>
+                    </tr>
+                    </table>
+		   </td>
+		  <td>
+		   2ème cellule
+		  </td>
+		</tr>
+	</table>
+	</form>
+	</body></html>
+
+Actual Results:
+HTML Generated
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head>
+  <title>Default</title>
+</head><body>
+<form name="form1" method="post" action="Default.aspx" id="form1">
+<input type="hidden" name="__VIEWSTATE" value="" />
+
+	<Table>
+		<tr>
+		    </tr>
+			</table>
+
+		</td>
+		<td>
+		2ème cellule
+		</td>
+		</tr>
+	</Table>
+	</form>
+	</body></html>
+
+
+
+
+Expected Results:
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head>
+  <title>Default</title>
+
+	
+</head><body>
+hello!
+	
+<form name="form1" method="post" action="Default.aspx" id="form1">
+<input type="hidden" name="__VIEWSTATE" value="" />
+
+	<Table>
+		<tr>
+		
+		<td>
+
+		2ème cellule
+		</td>
+		</tr>
+	</Table>
+
+	</form>
+
+	</body></html>
+
+How often does this happen? 
+Always
+
+Additional Information:
+It works if you change the <br> into <br/>
+(The problem is that visual studio generates non xhtml elements <br> and <img>)
+
+Thanks


More information about the mono-bugs mailing list