44< head
55profile ="http://microformats.org/profile/hcard http://microformats.org/wiki/rel-license ">
66< meta content ="text/html; charset=utf-8 " http-equiv =content-type >
7- < title > CSS Grid Template Layout Module</ title >
7+ < title > CSS Template Layout Module</ title >
88< link href ="../default.css " rel =stylesheet type ="text/css ">
99
1010< style type ="text/css ">
2626
2727< body class =h-entry >
2828< div class =head > <!--logo-->
29- < h1 class =p-name > CSS Grid Template Layout Module</ h1 >
29+ < h1 class =p-name > CSS Template Layout Module</ h1 >
3030< h2 class ="no-num no-toc "> [LONGSTATUS] [DATE: 3 August 2004]</ h2 >
3131
3232< dl >
@@ -36,7 +36,7 @@ <h2 class="no-num no-toc">[LONGSTATUS] [DATE: 3 August 2004]</h2>
3636
3737 < dt > Latest version:
3838
39- < dd > < a href ="[LATEST] "> http://www.w3.org/TR/css3-layout /</ a >
39+ < dd > < a href ="[LATEST] "> http://www.w3.org/TR/css-template-3 /</ a >
4040
4141 < dt > Previous version:
4242
@@ -47,7 +47,7 @@ <h2 class="no-num no-toc">[LONGSTATUS] [DATE: 3 August 2004]</h2>
4747
4848 < dd > < a
4949 href ="mailto:www-style@w3.org?subject=%5Bcss3-layout%5D%20feedback "
50- > www-style@w3.org</ a > with subject line “[css3-layout ]
50+ > www-style@w3.org</ a > with subject line “[css-template-3 ]
5151 < var > … message topic …</ var > ” (< a
5252 rel ="discussion "
5353 href ="http://lists.w3.org/Archives/Public/www-style/ "> archives</ a > )
@@ -62,6 +62,11 @@ <h2 class="no-num no-toc">[LONGSTATUS] [DATE: 3 August 2004]</h2>
6262 < dd class ="p-author h-card vcard "> < span class ="p-name fn "> César
6363 Acebal</ span > (< span class ="p-org org h-org "> University of
6464 Oviedo</ span > )
65+
66+ < dt > Editors' draft:
67+
68+ < dd > < a href ="http://dev.w3.org/csswg/css-template/ "
69+ > http://dev.w3.org/csswg/css-template/</ a >
6570</ dl >
6671<!--copyright-->
6772< hr title ="Separator for header ">
@@ -81,10 +86,12 @@ <h2 class="no-num no-toc" id=abstract>Abstract</h2>
8186
8287< p > CSS is a simple, declarative language for creating style sheets that
8388specify the rendering of HTML and other structured documents. This
89+ Note contains experimental ideas for layout templates and alternative
90+ layout models in CSS.
91+
92+ < p > At the moment, this
8493module defines a typographic grid for CSS. It has
85- features to set up a grid template and to flow content into it. (A
86- separate module, [[CSS3-GRID-LAYOUT]], uses the same template for
87- absolutely positioning elements.)
94+ features to set up a grid template and to flow content into it.
8895
8996< p > The 'grid' property sets up a matrix of rows and
9097columns and designates empty areas and areas for content (called
@@ -127,11 +134,12 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
127134href ="http://www.w3.org/Style/CSS/Tracker/products/15 " > “Details on
128135Product CSS3 Template Layout.”</ a >
129136
130- < p class =issue id =tab-cards > This draft also used to contain a layout
131- model based on the “stack of cards” idea, with all cards the same size
132- and tabs for selecting which card is “on top” (i.e., visible). Where
133- should that model be defined? (< a
134- href ="http://www.w3.org/Style/CSS/Tracker/issues/??? "> ISSUE-???</ a > )
137+ <!-- Decided at Sep 2014 ftf: -->
138+ < p > < em > This document currently serves as a repository for ideas around
139+ using templates for laying out elements, regions or pages; and for
140+ various alternative layout models. It is expected to be updated, but
141+ it is not expected to become a W3C Recommendation in this
142+ form. Instead, ideas may migrate to other modules of CSS.</ em >
135143
136144<!--=================================================================-->
137145
@@ -846,6 +854,27 @@ <h3 id=accessibility>A note about accessibility</h3>
846854
847855<!--=================================================================-->
848856
857+ < h2 > Stack of cards layout</ h2 >
858+
859+ < p class =issue > This is a placeholder.
860+
861+ < p > A stack is a layout model based on the metaphor of a stack of index
862+ cards: sibling elements are formatted as boxes (< dfn
863+ title ="card "> “cards”</ dfn > ) of the same size at the same position with
864+ a < dfn > tab</ dfn > sticking out at one side that contains a title for
865+ that card. All tabs are visible (and automatically positioned so they
866+ overlap as little as possible), but only one box is visible at a
867+ time. In an interactive UA, the user can activate a card (e.g., by
868+ clicking on a tab, or by pressing page-down), which displays that card
869+ and hides all the others in the stack. E.g., a rule 'display: stack'
870+ could make an element into a stack of cards (all children become
871+ cards, sized to the largest among them) and 'display: tab' could make
872+ their descendants into titles for the cards. Maybe other properties
873+ determine the style of the tabs and on which side they display (top,
874+ bottom, left or right).
875+
876+ <!--=================================================================-->
877+
849878< h2 > Declaring templates</ h2 >
850879
851880< p > Grid templates are declared with the 'grid-template-areas', 'grid-template-rows',
@@ -2223,8 +2252,8 @@ <h2 id=flow>Flowing content into slots: 'flow'</h2>
22232252
22242253<!--=================================================================-->
22252254
2226- < h2 id =absolute > Elements with 'display' set to '' grid'' or
2227- '' inline-grid' '</ h2 >
2255+ < h2 id =absolute > Comparison with 'display: grid' and 'display:
2256+ inline-grid'</ h2 >
22282257
22292258< p > < em > This section is not normative</ em >
22302259
@@ -2237,7 +2266,7 @@ <h2 id=absolute>Elements with 'display' set to ''grid'' or
22372266grid. (Although there are also properties to set their positions
22382267explicitly.)
22392268
2240- < p > ''Grid'' and ''inline-grid'' also cause the template to be grow
2269+ < p > ''Grid'' and ''inline-grid'' also cause the template to grow
22412270automatically with either extra rows or extra columns, if there are
22422271more children than predefined slots.
22432272
0 commit comments