Re: [CSS21] white-space default on :before and :after (was Re: Microsoft contributing test cases to the CSS WG)

On Friday 2008-03-07 23:34 +0100, Bjoern Hoehrmann wrote:
> * L. David Baron wrote:
> >What I was proposing was:
> >
> >(1) In http://www.w3.org/TR/2007/CR-CSS21-20070719/sample.html ,
> >remove the line:
> >
> ># :before, :after { white-space: pre-line }
> 
> I agree with your other edit, but shouldn't this really be to change:
> 
>   br:before       { content: "\A" }
>   :before, :after { white-space: pre-line }
> 
> into
> 
>   br:before       { content: "\A" }
>   br:before       { white-space: pre-line }
> 
> or equivalent?

Yes, you're correct.  So (1) should instead be to replace the two
lines:
  # br:before       { content: "\A" }
  # :before, :after { white-space: pre-line }
with:
  # br:before       { content: "\A"; white-space: pre-line }

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Friday, 7 March 2008 22:40:53 UTC