|
6 | 6 | <meta content="text/html; charset=utf-8" http-equiv=content-type> |
7 | 7 | <title>CSS Grid Template Layout Module</title> |
8 | 8 |
|
9 | | - <link href="http://purl.org/dc/terms/" rel=schema.dc> |
| 9 | + <link href="http://purl.org/dc/terms/" rel=schema.dcterms> |
10 | 10 | <link href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright" |
11 | | - rel=dc.rights> |
12 | | - <meta content="CSS Grid Template Layout Module" name=dc.title> |
13 | | - <meta content=text name=dc.type> |
14 | | - <meta content=2013-04-04 name=dc.date> |
15 | | - <meta content="Bert Bos" name=dc.creator> |
16 | | - <meta content="César Acebal" name=dc.creator> |
17 | | - <meta content=W3C name=dc.publisher> |
18 | | - <meta content="http://dev.w3.org/csswg/css3-layout/" name=dc.identifier> |
| 11 | + rel=dcterms.rights> |
| 12 | + <meta content="CSS Grid Template Layout Module" name=dcterms.title> |
| 13 | + <meta content=text name=dcterms.type> |
| 14 | + <meta content=2013-04-16 name=dcterms.date> |
| 15 | + <meta content="Bert Bos" name=dcterms.creator> |
| 16 | + <meta content="César Acebal" name=dcterms.creator> |
| 17 | + <meta content=W3C name=dcterms.publisher> |
| 18 | + <meta content="http://dev.w3.org/csswg/css3-layout/" |
| 19 | + name=dcterms.identifier> |
19 | 20 | <link href="../default.css" rel=stylesheet type="text/css"> |
20 | 21 | <style type="text/css"> |
21 | 22 | /* Just in case an incorrect max-width occurs in default.css */ |
|
37 | 38 | <h1 class=p-name>CSS Grid Template Layout Module</h1> |
38 | 39 |
|
39 | 40 | <h2 class="no-num no-toc" id=longstatus-date-3-august-2004>Editor's Draft |
40 | | - 4 April 2013</h2> |
| 41 | + 16 April 2013</h2> |
41 | 42 |
|
42 | 43 | <dl> |
43 | 44 | <dt>This version: |
@@ -4984,12 +4985,27 @@ <h4 id=select-after-pseudo><span class=secno>9.2.13. </span>Style the |
4984 | 4985 | valid and selects the parts of an EM that are rendered on the first line |
4985 | 4986 | of a P. |
4986 | 4987 |
|
| 4988 | + <p>Another possibility might be to set styles on ‘<code |
| 4989 | + class=css>::slot()</code>’ itself and only rely on inheritance. (This is |
| 4990 | + what is proposed by David Baron in <a href="#CSS-OVERFLOW-3" |
| 4991 | + rel=biblioentry>[CSS-OVERFLOW-3]<!--{{CSS-OVERFLOW-3}}--></a>.) Elements |
| 4992 | + inside a grid element then inherit from the slot inside which they are, |
| 4993 | + before they inherit from the grid element itself. |
| 4994 | + |
4987 | 4995 | <p>Yet another possibility is a generic ‘<code |
4988 | 4996 | class=css>region()</code>’ pseudo-element: |
4989 | 4997 |
|
4990 | 4998 | <pre>P::region(BODY::slot(c)) { color: yellow } |
4991 | 4999 | EM::region(P::first-line) { font-weight: normal }</pre> |
4992 | 5000 |
|
| 5001 | + <p>And <a href="#CSS3-REGIONS" |
| 5002 | + rel=biblioentry>[CSS3-REGIONS]<!--{{CSS3-REGIONS}}--></a> proposes an |
| 5003 | + at-rule, ‘<a href="#atregion"><code class=css>@region</code></a>’: |
| 5004 | + |
| 5005 | + <pre>@region ::slot(a) { |
| 5006 | + P {font-size: large} |
| 5007 | +}</pre> |
| 5008 | + |
4993 | 5009 | <p>Note that the specificity of the different alternative selectors would |
4994 | 5010 | not be the same. <a href="#CSS3-REGIONS" |
4995 | 5011 | rel=biblioentry>[CSS3-REGIONS]<!--{{CSS3-REGIONS}}--></a> defines that the |
@@ -5865,6 +5881,16 @@ <h2 class=no-num id=references>References</h2> |
5865 | 5881 | NY, USA. ISBN 978-1-4503-1116-8</dd> |
5866 | 5882 | <!----> |
5867 | 5883 |
|
| 5884 | + <dt id=CSS-OVERFLOW-3>[CSS-OVERFLOW-3] |
| 5885 | + |
| 5886 | + <dd>L. David Baron. <a |
| 5887 | + href="http://www.w3.org/TR/2013/WD-css-overflow-3-20130416/"><cite>CSS |
| 5888 | + Overflow Module Level 3.</cite></a> 16 April 2013. W3C Working Draft. |
| 5889 | + (Work in progress.) URL: <a |
| 5890 | + href="http://www.w3.org/TR/2013/WD-css-overflow-3-20130416/">http://www.w3.org/TR/2013/WD-css-overflow-3-20130416/</a> |
| 5891 | + </dd> |
| 5892 | + <!----> |
| 5893 | + |
5868 | 5894 | <dt id=CSS3-EXCLUSIONS>[CSS3-EXCLUSIONS] |
5869 | 5895 |
|
5870 | 5896 | <dd>Vincent Hardy; Rossen Atanassov; Alan Stearns. <a |
|
0 commit comments