Re: Bug in t1202-counters-17-d

On Monday 2006-11-20 23:50 +0000, Ian Hickson wrote:
> On Mon, 20 Nov 2006, L. David Baron wrote:
> >
> > On Monday 2006-11-20 15:12 +0100, Allan Sandfeld Jensen wrote:
> > > This test assumes that white-space doesn't collapse in generated content. This 
> > > is obviously wrong since generated content is defined to 
> > > :before, :after { write-space: pre-line }
> > 
> > I think that's a mistake in the sample default stylesheet [1].
> 
> Why? It was intended to grandfather in the CSS2 behaviour without 
> preventing white-space from applying to generated content.

Hrm.  I'd thought that was just an example for <BR>, but it was
actually more than that.

I suppose 'white-space' not inheriting into generated content is
actually a good thing, so I guess we should just fix the test to
specify 'white-space: pre' for the necessary pseudo-elements.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Tuesday, 21 November 2006 00:48:33 UTC