Skip to content

Commit dfeb408

Browse files
authored
Merge branch 'master' into fix-selectors-4-typo
2 parents 257ee4c + 04d87ee commit dfeb408

209 files changed

Lines changed: 32679 additions & 6973 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Transitions.md

Lines changed: 45 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ _(none)_
66

77
## First Public Working Draft
88

9+
910
_(none)_
1011

1112
## Candidate Recommendation
@@ -31,29 +32,23 @@ CSS Display
3132
CSS Speech (updated CR, has technical changes)
3233
* group decision [15 Feb 2017](https://www.w3.org/2017/02/15-css-irc#T17-39-53)
3334
* should be published as a NOTE because no implementations
34-
35-
Writing Modes (updated CR with technical changes)
36-
* working out how to move at-risk features to level 4, and keep in level 3 but as MAY
37-
* working on the tests and finalizing the test report
38-
* [wg resolution for PR](https://lists.w3.org/Archives/Public/www-style/2017May/0032.html) 17 May 2017
39-
* [wg resolution for updated CR](https://github.com/w3c/csswg-drafts/issues/1391#issuecomment-320215251) 04 Aug 2017
40-
* [draft transition request](https://github.com/w3c/csswg-drafts/blob/master/css-writing-modes-3/transition-updated-cr-2017-09.md)
4135

42-
Flexbox (updated CR with technical changes)
43-
* [group decision](https://lists.w3.org/Archives/Public/www-style/2017Sep/0028.html) 13 Sept 2017
44-
* [transition request](https://github.com/w3c/csswg-drafts/blob/master/css-flexbox/transition-updated-cr-2017-09.md) [26 Sept 2017](https://lists.w3.org/Archives/Member/chairs/2017JulSep/0184.html)
45-
* [transition decision](https://lists.w3.org/Archives/Member/chairs/2017JulSep/0205.html) 29 Sept 2017
46-
* next step: publication, Tues 17 Oct 2017
36+
CSS Fonts 3 (was PR, now updated CR with technical changes)
37+
* moved at-risk features to level 4
38+
* fuller test coverage
39+
* [group decision](https://lists.w3.org/Archives/Public/www-style/2017Oct/0044.html) 25 Oct 2017
40+
* Myles updating changes section
41+
* next step: Chris writing [transition request]()
42+
* [Disposition of comments]()
43+
4744

48-
Backgrounds & Borders (updated CR with technical changes)
49-
* [group decision](https://lists.w3.org/Archives/Public/www-style/2017Sep/0054.html)
50-
* [transition request](https://github.com/w3c/csswg-drafts/blob/master/css-backgrounds/transition-updated-cr-2017-09.md). @@ Email needs to be sent by Thierry.
51-
5245
## Proposed Recommendation
5346

54-
CSS Fonts 3
55-
* working out how to move at-risk features to level 4
56-
* fuller test coverage
47+
CSS UI 3 (was PR, now updated CR with technical changes)
48+
* [group decision](https://lists.w3.org/Archives/Public/www-style/2017Oct/0044.html) 25 Oct 2017
49+
* advised to go to CR because of two small substantive changes, now shooting for PR again [timeline](https://w3c.github.io/spec-releases/milestones/?cr=2017-11-14&noFPWD=true) 31 Oct 2017
50+
* [transition request](https://github.com/w3c/csswg-drafts/blob/master/css-writing-modes-3/transition-updated-cr-2017-09.md) sent [08 Nov 2017](https://lists.w3.org/Archives/Member/chairs/2017OctDec/0135.html)
51+
* next step: dependencies question from transition meeting, being discussed
5752

5853

5954
## Modified Recommendation (Editorial)
@@ -79,6 +74,10 @@ CSS-2017
7974

8075
## First Public Working Draft
8176

77+
Writing Modes 4
78+
* [group decision]() when?
79+
* [done](https://www.w3.org/TR/2017/WD-css-writing-modes-4-20171207/) 7 December 2017
80+
8281
CSS Fonts 4
8382
* [wg decision](https://www.w3.org/2017/04/19-css-irc#T06-11-40) 19 April 2017
8483
* [transition request](https://lists.w3.org/Archives/Member/chairs/2017JulSep/0000.html) 06 July 2017
@@ -131,6 +130,33 @@ CSS Table
131130

132131
## Candidate Recommendation
133132

133+
Writing Modes 3 (updated CR with technical changes)
134+
* working out how to move at-risk features to level 4, and keep in level 3 but as MAY
135+
* working on the tests and finalizing the test report
136+
* [wg resolution for PR](https://lists.w3.org/Archives/Public/www-style/2017May/0032.html) 17 May 2017
137+
* [wg resolution for updated CR](https://github.com/w3c/csswg-drafts/issues/1391#issuecomment-320215251) 04 Aug 2017
138+
* [transition request](https://github.com/w3c/csswg-drafts/blob/master/css-writing-modes-3/transition-updated-cr-2017-09.md) sent [09 Nov 2017](https://lists.w3.org/Archives/Member/chairs/2017OctDec/0134.html)
139+
* [approved](https://lists.w3.org/Archives/Member/chairs/2017OctDec/0142.html) 21 Nov 2017
140+
* next step: [waiting for editors to fix broken links and bad html](https://lists.w3.org/Archives/Member/w3c-css-wg/2017OctDec/0133.html) 21 Nov 2017 done 05 Dec 2017
141+
* [publication request](https://lists.w3.org/Archives/Team/webreq/2017Dec/0007.html) 06 Dec 2017
142+
* [done](https://www.w3.org/TR/2017/CR-css-writing-modes-3-20171207/) 07 Dec 2017
143+
144+
CSS Color 3
145+
* [Transition to CR from Rec; no new features, one normative change from errata](https://lists.w3.org/Archives/Member/chairs/2017OctDec/0145.html) 22 Nov 2017
146+
* [approved](https://lists.w3.org/Archives/Member/chairs/2017OctDec/0154.html) 01 Dec 2017
147+
* [done](https://www.w3.org/TR/2017/CR-css-color-3-20171205/) 05 Dec 2017
148+
149+
Flexbox (updated CR with technical changes)
150+
* [group decision](https://lists.w3.org/Archives/Public/www-style/2017Sep/0028.html) 13 Sept 2017
151+
* [transition request](https://github.com/w3c/csswg-drafts/blob/master/css-flexbox/transition-updated-cr-2017-09.md) [26 Sept 2017](https://lists.w3.org/Archives/Member/chairs/2017JulSep/0184.html)
152+
* [transition decision](https://lists.w3.org/Archives/Member/chairs/2017JulSep/0205.html) 29 Sept 2017
153+
* [done](https://www.w3.org/TR/2017/CR-css-flexbox-1-20171019/) 19 Oct 2017
154+
155+
Backgrounds & Borders (updated CR with technical changes)
156+
* [group decision](https://lists.w3.org/Archives/Public/www-style/2017Sep/0054.html)
157+
* [transition request](https://github.com/w3c/csswg-drafts/blob/master/css-backgrounds/transition-updated-cr-2017-09.md).
158+
* [done](https://www.w3.org/TR/2017/CR-css-backgrounds-3-20171017/) 17 Oct 2017
159+
134160
Media Queries 4
135161
* [done](https://www.w3.org/TR/2017/CR-mediaqueries-4-20170905/) 5 Sep 2017
136162

css-2015/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Work Status: Completed
88
URL: https://drafts.csswg.org/css-2015/
99
Previous Version: https://www.w3.org/TR/2015/NOTE-css-2015-20151013/
1010
TR: https://www.w3.org/TR/CSS/
11-
Editor: Tab Atkins Jr., Google, http://xanthir.com/
11+
Editor: Tab Atkins Jr., Google, http://xanthir.com/, w3cid 42199
1212
Editor: Elika J. Etemad / fantasai, Invited Expert, http://fantasai.inkedblade.net/contact, w3cid 35400
13-
Editor: Florian Rivoal, Vivliostyle, http://florian.rivoal.net, http://vivliostyle.com
13+
Editor: Florian Rivoal, Invited Expert, https://florian.rivoal.net, w3cid 43241
1414
Abstract: This document collects together into one definition all the specs that
1515
together form the current state of Cascading Style Sheets (CSS) as of 2015.
1616
The primary audience is CSS implementers, not CSS authors, as this definition

css-2017/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Group: CSSWG
77
Work Status: Completed
88
URL: https://drafts.csswg.org/css-2017/
99
TR: https://www.w3.org/TR/CSS/
10-
Editor: Tab Atkins Jr., Google, http://xanthir.com/
10+
Editor: Tab Atkins Jr., Google, http://xanthir.com/, w3cid 42199
1111
Editor: Elika J. Etemad / fantasai, Invited Expert, http://fantasai.inkedblade.net/contact, w3cid 35400
12-
Editor: Florian Rivoal, Vivliostyle, http://florian.rivoal.net
12+
Editor: Florian Rivoal, Invited Expert, https://florian.rivoal.net, w3cid 43241
1313
Abstract: This document collects together into one definition all the specs that
1414
together form the current state of Cascading Style Sheets (CSS) as of 2017.
1515
The primary audience is CSS implementers, not CSS authors, as this definition
@@ -141,7 +141,7 @@ Background: The W3C Process and CSS</h3>
141141
<dt><a href="https://www.w3.org/TR/css-syntax-3/">CSS Syntax Level 3</a>
142142
[[!CSS-SYNTAX-3]]
143143
<dd>
144-
Replaces CSS2&sect;4.1, CSS2&sect;4.1, CSS2&sect;4.2, CSS2&sect;4.4, and CSS2&sect;G,
144+
Replaces CSS2&sect;4.1, CSS2&sect;4.2, CSS2&sect;4.4, and CSS2&sect;G,
145145
defining how CSS is parsed.
146146

147147
<dt><a href="https://www.w3.org/TR/css-style-attr/">CSS Style Attributes</a>

css-align-3/Overview.bs

Lines changed: 196 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
<h1>CSS Box Alignment Module Level 3</h1>
2-
31
<pre class='metadata'>
2+
Title: CSS Box Alignment Module Level 3
43
Shortname: css-align
54
Level: 3
65
Group: csswg
@@ -10,6 +9,7 @@ ED: https://drafts.csswg.org/css-align/
109
TR: https://www.w3.org/TR/css-align-3/
1110
Editor: Elika J. Etemad / fantasai, Invited Expert, http://fantasai.inkedblade.net/contact, w3cid 35400
1211
Editor: Tab Atkins Jr., Google, http://xanthir.com/contact/, w3cid 42199
12+
Previous Version: https://www.w3.org/TR/2017/WD-css-align-3-20170906/
1313
Previous Version: https://www.w3.org/TR/2017/WD-css-align-3-20170720/
1414
Previous Version: https://www.w3.org/TR/2017/WD-css-align-3-20170515/
1515
Previous Version: https://www.w3.org/TR/2017/WD-css-align-3-20170407/
@@ -361,8 +361,192 @@ Positional Alignment: the ''center'', ''start'', ''end'', ''self-start'', ''self
361361
</pre>
362362
</dl>
363363

364-
<p class='issue'>
365-
Add example images.
364+
<aside class=example>
365+
The ''<self-position>/start'' and ''<self-position>/end'' keywords
366+
are <a>flow-relative</a>:
367+
they use the <a>writing mode</a> to determine which side to align to.
368+
369+
<figure>
370+
<img src="images/start-inline-tb.svg"
371+
style="background: white; padding: 8px;"
372+
title="inline-axis 'start' alignment in various writing systems"
373+
alt="Inline-axis 'start' alignment:
374+
Horizontal Latin and Chinese are left-aligned,
375+
while Arabic and Hebrew are right-aligned.">
376+
<img src="images/end-inline-tb.svg"
377+
style="background: white; padding: 8px;"
378+
title="inline-axis 'end' alignment in various writing systems"
379+
alt="Inline-axis 'end' alignment:
380+
Horizontal Latin and Chinese are right-aligned,
381+
while Arabic and Hebrew are left-aligned.">
382+
<figcaption>
383+
''<self-position>/start'' vs ''<self-position>/end'' in the <a>inline axis</a>
384+
(<a href="#flexbox-exception">typically<sup>†</sup></a> 'justify-*')
385+
</figcaption>
386+
</figure>
387+
388+
The ''<self-position>/left'' and ''<self-position>/right'' keywords
389+
are absolute (not <a>flow-relative</a>).
390+
391+
<figure>
392+
<img src="images/left-inline-tb.svg"
393+
style="background: white; padding: 8px;"
394+
title="'left' alignment in various writing systems"
395+
alt="Inline-axis 'left' alignment:
396+
Horizontal text is left-aligned, regardless of writing system.">
397+
<img src="images/right-inline-tb.svg"
398+
style="background: white; padding: 8px;"
399+
title="'right' alignment in various writing systems"
400+
alt="Inline-axis 'right' alignment:
401+
Horizontal text is right-aligned, regardless of writing system.">
402+
<figcaption>
403+
''<self-position>/left'' vs ''<self-position>/right''
404+
</figcaption>
405+
</figure>
406+
407+
The ''<self-position>/start'' and ''<self-position>/end'' keywords
408+
have meaning in both the <a lt="inline axis">inline</a> and <a lt="block axis">block</a> axes:
409+
''<self-position>/start'' always orients to the start of the text
410+
(top left for left-to-right/top-to-bottom languages like English)
411+
while ''<self-position>/end'' always orients to the end of the text.
412+
413+
<figure>
414+
<img src="images/start-block-tb.svg"
415+
style="background: white; padding: 8px; padding-bottom: calc(8px + 23px);"
416+
title="block-axis 'start' alignment in various writing systems"
417+
alt="Block-axis 'start' alignment:
418+
Horizontal text is top-aligned in the vertical axis.">
419+
<img src="images/end-block-tb.svg"
420+
style="background: white; padding: 8px; padding-top: calc(8px + 23px);"
421+
title="block-axis 'end' alignment in various writing systems"
422+
alt="Block-axis 'bottom' alignment:
423+
Horizontal text is bottom-aligned in the vertical axis.">
424+
<figcaption>
425+
''<self-position>/start'' vs ''<self-position>/end'' in the <a>block axis</a>
426+
(<a href="#flexbox-exception">typically<sup>†</sup></a> 'align-*')
427+
</figcaption>
428+
</figure>
429+
430+
The ''<self-position>/start'' and ''<self-position>/end'' keywords
431+
use the <a>writing mode</a> of the <a>alignment container</a>,
432+
to help keep things consistent.
433+
But if alignment using the <a>alignment subject</a>’s <a>writing mode</a> is needed,
434+
the ''<self-position>/self-start'' and ''<self-position>/self-end'' keywords can be used.
435+
436+
<figure>
437+
<img src="images/self-v-context-start-tb.svg"
438+
style="background: white; padding: 8px;"
439+
title="inline-axis 'start' alignment with LTR context"
440+
alt="Inline-axis 'start' alignment in an LTR container:
441+
Alignment uses the context’s start direction, so
442+
the (RTL) Arabic and Hebrew items
443+
are left-aligned alongside the (LTR) Latin and Chinese.">
444+
<img src="images/self-v-context-self-start-tb.svg"
445+
style="background: white; padding: 8px;"
446+
title="inline-axis 'self-start' alignment with LTR context"
447+
alt="Inline-axis 'self-start' alignment in an LTR container:
448+
Horizontal Latin and Chinese items are right-aligned,
449+
while Arabic and Hebrew items are left-aligned.">
450+
<figcaption>
451+
''<self-position>/start'' vs ''<self-position>/self-start'' on the individual items
452+
</figcaption>
453+
</figure>
454+
</aside>
455+
456+
<aside class=example>
457+
The behavior of the alignment keywords is analogous in <a>vertical writing modes</a>:
458+
''<self-position>/start'' and ''<self-position>/end''
459+
are relative to the start/end of the text in the relevant axis.
460+
The ''<self-position>/left'' and ''<self-position>/right'' keywords
461+
are interpreted as <a>line-left</a> and <a>line-right</a>,
462+
relative to the “left” and “right” sides of LTR/RTL text.
463+
464+
<figure>
465+
<img src="images/start-inline-rl.svg"
466+
style="background: white; padding: 8px;"
467+
title="inline-axis 'start' alignment in various writing systems"
468+
alt="Inline-axis 'start' alignment in vertical-rl writing:
469+
Vertical Latin and Chinese are top-aligned,
470+
while Arabic and Hebrew are bottom-aligned.">
471+
<img src="images/end-inline-rl.svg"
472+
style="background: white; padding: 8px;"
473+
title="inline-axis 'end' alignment in various writing systems"
474+
alt="Inline-axis 'end' alignment in vertical-rl writing:
475+
Vertical Latin and Chinese are top-aligned,
476+
while Arabic and Hebrew are bottom-aligned.">
477+
<figcaption>
478+
''<self-position>/start'' vs ''<self-position>/end'' in the <a>inline axis</a>
479+
(<a href="#flexbox-exception">typically<sup>†</sup></a> 'justify-*')
480+
</figcaption>
481+
</figure>
482+
483+
<figure>
484+
<img src="images/left-inline-rl.svg"
485+
style="background: white; padding: 8px; padding-bottom: calc(8px + 23px);"
486+
title="'left' alignment in various writing systems"
487+
alt="Inline-axis 'left' alignment in vertical-rl writing:
488+
Vertical text is top-aligned, regardless of writing system.">
489+
<img src="images/right-inline-rl.svg"
490+
style="background: white; padding: 8px; padding-top: calc(5px + 23px); padding-bottom: 5px;"
491+
title="'right' alignment in various writing systems"
492+
alt="Inline-axis 'right' alignment in vertical-rl writing:
493+
Vertical text is bottom-aligned, regardless of writing system.">
494+
<figcaption>
495+
''<self-position>/left'' vs ''<self-position>/right''
496+
</figcaption>
497+
</figure>
498+
499+
<figure>
500+
<img src="images/start-block-rl.svg"
501+
style="background: white; padding: 8px;"
502+
title="block-axis 'start' alignment in various writing systems"
503+
alt="Block-axis 'start' alignment in vertical-rl writing:
504+
Vertical text is top-aligned in the vertical axis.">
505+
<img src="images/end-block-rl.svg"
506+
style="background: white; padding: 8px;"
507+
title="block-axis 'end' alignment in various writing systems"
508+
alt="Block-axis 'bottom' alignment in vertical-rl writing:
509+
Vertical text is bottom-aligned in the vertical axis.">
510+
<figcaption>
511+
''<self-position>/start'' vs ''<self-position>/end'' in the <a>block axis</a>
512+
(<a href="#flexbox-exception">typically<sup>†</sup></a> 'align-*')
513+
</figcaption>
514+
</figure>
515+
516+
<figure>
517+
<img src="images/self-v-context-start-rl.svg"
518+
style="background: white; padding: 8px; padding-bottom: calc(8px + 30px);"
519+
title="inline-axis 'start' alignment with LTR context"
520+
alt="Inline-axis 'start' alignment in a vertical-rl LTR container:
521+
Alignment uses the context’s start direction, so
522+
the (RTL) Arabic and Hebrew items
523+
are top-aligned alongside the (LTR) Latin and Chinese.">
524+
<img src="images/self-v-context-self-start-rl.svg"
525+
style="background: white; padding: 8px;"
526+
title="inline-axis 'self-start' alignment with LTR context"
527+
alt="Inline-axis 'self-start' alignment in a vertical-rl LTR container:
528+
Horizontal Latin and Chinese items are top-aligned,
529+
while Arabic and Hebrew items are bottom-aligned.">
530+
<figcaption>
531+
''<self-position>/start'' vs ''<self-position>/self-start'' on the individual items
532+
</figcaption>
533+
</figure>
534+
</aside>
535+
536+
<div class=note id=flexbox-exception>
537+
For most layout models (block, table, grid, etc),
538+
the 'justify-*' properties always align things in the <a>inline axis</a>,
539+
while the 'align-*' properties always align things in the <a>block axis</a>.
540+
541+
Flexbox, on the other hand, has 'justify-*' align things in the <a>main axis</a>
542+
and 'align-*' align things in the <a>cross axis</a>.
543+
This depends on the value of 'flex-direction':
544+
when 'flex-direction' is ''flex-direction/row'' or ''flex-direction/row-reverse'',
545+
it matches the other layout modes
546+
(<a>inline axis</a> with 'justify-*', <a>block axis</a> with 'align-*');
547+
when 'flex-direction' is ''flex-direction/column'' or ''flex-direction/column-reverse'',
548+
it has the opposite correspondence.
549+
</div>
366550

367551
<p class='issue'>
368552
Make it easier to understand the dual-axis nature of "start" and "end" wrt orthogonal flows.
@@ -1638,6 +1822,11 @@ Row and Column Gutters: the 'row-gap' and 'column-gap' properties</h3>
16381822
see subsections below for details.
16391823

16401824
Negative values are invalid.
1825+
Percentages resolve to zero
1826+
when specified against a content-based size
1827+
(such as the <a>logical width</a> of a float
1828+
or the ''height/auto'' <a>logical height</a>
1829+
of a <a>block-level</a> <a>grid container</a>).
16411830

16421831
: <dfn>normal</dfn>
16431832
:: The ''gap/normal'' represents a UA-dependent length on <a>multi-column elements</a>,
@@ -1998,4 +2187,6 @@ Privacy and Security Considerations</h2>
19982187
Acknowledgments</h2>
19992188

20002189
Special thanks goes to David Baron, Javier Fernandez, Markus Mielke, Alex Mogilevsky,
2001-
and the participants in the CSSWG's March 2008 F2F alignment discussions.
2190+
and the participants in the CSSWG's March 2008 F2F alignment discussions
2191+
for their contributions to the alignment model described herein,
2192+
and to Melanie Richards for her illustrations of the various <a href="#alignment-values">alignment keywords</a>.

0 commit comments

Comments
 (0)