[Mono-bugs] [Bug 82822][Nor] New - backcolor strange behaviour

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 12 11:24:52 EDT 2007


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=82822

--- shadow/82822	2007-09-12 11:24:52.000000000 -0400
+++ shadow/82822.tmp.24839	2007-09-12 11:24:52.000000000 -0400
@@ -0,0 +1,72 @@
+Bug#: 82822
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com                            
+ReportedBy: informatique.internet at fiducial.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: backcolor strange behaviour
+
+Description of Problem:
+If you put #316AC5 as a color on an asp.net component mono replace it by
+highlight...
+
+The problem is that highlight is theme dependant and if you "hard" code
+#316AC5 that is that you want #316AC5 and not highlight
+
+Steps to reproduce the problem:
+1. try this aspx:
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+	<title>pagetest</title>
+</head>
+<body>
+	<form id="form1" runat="server">
+		<asp:Button id="button1" runat="server" backcolor="#316AC5" /> 
+	</form>
+</body>
+</html>
+2. run xsp and lauch firefox
+3. Html generated:
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+	<title>pagetest</title>
+</head>
+<body>
+	<form name="form1" method="post" action="pagetest.aspx" id="form1">
+<div>
+	<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="DAAA" />
+
+</div>
+		<input type="submit" name="button1" value="" id="button1"
+style="background-color:highlight;" /> 
+	</form>
+
+</body>
+</html>
+
+Actual Results:
+background-color:highlight;
+Expected Results:
+background-color:#316AC5; 
+as it does it MS.NET
+
+How often does this happen? 
+always
+
+Additional Information:
+It's a regression because i've an old mono box (1.1.17) and this behaviour
+is not present


More information about the mono-bugs mailing list