Roxas240 / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

ul and ol lists don't support start index, or restart. #189

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
html4 removed the ul:start and li:value attributes, but 5 re-added them.  It 
wouldn't hurt to support it.

Convert the following html to pdf.
<ul start="2">
  <li>blah</li>
  <li value="4">foo</li>
</ul>

What is the expected output?
2. blah
4. foo

What do you see instead?
1.blah
2.foo

What version of the product are you using? On what operating system?
R8, windows xp and debian.

Please provide any additional information below.
I've attached a minor modification of the R8 version of LayoutContext.java and 
BoxBuilder.java to support this (as required under the license)

Original issue reported on code.google.com by matsonda...@gmail.com on 18 Jan 2012 at 3:01

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, I mean <ol> not <ul>.

Original comment by matsonda...@gmail.com on 18 Jan 2012 at 3:04