W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > December 2009

[Bug 8404] Refocus the figure element back to being a figure

From: <bugzilla@wiggum.w3.org>
Date: Tue, 01 Dec 2009 00:13:46 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1NFGNG-0007rc-RP@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8404





--- Comment #27 from Gavin Carothers <gavin@carothers.name>  2009-12-01 00:13:46 ---
(In reply to comment #22)
> 
> How are DocBook converted to HTML now? There is no figure in HTML4, or XHTML.

            <figure>
                <title>Sample Figure</title>
                <informaltable>
                    <tbody>
                        <tr>
                            <td>Cell</td>
                        </tr>
                    </tbody>
                </informaltable>
            </figure>

Becomes

<div class="figure">
    <p class="title">
        <b>Figure 1. Sample Figure</b>
    </p>
    <div class="figure-contents">
        <table id="d0e12">
            <tbody>
                <tr>
                    <td>Cell</td>
                </tr>
            </tbody>
        </table>
    </div>
</div>


I admit to having written code to convert HTML tables into images for use on
the Kindle. This was not... ideal.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 1 December 2009 00:13:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:42 UTC