[Bug 6003] New type of lists

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6003





--- Comment #1 from Vincent Hennebert <vhennebert@gmail.com>  2008-09-01 09:32:00 ---
I'm not sure new XSL Formatting Objects are needed to achieve such a layout.
This can be done by something like the following:
    <fo:block-container>
      <fo:block start-indent="3em" text-indent="-3em">
        <fo:inline font-weight="bold">Term Definition.</fo:inline>
        <fo:leader leader-length="1em"/>
        If definition is long, it continues on second line a little bit
indented. Nested term:
        <fo:block-container>
          <fo:block start-indent="3em" text-indent="-3em">
            <fo:inline font-weight="bold">Nested term.</fo:inline>
            <fo:leader leader-length="1em"/>
            Definition of nested term keeps the same value of indentation.
          </fo:block>
        </fo:block-container>
      </fo:block>
    </fo:block-container>

The block-container is used to reset the reference for start-indent. A solution
without the block-container is to set start-indent and text-indent resp. to 6em
and -6em, and so on, but obviously that requires to know the depth of the
definition list (might make the XSLT stage a little bit more complicated).


-- 
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.
You are the assignee for the bug.

Received on Monday, 1 September 2008 09:32:35 UTC