[ 
https://issues.apache.org/jira/browse/TAPESTRY-1231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse Kuhnert updated TAPESTRY-1231:
------------------------------------

    Fix Version/s: 4.1.2

> org.apache.tapestry.form.ImageSubmit renders invalid XHTML attribute 
> 'border="0"'
> ---------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1231
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1231
>             Project: Tapestry
>          Issue Type: Sub-task
>          Components: Framework
>    Affects Versions: 4.0.2, 4.1.1
>            Reporter: David Davis
>             Fix For: 4.1.2
>
>
> ImageSubmit components renders invalid XHTML attribute 'border="0"' for 
> <input type="image" ...
> Index: ImageSubmit.java
> ===================================================================
> --- ImageSubmit.java    (revision 496491)
> +++ ImageSubmit.java    (working copy)
> @@ -69,9 +69,10 @@
>          // NN4 places a border unless you tell it otherwise.
>          // IE ignores the border attribute and never shows a border.
> +
> +        // 'border' is not XHTML compliant
> +        // writer.attribute("border", 0);
> -        writer.attribute("border", 0);
> -
>          writer.attribute("src", imageURL);
>          renderIdAttribute(writer, cycle);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to