Roxas240 / flying-saucer

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

9.0.1 -- Start and type attribute handling #209

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. We have a ol tag as shown here <ol type="A" start="2"> and the same is not 
being identified by flying saucer.
2. In the pdf generated we see 1 2 3 instead of B C D

What is the expected output? What do you see instead?
we want the type and start attributes to be identified and the style be applied.

What version of the product are you using? On what operating system?
we are using 9.0.1 on windows xp

Please provide any additional information below.
we tried applying a style like below 
ol#upperAlpha > li {display: block }
ol#upperAlpha > li:before {content: counter(start, upper-alpha) ". "; 
counter-increment: start}

and the ol tag is <ol id="upperAlpha" style="counter-reset: start 2" >

by using this style the content of the list item is by default getting as 
list-style-position: inside even after explicitly trying to set it as outside.

Original issue reported on code.google.com by sandhy...@gmail.com on 11 Oct 2012 at 5:51