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

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....

-Boris

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