tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Davis (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Created: (TAPESTRY-1231) org.apache.tapestry.form.ImageSubmit renders invalid XHTML attribute 'border="0"'
Date Mon, 15 Jan 2007 21:25:27 GMT
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.1.1, 4.0.2
            Reporter: David Davis


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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message