You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org> on 2007/02/02 13:48:05 UTC

[jira] Resolved: (TAPESTRY-1231) org.apache.tapestry.form.ImageSubmit renders invalid XHTML attribute 'border="0"'

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

Andreas Andreou resolved TAPESTRY-1231.
---------------------------------------

    Resolution: Fixed

thx for noticing

> 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
>         Assigned To: Andreas Andreou
>             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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org