W3C home > Mailing lists > Public > www-style@w3.org > March 2008

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

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 7 Mar 2008 14:40:38 -0800
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-style@w3.org
Message-ID: <20080307224038.GA25318@ridley.dbaron.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:02 GMT