W3C home > Mailing lists > Public > www-style@w3.org > February 2012

Re: [css3-page][css3-mediaqueries] Changing element styles on page breaks

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 24 Feb 2012 13:45:43 -0500
Message-ID: <4F47DAD7.60401@mit.edu>
To: www-style@w3.org
On 2/24/12 1:40 PM, Boris Zbarsky wrote:
>> If you tried to *force* the first structure (by declaring that the
>> first part
>> of the<span> is a child of the ::first-line), you get a *lot* of
>> things potentially going wrong.
> Like what?
> Note that you do have to make sure that the <span> inherits properties
> that are not inherited by default from the <p>, not from the
> <::first-line>. If you do that, things more or less work.

Note that describing this behavior in spec terms, of course, is a pain. 
  There are better solutions that have been proposed.  Maybe sometime 
someone will actually take the time to put those in the spec....

Received on Friday, 24 February 2012 18:47:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:12 UTC