Re: Inline border / padding and nested blocks

2005-10-10 Thread Luca Furini
Manuel Mall wrote: inline_border_padding_block_nested.xml. If you run the test case as is you get a Expect inline sequence as first sequence when last paragraph is not null message. The first message refers to the first block in the testcase: I think this has something to do with the

Re: Inline border / padding and nested blocks

2005-10-10 Thread Manuel Mall
On Mon, 10 Oct 2005 08:38 pm, Luca Furini wrote: Manuel Mall wrote: snip/ If you comment everything out and uncomment the last block you get a ClassCastException on a Knuth element. This happens during LineLM.removeElementsForTrailingSpaces(): as you wrote some time ago, at the moment when

Re: Inline border / padding and nested blocks

2005-10-10 Thread Luca Furini
Manuel Mall wrote: Is that actually conceptually the right thing to do, that is removing the trailing spaces before the end of a block as part of the Knuth handling? For leading spaces it is done somewhere completely different (and currently in the same piece of code it is done incorrectly

Re: Inline border / padding and nested blocks

2005-10-10 Thread Manuel Mall
On Mon, 10 Oct 2005 09:38 pm, Luca Furini wrote: Manuel Mall wrote: Is that actually conceptually the right thing to do, that is removing the trailing spaces before the end of a block as part of the Knuth handling? For leading spaces it is done somewhere completely different (and

Re: Inline border / padding and nested blocks

2005-10-07 Thread Luca Furini
Manuel Mall I would appreciate if you could please have a look at test case inline_border_padding_block_nested.xml. If you run the test case as is you get a Expect inline sequence as first sequence when last paragraph is not null message. If you comment everything out and uncomment the last