W3C home > Mailing lists > Public > public-css-commits@w3.org > February 2012

csswg/css3-layout new.src.html,1.2,1.3

From: Bert Bos via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 14 Feb 2012 01:04:30 +0000
To: public-css-commits@w3.org
Message-Id: <E1Rx6oo-00089O-9B@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-layout
In directory hutz:/tmp/cvs-serv31306

Modified Files:
Log Message:
More text about creating new names for slots with '::slot()'.

Index: new.src.html
RCS file: /sources/public/csswg/css3-layout/new.src.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- new.src.html	14 Feb 2012 00:37:14 -0000	1.2
+++ new.src.html	14 Feb 2012 01:04:28 -0000	1.3
@@ -1191,6 +1191,11 @@
+<p>All content positioned into the same slot, whether positioned by
+name ('position: a'), by coordinates ('position: 2 3') or implicitly
+by flowing into the default slot, forms a single flow, with content in
+document order.
 <div class=issue>
 <p>css3-grid-align allows to define a position either by saying how
 many rows/columns it spans, or by saying  at which row and column
@@ -1270,7 +1275,8 @@
 <p class=issue>The ''::slot()'' pseudo-element can also be used to
-create slots that overlap with other slots.
+create slots that overlap with other slots and to create alternative
+(alias) names for slots.
 <div class="example issue">
 <p>For example, the following creates a slot that overlaps two other
@@ -1285,6 +1291,15 @@
+<p>If a '::slot()' pseudo-element refers to a name that already exists
+in the element's grid element, than any 'position' property on that
+pseudo-element is ignored.
+<p>If a '::slot()' pseudo-element defines a new slot that coincides
+exactly with another slot in the element's grid element, then it is in
+fact the same slot, and the new name is an alias for that
+slot. <span class=issue>Unless it has a different 'z-index'?</span>
 <p>The selector ''<var>E</var>::slot(<var>X</var>)'' selects the part
 of an element <var>E</var> that falls inside the slot with name
 <var>X</var> of a template <var>T</var>, where <var>T</var> is either
Received on Tuesday, 14 February 2012 01:04:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:50 UTC