#45570 [Opn->Csd]: PhD doesn't use the <colspec> "align" attribute in xhtml output
| From: | bjori@php.net | Date: | Fri, 02 Jan 2009 00:40:13 +0000 |
| Subject: | #45570 [Opn->Csd]: PhD doesn't use the <colspec> "align" attribute in xhtml output | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1688@lists.php.net to get a copy of this message | ||
ID: 45570
Updated by: bjori@php.net
Reported By: loudi@php.net
-Status: Open
+Status: Closed
Bug Type: Doc Build problem
Operating System: Irrelevant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: bjori
New Comment:
This bug has been fixed in CVS. Since the websites are not directly
updated from the CVS server, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.
Thank you for the report, and for helping us make PHP.net better.
Previous Comments:
------------------------------------------------------------------------
[2008-07-27 15:28:47] philip@php.net
Related bug:
http://bugs.php.net/bug.php?id=45318
------------------------------------------------------------------------
[2008-07-20 14:55:59] loudi@php.net
Description:
------------
When adding align attribute in a <colspec> (in docbook5
/table/tgroup/), it's neither used as a <td> nor a <th> attribute.
Reproduce code:
---------------
<table>
<title>Resource-Parameter Matrix</title>
<tgroup cols="5">
<colspec colnum="1" colname="col1" align="center"/>
<colspec colnum="2" colname="col2" align="center"/>
<thead>
<row>
<entry colname="col2">Key</entry>
<entry colname="col1">Value</entry>
</row>
</thead>
<tbody>
<row>
<entry colname="col1">Foo</entry>
<entry colname="col2">Bar</entry>
</row>
</tbody>
</tgroup>
</table>
Expected result:
----------------
<table border="5">
<caption><b>Foo table</b></caption>
<colgroup>
<col align="center" />
<col align="center" />
<thead valign="middle">
<tr valign="middle">
<th colspan="1" align="center">Key</th>
<th colspan="1" align="center">Value</th>
</tr>
</thead>
<tbody valign="middle" class="tbody">
<tr valign="middle">
<td colspan="1" rowspan="1" align="center">Foo</td>
<td colspan="1" rowspan="1" align="center">Bar</td>
</tr>
</tbody>
</colgroup>
</table>
Actual result:
--------------
<table border="5">
<caption><b>Foo table</b></caption>
<colgroup>
<col align="center" />
<col align="center" />
<thead valign="middle">
<tr valign="middle">
<th colspan="1">Key</th>
<th colspan="1">Value</th>
</tr>
</thead>
<tbody valign="middle" class="tbody">
<tr valign="middle">
<td colspan="1" rowspan="1" align="left">Foo</td>
<td colspan="1" rowspan="1" align="left">Bar</td>
</tr>
</tbody>
</colgroup>
</table>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45570&edit=1