if a
datatable has no rows to stay html/xhtml dtd conformant?
[ https://issues.apache.org/jira/browse/MYFACES-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541064 ]
Manfred Geiler commented on MYFACES-1764:
-----------------------------------------
Did some tests with Firefox 2.0.0.9 and IE 6.
Looks ok and http://validator.w3.org/ is now happy with dataTables that render no rows.
> always render <tr><td> if a datatable has no rows to stay html/xhtml dtd conformant?
> ------------------------------------------------------------------------------------
>
> Key: MYFACES-1764
> URL: https://issues.apache.org/jira/browse/MYFACES-1764
> Project: MyFaces Core
> Issue Type: Improvement
> Components: General
> Reporter: Manfred Geiler
> Priority: Minor
> Attachments: always_tr_in_tbody.patch
>
>
> According to dtd (html and xhtml) a <tbody> must not be empty. it must at least have one <tr> which must at least have one <td>.
> And in xhtml each <table> must have a <tbody>.
> So, what should the dataTable render when there is a rowCount of 0?
> Perhaps just rendering <tbody><tr><td></td></tr></tbody> is ok? Empty cells won't be rendered anyway.
> But is it really ok for all browsers?
> WDYT?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|