[Checkins] SVN: plone.z3cform/trunk/ Remove <a name="" /> elements from the CRUD tbody.

Martijn Pieters mj at zopatista.com
Wed Jun 8 10:04:34 EDT 2011


Log message for revision 121892:
  Remove <a name="" /> elements from the CRUD tbody.
  
  No such elements are allowed in a tbody (outside of the table rows) and their presence here causes weird and wonderful side effects in modern browsers, as they get pushed outside of the table and are wrapped around other elements. Fun!
  
  Since they were not used anyway (there were never links pointing to them generated) it's best to just dump these.

Changed:
  U   plone.z3cform/trunk/docs/HISTORY.txt
  U   plone.z3cform/trunk/plone/z3cform/crud/crud-table.pt

-=-
Modified: plone.z3cform/trunk/docs/HISTORY.txt
===================================================================
--- plone.z3cform/trunk/docs/HISTORY.txt	2011-06-08 13:34:32 UTC (rev 121891)
+++ plone.z3cform/trunk/docs/HISTORY.txt	2011-06-08 14:04:33 UTC (rev 121892)
@@ -8,6 +8,11 @@
   updating it.
   [davisagli]
 
+* Remove <a name=""/> elements from inside the CRUD table TBODY element
+  they were otherwise unused (and illegal in that location of the HTML content
+  model).
+  [mj]
+
 0.7.6 - 2011-05-17
 ------------------
 

Modified: plone.z3cform/trunk/plone/z3cform/crud/crud-table.pt
===================================================================
--- plone.z3cform/trunk/plone/z3cform/crud/crud-table.pt	2011-06-08 13:34:32 UTC (rev 121891)
+++ plone.z3cform/trunk/plone/z3cform/crud/crud-table.pt	2011-06-08 14:04:33 UTC (rev 121892)
@@ -49,7 +49,6 @@
         </thead>
         <tbody>
           <tal:block repeat="row view/subforms">
-            <a name="" tal:attributes="name string:edit-${row/content_id}" />
             <tr tal:content="structure row/render"
                 tal:attributes="class python:repeat['row'].odd() and 'even' or 'odd'" />
           </tal:block>



More information about the checkins mailing list