This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10615 - The asp.net imagebutton is not recognized correctly
Summary: The asp.net imagebutton is not recognized correctly
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://www.readytomarket.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-12 20:33 UTC by Maxemilian Hilbrand
Modified: 2011-08-23 20:05 UTC (History)
0 users

See Also:


Attachments

Description Maxemilian Hilbrand 2010-09-12 20:33:54 UTC
Hi there,
we use an asp.net image button on our website. asp.net generally generates a style="border-width:0px" into the input field. 
I have seen a newsgroup discussion entry (which was not answered) from 2008, where a user had a similar problem. 

Your checker displays a code, different to the original source code of the page. It displays the following error:

 Line 141, Column 124: there is no attribute "border" 
src="images/button-suchen.png" border="0" /><input name="ctl00$ctl13" type="te

BUT: There is not attribute border="0" in the source of our pages. It cost about 4 hours to seek the complete website for this attribute, but it's simply not set, nowhere. I assume you have a bug in the parser.
Please let me know when you have fixed this problem because we want to pass the test. 

by the way: nearly no one of the big players pass your test...
Comment 1 Ville Skyttä 2011-08-23 20:05:07 UTC
Validator does not invent the border="0", asp.net does some things under the hood.

http://www.solutioncottage.com/ShowSolution.aspx?solID=161
http://forums.asp.net/t/888319.aspx/2/10