Skip to content

Commit 50dd697

Browse files
committed
merge
2 parents 332e643 + b9e1c43 commit 50dd697

File tree

7 files changed

+300
-928
lines changed

7 files changed

+300
-928
lines changed

css-align/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ Baseline Self-Alignment</h3>
827827
<dd>
828828
A <a>grid item</a> participates in first (last) <a>baseline self-alignment</a>
829829
in either its row or column (whichever matches its <a>inline axis</a>)
830-
if its 'justify-self' or 'align-self' property (whichever matches its <a>inline axis</a>)
830+
if its 'justify-self' or 'align-self' property (whichever affects its <a>block axis</a>)
831831
computes to ''baseline'' (''last-baseline'').
832832
</dl>
833833

css-align/Overview.html

+17-23
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="cont
104104
<dd><span><a href="mailto:www-style@w3.org?subject=%5Bcss-align%5D%20YOUR%20TOPIC%20HERE">www-style@w3.org</a> with subject line “<kbd>[css-align] <var>… message topic …</var></kbd>” (<a href="http://lists.w3.org/Archives/Public/www-style/" rel="discussion">archives</a>)</span>
105105
<dt>Issue Tracking:
106106
<dd><a href="http://www.w3.org/Style/CSS/Tracker/products/39">Tracker</a>
107+
<dd><a href="https://github.com/w3c/csswg-drafts/issues/">GitHub</a>
107108
<dd><a href="#issues-index">Inline In Spec</a>
108109
<dt class="editor">Editors:
109110
<dd class="editor p-author h-card vcard"><a class="p-name fn u-url url" href="http://fantasai.inkedblade.net/contact">Elika J. Etemad</a> (<span class="p-org org">Invited Expert</span>)
@@ -669,16 +670,14 @@ <h3 class="heading settled" data-level="3.2" id="baseline"><span class="secno">3
669670
these values trigger <a data-link-type="dfn" href="#baseline-content_alignment">baseline content-alignment</a>,
670671
shifting the content of the box within the box,
671672
and may also affect the sizing of the box itself.
672-
See <a href="#baseline-align-content">§4.1
673-
Baseline Content-Alignment</a>.</p>
673+
See <a href="#baseline-align-content">§4.1 Baseline Content-Alignment</a>.</p>
674674

675675

676676
<p>When specified for <a class="property" data-link-type="propdesc" href="#propdef-align-self">align-self</a>/<a class="property" data-link-type="propdesc" href="#propdef-justify-self">justify-self</a>,
677677
these values trigger <a data-link-type="dfn" href="#baseline-self_alignment">baseline self-alignment</a>,
678678
shifting the entire box within its container,
679679
which may affect the sizing of its container.
680-
See <a href="#baseline-align-self">§5.3
681-
Baseline Self-Alignment</a>.</p>
680+
See <a href="#baseline-align-self">§5.3 Baseline Self-Alignment</a>.</p>
682681

683682

684683
<p>If both <a data-link-type="dfn" href="#baseline-content_alignment">baseline content-alignment</a> <em>and</em> <a data-link-type="dfn" href="#baseline-self_alignment">baseline self-alignment</a> are specified in the same axis on the same box,
@@ -874,8 +873,7 @@ <h2 class="heading settled" data-level="4" id="content-distribution"><span class
874873

875874

876875
<p>Aligns the contents of the box as a whole along the box’s inline/row/main axis.
877-
Values other than <dfn class="css" data-dfn-for="justify-content, align-content" data-dfn-type="value" data-export="" id="valdef-justify-content-auto">auto<a class="self-link" href="#valdef-justify-content-auto"></a></dfn> are defined in <a href="#alignment-values">§3
878-
Alignment Values</a>, above.
876+
Values other than <dfn class="css" data-dfn-for="justify-content, align-content" data-dfn-type="value" data-export="" id="valdef-justify-content-auto">auto<a class="self-link" href="#valdef-justify-content-auto"></a></dfn> are defined in <a href="#alignment-values">§3 Alignment Values</a>, above.
879877
If both a <a class="production css" data-link-type="type" href="#typedef-content-distribution" title="Expands to: space-around | stretch | space-between | space-evenly">&lt;content-distribution></a> and <a class="production css" data-link-type="type" href="#typedef-content-position" title="Expands to: right | center | flex-start | left | flex-end | end | start">&lt;content-position></a> are given,
880878
the <a class="production css" data-link-type="type" href="#typedef-content-position" title="Expands to: right | center | flex-start | left | flex-end | end | start">&lt;content-position></a> provides an explicit <a data-link-type="dfn" href="#fallback-alignment">fallback alignment</a>.</p>
881879

@@ -1031,8 +1029,7 @@ <h3 class="heading settled" data-level="4.1" id="baseline-align-content"><span c
10311029
its <a data-link-type="dfn" href="#alignment-subject">alignment subject</a> is aligned to the start (end) edge of its <a data-link-type="dfn" href="#alignment-container">alignment container</a>
10321030
and the minimum necessary extra space is added between its start (end) edge and the <a data-link-type="dfn" href="#alignment-subject">alignment subject</a>
10331031
to match its <a data-link-type="dfn" href="#alignment-baseline">alignment baseline</a> in that axis up to that of its <a data-link-type="dfn" href="#baseline_sharing-group">baseline-sharing group</a>.
1034-
See <a href="#align-by-baseline">§7.3
1035-
Aligning Boxes by Baseline</a>.
1032+
See <a href="#align-by-baseline">§7.3 Aligning Boxes by Baseline</a>.
10361033
This increases the intrinsic size of the box.</p>
10371034

10381035

@@ -1135,8 +1132,7 @@ <h3 class="heading settled" data-level="5.1" id="justify-self-property"><span cl
11351132
Unless otherwise specified, this value falls back to <a class="css" data-link-type="maybe" href="#valdef-self-position-flex-start">flex-start</a>.</p>
11361133

11371134

1138-
<p>All other values are as defined in <a href="#alignment-values">§3
1139-
Alignment Values</a>, above.</p>
1135+
<p>All other values are as defined in <a href="#alignment-values">§3 Alignment Values</a>, above.</p>
11401136

11411137

11421138
<hr>
@@ -1179,7 +1175,7 @@ <h3 class="heading settled" data-level="5.1" id="justify-self-property"><span cl
11791175

11801176

11811177
<p>If either margin in this dimension is <span class="css">auto</span>,
1182-
or either offset property in this dimension is <span class="css">auto</span>,
1178+
or either offset property in this dimension is <a class="css" data-link-type="maybe" href="http://dev.w3.org/csswg/css-position-3/#valdef-top-auto">auto</a>,
11831179
<a class="property" data-link-type="propdesc" href="#propdef-justify-self">justify-self</a> has no effect.
11841180
Otherwise, its effects are defined below.</p>
11851181

@@ -1290,12 +1286,10 @@ <h3 class="heading settled" data-level="5.2" id="align-self-property"><span clas
12901286
<a href="#alignment-values">as described by its alignment value</a>.</p>
12911287

12921288

1293-
<p>The <a class="css" data-link-type="maybe" href="#valdef-justify-self-auto">auto</a> and <a class="css" data-link-type="maybe" href="http://dev.w3.org/csswg/css-flexbox-1/#valdef-align-items-stretch">stretch</a> keywords are as defined in <a href="#justify-self-property">§5.1
1294-
Inline/Main-Axis Alignment: the justify-self property</a>.</p>
1289+
<p>The <a class="css" data-link-type="maybe" href="#valdef-justify-self-auto">auto</a> and <a class="css" data-link-type="maybe" href="http://dev.w3.org/csswg/css-flexbox-1/#valdef-align-items-stretch">stretch</a> keywords are as defined in <a href="#justify-self-property">§5.1 Inline/Main-Axis Alignment: the justify-self property</a>.</p>
12951290

12961291

1297-
<p>All other values are as defined in <a href="#alignment-values">§3
1298-
Alignment Values</a>, above.</p>
1292+
<p>All other values are as defined in <a href="#alignment-values">§3 Alignment Values</a>, above.</p>
12991293

13001294

13011295
<hr>
@@ -1318,7 +1312,7 @@ <h3 class="heading settled" data-level="5.2" id="align-self-property"><span clas
13181312

13191313

13201314
<p>When neither margin in this dimension is <span class="css">auto</span>
1321-
and neither offset property in this dimension is <span class="css">auto</span>,
1315+
and neither offset property in this dimension is <a class="css" data-link-type="maybe" href="http://dev.w3.org/csswg/css-position-3/#valdef-top-auto">auto</a>,
13221316
values other than <a class="css" data-link-type="maybe" href="http://dev.w3.org/csswg/css-flexbox-1/#valdef-align-items-stretch">stretch</a> cause <a href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height">non-replaced absolutely-positioned boxes</a>
13231317
to use shrink-to-fit sizing for calculating <span class="css">auto</span> measures,
13241318
and <a class="property" data-link-type="propdesc" href="#propdef-align-self">align-self</a> dictates alignment as follows:</p>
@@ -1417,7 +1411,7 @@ <h3 class="heading settled" data-level="5.3" id="baseline-align-self"><span clas
14171411
<dd>
14181412
A <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-grid-1/#grid-item">grid item</a> participates in first (last) <a data-link-type="dfn" href="#baseline-self_alignment">baseline self-alignment</a>
14191413
in either its row or column (whichever matches its <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-writing-modes-3/#inline-axis">inline axis</a>)
1420-
if its <a class="property" data-link-type="propdesc" href="#propdef-justify-self">justify-self</a> or <a class="property" data-link-type="propdesc" href="#propdef-align-self">align-self</a> property (whichever matches its <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-writing-modes-3/#inline-axis">inline axis</a>)
1414+
if its <a class="property" data-link-type="propdesc" href="#propdef-justify-self">justify-self</a> or <a class="property" data-link-type="propdesc" href="#propdef-align-self">align-self</a> property (whichever affects its <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-writing-modes-3/#block-axis">block axis</a>)
14211415
computes to <a class="css" data-link-type="maybe" href="#valdef-justify-content-baseline">baseline</a> (<a class="css" data-link-type="maybe" href="#valdef-justify-content-last-baseline">last-baseline</a>).
14221416

14231417
</dl>
@@ -1432,8 +1426,7 @@ <h3 class="heading settled" data-level="5.3" id="baseline-align-self"><span clas
14321426
its <a data-link-type="dfn" href="#alignment-subject">alignment subject</a> is aligned to the start (end) edge of its <a data-link-type="dfn" href="#alignment-container">alignment container</a>
14331427
and the minimum necessary extra space is added between its start (end) edge and the <a data-link-type="dfn" href="#alignment-container">alignment container</a>
14341428
to match its <a data-link-type="dfn" href="#alignment-baseline">alignment baseline</a> in that axis up to that of its <a data-link-type="dfn" href="#baseline_sharing-group">baseline-sharing group</a>.
1435-
See <a href="#align-by-baseline">§7.3
1436-
Aligning Boxes by Baseline</a>.
1429+
See <a href="#align-by-baseline">§7.3 Aligning Boxes by Baseline</a>.
14371430
This may increase the intrinsic size contribution of the <a data-link-type="dfn" href="#alignment-subject">alignment subject</a>.</p>
14381431

14391432

@@ -2112,6 +2105,7 @@ <h3 class="no-num heading settled" id="index-defined-elsewhere"><span class="con
21122105
</ul>
21132106
<li><a data-link-type="biblio" href="#biblio-css-position-3">[css-position-3]</a> defines the following terms:
21142107
<ul>
2108+
<li><a href="http://dev.w3.org/csswg/css-position-3/#valdef-top-auto">auto</a>
21152109
<li><a href="http://dev.w3.org/csswg/css-position-3/#propdef-bottom">bottom</a>
21162110
<li><a href="http://dev.w3.org/csswg/css-position-3/#propdef-left">left</a>
21172111
<li><a href="http://dev.w3.org/csswg/css-position-3/#propdef-right">right</a>
@@ -2121,7 +2115,7 @@ <h3 class="no-num heading settled" id="index-defined-elsewhere"><span class="con
21212115
<ul>
21222116
<li><a href="http://dev.w3.org/csswg/css-text-3/#propdef-text-align">text-align</a>
21232117
</ul>
2124-
<li><a data-link-type="biblio" href="#biblio-css-values-3">[css-values-3]</a> defines the following terms:
2118+
<li><a data-link-type="biblio" href="#biblio-css-values-3">[css-values]</a> defines the following terms:
21252119
<ul>
21262120
<li><a href="http://dev.w3.org/csswg/css-values-3/#mult-opt">?</a>
21272121
<li><a href="http://dev.w3.org/csswg/css-values-3/#comb-one">|</a>
@@ -2160,7 +2154,7 @@ <h3 class="no-num heading settled" id="normative"><span class="content">Normativ
21602154
<dt id="biblio-css21"><a class="self-link" href="#biblio-css21"></a>[CSS21]
21612155
<dd>Bert Bos; et al. <a href="http://www.w3.org/TR/CSS2">Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</a>. 7 June 2011. REC. URL: <a href="http://www.w3.org/TR/CSS2">http://www.w3.org/TR/CSS2</a>
21622156
<dt id="biblio-svg2"><a class="self-link" href="#biblio-svg2"></a>[SVG2]
2163-
<dd>Nikos Andronikos; et al. <a href="http://www.w3.org/TR/SVG2/">Scalable Vector Graphics (SVG) 2</a>. 9 April 2015. WD. URL: <a href="http://www.w3.org/TR/SVG2/">http://www.w3.org/TR/SVG2/</a>
2157+
<dd>Nikos Andronikos; et al. <a href="http://www.w3.org/TR/SVG2/">Scalable Vector Graphics (SVG) 2</a>. 9 July 2015. WD. URL: <a href="http://www.w3.org/TR/SVG2/">http://www.w3.org/TR/SVG2/</a>
21642158
<dt id="biblio-css-cascade-3"><a class="self-link" href="#biblio-css-cascade-3"></a>[CSS-CASCADE-3]
21652159
<dd>Elika Etemad; Tab Atkins Jr.. <a href="http://www.w3.org/TR/css-cascade-3/">CSS Cascading and Inheritance Level 3</a>. 16 April 2015. CR. URL: <a href="http://www.w3.org/TR/css-cascade-3/">http://www.w3.org/TR/css-cascade-3/</a>
21662160
<dt id="biblio-css-cascade-4"><a class="self-link" href="#biblio-css-cascade-4"></a>[CSS-CASCADE-4]
@@ -2181,8 +2175,8 @@ <h3 class="no-num heading settled" id="normative"><span class="content">Normativ
21812175
<dd>CSS Positioned Layout Module Level 3 URL: <a href="http://www.w3.org/TR/css3-positioning/">http://www.w3.org/TR/css3-positioning/</a>
21822176
<dt id="biblio-css-text-3"><a class="self-link" href="#biblio-css-text-3"></a>[CSS-TEXT-3]
21832177
<dd>Elika Etemad; Koji Ishii. <a href="http://www.w3.org/TR/css-text-3/">CSS Text Module Level 3</a>. 10 October 2013. LCWD. URL: <a href="http://www.w3.org/TR/css-text-3/">http://www.w3.org/TR/css-text-3/</a>
2184-
<dt id="biblio-css-values-3"><a class="self-link" href="#biblio-css-values-3"></a>[CSS-VALUES-3]
2185-
<dd>CSS Values and Units Module Level 3 URL: <a href="http://www.w3.org/TR/css3-values/">http://www.w3.org/TR/css3-values/</a>
2178+
<dt id="biblio-css-values"><a class="self-link" href="#biblio-css-values"></a>[CSS-VALUES]
2179+
<dd>Tab Atkins Jr.; Elika Etemad. <a href="http://www.w3.org/TR/css-values/">CSS Values and Units Module Level 3</a>. 11 June 2015. CR. URL: <a href="http://www.w3.org/TR/css-values/">http://www.w3.org/TR/css-values/</a>
21862180
<dt id="biblio-css-writing-modes-3"><a class="self-link" href="#biblio-css-writing-modes-3"></a>[CSS-WRITING-MODES-3]
21872181
<dd>Elika Etemad; Koji Ishii. <a href="http://www.w3.org/TR/css-writing-modes-3/">CSS Writing Modes Level 3</a>. 20 March 2014. CR. URL: <a href="http://www.w3.org/TR/css-writing-modes-3/">http://www.w3.org/TR/css-writing-modes-3/</a>
21882182
<dt id="biblio-css3-flexbox"><a class="self-link" href="#biblio-css3-flexbox"></a>[CSS3-FLEXBOX]

css-containment/Overview.bs

+4-2
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ Paint Containment</h3>
234234
the contents of the element is clipped to the element's content box,
235235
including both the paint of the descendants and their geometry</span>
236236
2. The element must act as a containing block for absolutely positioned and fixed positioned descendants.
237-
3. The element must be a <a>formatting context</a>.
237+
3. The element must be a <a>stacking context</a>.
238+
4. The element must be a <a>formatting context</a>.
238239

239240
Possible optimizations that can be enabled by <a>paint containment</a> include (but are not limited to):
240241

@@ -251,4 +252,5 @@ Paint Containment</h3>
251252
so there's something to see as soon as the scroll happens,
252253
rather than a frame later.)
253254

254-
255+
3. Because they are guaranteed to be stacking contexts,
256+
scrolling elements can be painted into a single GPU layer.

0 commit comments

Comments
 (0)