PhD doesn't use the "align" attribute in xhtml output (original) (raw)

| Bug #45570 | PhD doesn't use the "align" attribute in xhtml output | | | | | ------------------------------ | --------------------------------------------------------------- | --------- | -------------------------------------------------------------------------------------------------------------- | | | Submitted: | 2008-07-20 14:55 UTC | Modified: | 2009-01-02 00:40 UTC | | | From: | loudi@php.net | Assigned: | bjori (profile) | | | Status: | Closed | Package: | Doc Build problem | | | PHP Version: | Irrelevant | OS: | Irrelevant | | | Private report: | No | CVE-ID: | None | |

[2008-07-20 14:55 UTC] loudi@php.net

Description:

When adding align attribute in a (in docbook5 /table/tgroup/), it's neither used as a nor a attribute.

Reproduce code:

Resource-Parameter Matrix Key Value Foo Bar

Expected result:

 <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>
Foo table

Actual result:

 <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>
Foo table

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

[2009-01-02 00:40 UTC] bjori@php.net

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.