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

Re: [css3-regions] can ::before/::after become a CSS Region?

From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
Date: Wed, 07 Nov 2012 21:01:54 +0800
Message-ID: <509A5BC2.5080500@oupeng.com>
To: Alan Stearns <stearns@adobe.com>
CC: WWW Style <www-style@w3.org>
(12/11/07 20:35), Alan Stearns wrote:
>>  span::before { display: block; flow-from: test; flow-into: test;
>> counter-reset: x 10; } span::after { content: counter(x); }
>> Again the former suggests "10" and I can't really tell what the latter
>> is suggesting.
> (I changed display to block based on your correction)
> In this case, flow-into is ignored as it does not apply to ::before
> pseudo-elements, so there is not a circular dependency.

Ah! You are right. I forgot about that.

> So the result should be "10".
> (by the way, I very much appreciate your detailed read of CSS Regions in
> the separate long post. I am going to be mostly away from email for the
> next two days, so I'm unfortunately not going to be able to respond to it
> until Friday this week)

Take your time.

Web Specialist, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/
Received on Wednesday, 7 November 2012 13:02:53 UTC

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