Skip to content

Commit 1bf64ad

Browse files
author
Peter Linss
committed
merge
2 parents 08c1b07 + 3939805 commit 1bf64ad

2 files changed

Lines changed: 22 additions & 6 deletions

File tree

css-grid-2/Overview.bs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Group: csswg
77
Work Status: exploring
88
TR: https://www.w3.org/TR/css-grid-2/
99
ED: https://drafts.csswg.org/css-grid-2/
10-
Previous version: https://www.w3.org/TR/2018/WD-css-grid-2-20180206/
10+
Previous version: https://www.w3.org/TR/2018/WD-css-grid-2-20180427/
1111
Editor: Tab Atkins Jr., Google, http://www.xanthir.com/contact/, w3cid 42199
1212
Editor: Elika J. Etemad / fantasai, Invited Expert, http://fantasai.inkedblade.net/contact, w3cid 35400
1313
Editor: Rossen Atanassov, Microsoft, ratan@microsoft.com, w3cid 49885
@@ -104,7 +104,10 @@ Establishing a Subgrid</h3>
104104
indicates that the grid will adopt the spanned portion of its parent grid in that axis.
105105
Rather than being specified explicitly,
106106
the sizes of the grid rows/columns
107-
will be taken from the parent grid's definition.
107+
will be taken from the parent grid's definition,
108+
and the <a>subgrid</a>’s items will participate
109+
in the <a href="https://www.w3.org/TR/css-grid-1/#algo-content">intrinsic size calculations</a> ([[css-grid-1#algo-content]])
110+
of any tracks shared with the parent grid.
108111

109112
The <<line-name-list>> argument allows local naming of the grid lines propagated from the parent grid:
110113
if a <<line-name-list>> is given,
@@ -117,6 +120,10 @@ Establishing a Subgrid</h3>
117120
the initial value, ''grid-template-rows/none''.
118121
</dl>
119122

123+
Unlike those of a regular nested grid,
124+
a subgrid’s contents participate in its parent <a>grid formatting contex</a>;
125+
thus a subgrid does not establish an <a>independent formatting context</a>.
126+
120127
The syntax of <<line-name-list>> is defined as follows:
121128

122129
<pre class="prod">

css-images-3/Overview.bs

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,12 +1422,12 @@ Image Processing {#image-processing}
14221422

14231423
<pre class='propdef'>
14241424
Name: image-orientation
1425-
Value: from-image | <<angle>> | [ <<angle>>? flip ]
1426-
Initial: 0deg
1425+
Value: none | from-image | <<angle>> | [ <<angle>>? flip ]
1426+
Initial: none
14271427
Applies to: all elements
14281428
Inherited: yes
14291429
Media: visual
1430-
Computed value: an <<angle>>, rounded and normalized (see text), plus optionally a ''flip'' keyword
1430+
Computed value: the specified keyword, or an <<angle>>, rounded and normalized (see text), plus optionally a ''flip'' keyword
14311431
Animatable: no
14321432
</pre>
14331433

@@ -1443,9 +1443,16 @@ Image Processing {#image-processing}
14431443
* The height (width) property applies to the vertical (horizontal) dimension of the image,
14441444
<em>after</em> rotation.
14451445

1446+
Values other than ''image-orientation/none'' and ''from-image'' are
1447+
<em>optional</em> to implement and <em>deprecated</em> in CSS.
14461448
Values have the following meanings:
14471449

14481450
<dl dfn-type=value dfn-for=image-orientation>
1451+
<dt><dfn>none</dfn>
1452+
<dd>
1453+
No additional rotation is applied:
1454+
the image is oriented as encoded.
1455+
14491456
<dt><dfn>from-image</dfn>
14501457
<dd>
14511458
If the image has an orientation specified in its metadata,
@@ -1818,7 +1825,9 @@ Changes Since the <a href="https://www.w3.org/TR/2012/CR-css3-images-20120417/">
18181825

18191826
- The <css>image()</css> notation has been deferred to Level 4.
18201827
- The <css>image-resolution</css> property has been deferred to Level 4
1821-
- The 'image-orientation' property has been marked as At-Risk.
1828+
- The 'image-orientation' property has been marked as At-Risk,
1829+
the ''from-image'' and ''image-orientation/none'' keywords,
1830+
and the <<angle>> values deprecated.
18221831
- Added the 'image-rendering' property
18231832
- Added the ''cross-fade()'' notation
18241833
- Defined <a href="#interpolation">Interpolation</a>

0 commit comments

Comments
 (0)