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

Re: [CSS4] A way to wrap an arbitrary number of elements

From: Alan Stearns <stearns@adobe.com>
Date: Thu, 12 Jan 2012 03:37:45 -0800
To: Ambrose LI <ambrose.li@gmail.com>, "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
CC: WWW Style <www-style@w3.org>
Message-ID: <CB340609.A47E%stearns@adobe.com>
On 1/11/12 10:27 PM, "Ambrose LI" <ambrose.li@gmail.com> wrote:

> 2012/1/12 Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>:
>> (12/01/12 9:24), Alan Stearns wrote:
>>> The page is now up. So far it includes these possibilities for additional
>>> pseudo-elements:
>>> 1. Simple wrapping of a single element
>>> 2. Complex wrapping of an element range
>> I don't fully understand this requirement and it's relationship with 3.
>> Specifically, is root element, the first div element, or the missing
>> parent of these divs the 'context' element here? Namely, are you
>> wrapping the first N div elements in the document, the first div with
>> the next two div elements, or the first three divs in the mssing parent?

#2 could be specified as a child range from a parent, or as a sibling range
from the first element. I've added those possibilities and modified the
example markup.

> Therešs no relationship between 2 and 3.

Correct. 2, 3 and now 6 (Complex wrapping of ranges of similar elements) are
alternate ideas for grouping multiple elements together in a single wrapper
pseudo-element. Some, all or none of these ideas could be picked up.
> I find the wiki page incomprehensible until I went back and read the
> original thread. The wiki page should, IMHO, definitely link back to
> the original discussion thread.

Thanks for the feedback. I've added links to the thread Kenny referred to
and the thread from a few weeks ago discussing markup clutter.

Received on Thursday, 12 January 2012 11:40:49 UTC

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