Skip to content

Commit becf47a

Browse files
committed
merging upstream changes
2 parents 8ff9e16 + 2eb9b41 commit becf47a

12 files changed

Lines changed: 400 additions & 367 deletions

File tree

css-cascade/Overview.html

Lines changed: 255 additions & 249 deletions
Large diffs are not rendered by default.

css-cascade/Overview.src.html

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h1>CSS Cascading and Inheritance Level 3</h1>
1212
Previous Version: http://www.w3.org/TR/2013/WD-css3-cascade-20130103/
1313
Previous Version: http://www.w3.org/TR/2005/WD-css3-cascade-20051215/
1414
Abstract: This CSS module describes how to collate style rules and assign values to all properties on all elements. By way of cascading and inheritance, values are propagated for all properties on all elements.
15-
Ignored Properties: font-size, border-bottom-width, height, font, font-style, border-top-width, width, break-before, font-weight, red, flex, auto, font-variant, page-break-after, font-family, text-align, default, font-size-adjust, orphans, border-right-width, line-height, border-left-width, list-style-position
15+
Ignored Properties: font-size, border-bottom-width, height, font, font-style, border-top-width, width, break-before, font-weight, flex, font-variant, page-break-after, font-family, text-align, font-size-adjust, orphans, border-right-width, line-height, border-left-width, list-style-position, unicode-bidi, direction
1616
Ignored Terms: flex items
1717
</pre>
1818

@@ -192,7 +192,7 @@ <h3 id="all-shorthand">
192192
<td><dfn>all</dfn>
193193
<tr>
194194
<th>Value:
195-
<td>initial || inherit
195+
<td>initial | inherit | unset
196196
<tr>
197197
<th>Initial:
198198
<td>See individual properties
@@ -217,9 +217,17 @@ <h3 id="all-shorthand">
217217
</table>
218218

219219
<p>
220-
The ''all'' property is a <i>shorthand</i> that resets <em title=''>all</em> CSS properties.
220+
The ''all'' property is a <i>shorthand</i> that resets <em title=''>all</em> CSS properties
221+
except 'direction' and 'unicode-bidi'.
221222
It only accepts the <a href="http://www.w3.org/TR/css3-values/#common-keywords">CSS-wide keywords</a>.
222223

224+
<p class='note'>
225+
The excepted properties are actually markup-level features,
226+
and <a href="http://www.w3.org/TR/css3-writing-modes/#text-direction">should not be set in the author's style sheet</a>.
227+
(They exist as CSS properties only to style document languages not supported by the UA.)
228+
Authors should use the appropriate markup, such as HTML's <code>dir</code> attribute, instead.
229+
[[!CSS3-WRITING-MODES]]
230+
223231
<div class='example'>
224232
<p>
225233
For example, if an author specifies ''all: initial'' on an element
@@ -331,8 +339,8 @@ <h3 id="computed">
331339
it is not necessarily the value returned by the <code>getComputedStyle()</code> function.
332340

333341
<div class="example">
334-
A <i>specified value</i> can be either absolute (i.e., not relative to another value, as in 'red' or '2mm')
335-
or relative (i.e., relative to another value, as in 'auto', '2em').
342+
A <i>specified value</i> can be either absolute (i.e., not relative to another value, as in ''red'' or ''2mm'')
343+
or relative (i.e., relative to another value, as in ''auto'', ''2em'').
336344
Computing a relative value generally absolutizes it:
337345

338346
<ul>
@@ -871,20 +879,16 @@ <h4 id="inherit">
871879
the <i>inherited value</i> becomes the property's <i title="specified value">specified</i> and <i>computed values</i>.
872880

873881
<h4 id="inherit-initial">
874-
Erasing All Declarations: the ''initial inherit'' value</h4>
882+
Erasing All Declarations: the ''unset'' keyword</h4>
875883

876884
<p>
877-
If the <i>cascaded value</i> of a property is both the ''initial'' and ''inherit'' keywords together (in either order),
885+
If the <i>cascaded value</i> of a property is the <dfn>''unset''</dfn> keyword,
878886
then if it is an inherited property, this is treated as ''inherit'',
879887
and if it is not, this is treated as ''initial''.
880-
This combination effectively erases all <i>declared values</i> occurring earlier in the <i>cascade</i>,
888+
This keyword effectively erases all <i>declared values</i> occurring earlier in the <i>cascade</i>,
881889
correctly inheriting or not as appropriate for the property
882890
(or all longhands of a <i>shorthand</i>).
883891

884-
<p class="issue">
885-
It might be appropriate to <a href="http://lists.w3.org/Archives/Public/www-style/2013Jul/0041.html">replace this syntax with a single keyword</a>.
886-
But what keyword?
887-
888892
<h2 id="changes">
889893
Changes</h2>
890894

@@ -895,10 +899,12 @@ <h3 id="changes-2013">
895899
<a href="http://www.w3.org/TR/2013/WD-css3-cascade-20130103/">3 January 2013 Working Draft</a>:
896900

897901
<ul>
898-
<li>Dropped the 'default' keyword.
902+
<li>Dropped the ''default'' keyword.
903+
<li>Added the ''unset'' keyword.
904+
<li>Excluded 'unicode-bidi' and 'direction' from the 'all' shorthand.
899905
<li>Various clarifications.
900906
</ul>
901907

902908
<h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
903909

904-
<p>David Baron and Boris Zbarsky contributed to this specification.
910+
<p>David Baron, Simon Sapin, and Boris Zbarsky contributed to this specification.

css-flexbox/issues-cr-2012.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,15 @@ <h1>CSS Flexible Box Layout Level 1 Disposition of Comments for 2012-09-18 CR</h
6868
Response: <a href="http://lists.w3.org/Archives/Public/www-style/2012Dec/0046.html">http://lists.w3.org/Archives/Public/www-style/2012Dec/0046.html</a>
6969
Closed: Deferred (most cases possible; maybe add more spacing controls in next level)
7070
</pre>
71-
<pre class='open' id='issue-5'>
71+
<pre class='a' id='issue-5'>
7272
Issue 5. <a href="#issue-5">#</a>
7373
Summary: If percentage height cannot be resolved, is the flex items stretched?
7474
From: Ojan Vafai
7575
Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2012Oct/0220.html">http://lists.w3.org/Archives/Public/www-style/2012Oct/0220.html</a>
76-
Response: NEED TO RESPOND, ALSO NEED CSS2.1 ERRATUM
77-
<a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15392">https://www.w3.org/Bugs/Public/show_bug.cgi?id=15392</a>
78-
Open
76+
Response: <a href="http://lists.w3.org/Archives/Public/www-style/2013Jul/0505.html">http://lists.w3.org/Archives/Public/www-style/2013Jul/0505.html</a>
77+
Notes: <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15392">https://www.w3.org/Bugs/Public/show_bug.cgi?id=15392</a>
78+
<a href="http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.10.5a">http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.10.5a</a>
79+
Closed: Accepted
7980
</pre>
8081
<pre class='a' id='issue-6'>
8182
Issue 6. <a href="#issue-6">#</a>

css-flexbox/issues-cr-2012.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ Issue 5.
4242
Summary: If percentage height cannot be resolved, is the flex items stretched?
4343
From: Ojan Vafai
4444
Comment: http://lists.w3.org/Archives/Public/www-style/2012Oct/0220.html
45-
Response: NEED TO RESPOND, ALSO NEED CSS2.1 ERRATUM
46-
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15392
47-
Open
45+
Response: http://lists.w3.org/Archives/Public/www-style/2013Jul/0505.html
46+
Notes: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15392
47+
http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.10.5a
48+
Closed: Accepted
4849
----
4950
Issue 6.
5051
Summary: Clarifications to abspos static position in flex containers

css-grid/Overview.html

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
rel=dcterms.rights>
1212
<meta content="CSS Grid Layout" name=dcterms.title>
1313
<meta content=text name=dcterms.type>
14-
<meta content=2013-05-08 name=dcterms.date>
14+
<meta content=2013-07-22 name=dcterms.date>
1515
<meta content="Tab Atkins Jr." name=dcterms.creator>
1616
<meta content="Elika J. Etemad" name=dcterms.creator>
1717
<meta content="Rossen Atanassov" name=dcterms.creator>
@@ -59,11 +59,11 @@
5959

6060
<h1 class=title id=title>CSS Grid Layout</h1>
6161

62-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft, 8 May 2013</h2>
62+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft, 22 July 2013</h2>
6363

6464
<dl>
6565
<dt>This version:
66-
<!-- <dd><a href="http://dev.w3.org/csswg/css3-grid-layout/">http://www.w3.org/TR/2013/WD-css3-grid-layout-20130508/</a> -->
66+
<!-- <dd><a href="http://dev.w3.org/csswg/css3-grid-layout/">http://www.w3.org/TR/2013/WD-css3-grid-layout-20130722/</a> -->
6767

6868
<dd><a
6969
href="http://dev.w3.org/csswg/css3-grid-layout/">http://dev.w3.org/csswg/css3-grid-layout/</a>
@@ -1289,7 +1289,7 @@ <h3 id=track-sizing><span class=secno>5.1. </span> Track Sizing: the ‘<a
12891289
<tr>
12901290
<td>Value:
12911291

1292-
<td>none | <a href="#track-list"><var>&lt;track-list></var></a>
1292+
<td>none | <a href="#lttrack-list"><var>&lt;track-list></var></a>
12931293

12941294
<tr>
12951295
<td>Initial:
@@ -1344,30 +1344,30 @@ <h3 id=track-sizing><span class=secno>5.1. </span> Track Sizing: the ‘<a
13441344

13451345
<pre>
13461346
<dfn
1347-
id=track-list>&lt;track-list></dfn> = [ <var>&lt;string></var>* [ <a
1348-
href="#track-size"><var>&lt;track-size></var></a> | <a
1349-
href="#repeat-function"><var>&lt;repeat-function></var></a> ] ]+ <var>&lt;string></var>*
1347+
id=lttrack-list>&lt;track-list></dfn> = [ <var>&lt;string></var>* [ <a
1348+
href="#lttrack-size"><var>&lt;track-size></var></a> | <a
1349+
href="#ltrepeat-function"><var>&lt;repeat-function></var></a> ] ]+ <var>&lt;string></var>*
13501350
<dfn
1351-
id=track-size>&lt;track-size></dfn> = minmax( <a
1352-
href="#track-breadth"><var>&lt;track-breadth></var></a> , <a
1353-
href="#track-breadth"><var>&lt;track-breadth></var></a> ) | auto | <a
1354-
href="#track-breadth"><var>&lt;track-breadth></var></a>
1351+
id=lttrack-size>&lt;track-size></dfn> = minmax( <a
1352+
href="#lttrack-breadth"><var>&lt;track-breadth></var></a> , <a
1353+
href="#lttrack-breadth"><var>&lt;track-breadth></var></a> ) | auto | <a
1354+
href="#lttrack-breadth"><var>&lt;track-breadth></var></a>
13551355
<dfn
1356-
id=track-breadth>&lt;track-breadth></dfn> = <var>&lt;lenh></var> | <var>&lt;percentage></var> | <a
1357-
href="#flex"><var>&lt;flex></var></a> | min-content | max-content</pre>
1356+
id=lttrack-breadth>&lt;track-breadth></dfn> = <var>&lt;length></var> | <var>&lt;percentage></var> | <a
1357+
href="#ltflex"><var>&lt;flex></var></a> | min-content | max-content</pre>
13581358

13591359
<p>Where:
13601360

13611361
<dl>
13621362
<dt><var>&lt;length></var>
13631363

1364-
<dd> As defined by CSS3 Values. <a href="#CSS3VAL"
1364+
<dd> A non-negative length, as defined by CSS3 Values. <a href="#CSS3VAL"
13651365
rel=biblioentry>[CSS3VAL]<!--{{!CSS3VAL}}--></a>
13661366

13671367
<dt><var>&lt;percentage></var>
13681368

1369-
<dd> As defined by CSS3 Values. <a href="#CSS3VAL"
1370-
rel=biblioentry>[CSS3VAL]<!--{{!CSS3VAL}}--></a>
1369+
<dd> A non-negative percentage, as defined by CSS3 Values. <a
1370+
href="#CSS3VAL" rel=biblioentry>[CSS3VAL]<!--{{!CSS3VAL}}--></a>
13711371
<var>&lt;percentage></var> values are relative to the measure (logical
13721372
width) of the <a href="#grid-container"><i>grid container</i></a> in
13731373
<i>grid column tracks</i>, and the extent (logical height) of the <a
@@ -1539,7 +1539,7 @@ <h4 id=repeat-notation><span class=secno>5.1.2. </span> Repeating Rows and
15391539
<pre class=prod>
15401540
<dfn
15411541
id=ltrepeat-function>&lt;repeat-function></dfn> = repeat( <var>&lt;positive-integer></var> , [ <var>&lt;string></var>* <a
1542-
href="#track-size"><var>&lt;track-size></var></a> ]+ <var>&lt;string></var>* )</pre>
1542+
href="#lttrack-size"><var>&lt;track-size></var></a> ]+ <var>&lt;string></var>* )</pre>
15431543

15441544
<p> The first argument specifies the number of repetitions. The second
15451545
argument is a <a href="#track-list"><i>track list</i></a>, which is
@@ -2717,14 +2717,14 @@ <h3 id=algo-terms><span class=secno>8.1. </span> Definition of Terms for
27172717
<dt><dfn id=MaxTrackSizingFunction-definition>MaxTrackSizingFunction</dfn>
27182718

27192719
<dd> One of the <a
2720-
href="#track-breadth"><var>&lt;track-breadth></var></a> sizing
2720+
href="#lttrack-breadth"><var>&lt;track-breadth></var></a> sizing
27212721
functions assigned as the maximum breadth of a <a
27222722
href="#grid-track"><i>Grid track</i></a>.
27232723

27242724
<dt><dfn id=MinTrackSizingFunction-definition>MinTrackSizingFunction</dfn>
27252725

27262726
<dd> One of the <a
2727-
href="#track-breadth"><var>&lt;track-breadth></var></a> sizing
2727+
href="#lttrack-breadth"><var>&lt;track-breadth></var></a> sizing
27282728
functions assigned as the minimum breadth of a <a
27292729
href="#grid-track"><i>Grid track</i></a>.
27302730

@@ -3688,11 +3688,11 @@ <h3 class=no-num id=normative-references> Normative references</h3>
36883688

36893689
<dt id=CSS3-ALIGN>[CSS3-ALIGN]
36903690

3691-
<dd>Elika J. Etemad. <a
3692-
href="http://www.w3.org/TR/2012/WD-css3-align-20120612/"><cite>CSS Box
3693-
Alignment Module Level 3.</cite></a> 12 June 2012. W3C Working Draft.
3691+
<dd>Elika J. Etemad; Tab Atkins Jr. <a
3692+
href="http://www.w3.org/TR/2013/WD-css3-align-20130514/"><cite>CSS Box
3693+
Alignment Module Level 3.</cite></a> 14 May 2013. W3C Working Draft.
36943694
(Work in progress.) URL: <a
3695-
href="http://www.w3.org/TR/2012/WD-css3-align-20120612/">http://www.w3.org/TR/2012/WD-css3-align-20120612/</a>
3695+
href="http://www.w3.org/TR/2013/WD-css3-align-20130514/">http://www.w3.org/TR/2013/WD-css3-align-20130514/</a>
36963696
</dd>
36973697
<!---->
36983698

@@ -3719,10 +3719,10 @@ <h3 class=no-num id=normative-references> Normative references</h3>
37193719
<dt id=CSS3VAL>[CSS3VAL]
37203720

37213721
<dd>Håkon Wium Lie; Tab Atkins; Elika J. Etemad. <a
3722-
href="http://www.w3.org/TR/2012/CR-css3-values-20120828/"><cite>CSS
3723-
Values and Units Module Level 3.</cite></a> 28 August 2012. W3C Candidate
3722+
href="http://www.w3.org/TR/2013/CR-css3-values-20130404/"><cite>CSS
3723+
Values and Units Module Level 3.</cite></a> 4 April 2013. W3C Candidate
37243724
Recommendation. (Work in progress.) URL: <a
3725-
href="http://www.w3.org/TR/2012/CR-css3-values-20120828/">http://www.w3.org/TR/2012/CR-css3-values-20120828/</a>
3725+
href="http://www.w3.org/TR/2013/CR-css3-values-20130404/">http://www.w3.org/TR/2013/CR-css3-values-20130404/</a>
37263726
</dd>
37273727
<!---->
37283728

@@ -3989,16 +3989,16 @@ <h2 class=no-num id=index> Index</h2>
39893989
title="section 10.4."><strong>10.4.</strong></a>
39903990
</ul>
39913991

3992-
<li>&lt;track-breadth>, <a href="#track-breadth"
3992+
<li>&lt;track-breadth>, <a href="#lttrack-breadth"
39933993
title="section 5.1."><strong>5.1.</strong></a>
39943994

3995-
<li>&lt;track-list>, <a href="#track-list"
3995+
<li>&lt;track-list>, <a href="#lttrack-list"
39963996
title="section 5.1."><strong>5.1.</strong></a>
39973997

39983998
<li>track list, <a href="#track-list"
39993999
title="section 5.1."><strong>5.1.</strong></a>
40004000

4001-
<li>&lt;track-size>, <a href="#track-size"
4001+
<li>&lt;track-size>, <a href="#lttrack-size"
40024002
title="section 5.1."><strong>5.1.</strong></a>
40034003
</ul>
40044004
<!--end-index-->

css-grid/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -975,11 +975,11 @@ <h3 id='track-sizing'>
975975
<dl>
976976
<dt><var>&lt;length></var>
977977
<dd>
978-
As defined by CSS3 Values. [[!CSS3VAL]]
978+
A non-negative length, as defined by CSS3 Values. [[!CSS3VAL]]
979979

980980
<dt><var>&lt;percentage></var>
981981
<dd>
982-
As defined by CSS3 Values. [[!CSS3VAL]]
982+
A non-negative percentage, as defined by CSS3 Values. [[!CSS3VAL]]
983983
<var>&lt;percentage></var> values are relative to the measure (logical width) of the <i>grid container</i> in <i>grid column tracks</i>,
984984
and the extent (logical height) of the <i>grid container</i> in <i>grid row tracks</i>.
985985
If the measure or extent of the <i>grid container</i> is an <a href="http://www.w3.org/TR/css3-sizing/#indefinite-size">indefinite size</a>,

css-multicol/Overview.html

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,23 @@
1111
rel=dcterms.rights>
1212
<meta content="CSS Multi-column Layout Module" name=dcterms.title>
1313
<meta content=text name=dcterms.type>
14-
<meta content=2013-06-27 name=dcterms.date>
14+
<meta content=2013-07-22 name=dcterms.date>
1515
<meta content="Håkon Wium Lie" name=dcterms.creator>
1616
<meta content=W3C name=dcterms.publisher>
1717
<meta content="http://dev.w3.org/csswg/css3-multicol/"
1818
name=dcterms.identifier>
1919
<link href="../default.css" rel=stylesheet type="text/css">
2020
<link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet
2121
type="text/css">
22+
<<<<<<< local
2223
<script defer=defer
2324
src="http://test.csswg.org/harness/annotate.js#css-multicol-1_dev"
2425
type="text/javascript"></script>
26+
=======
27+
<script defer=defer
28+
src="http://test.csswg.org/harness/annotate.js#CSS3-MULTICOL_DEV"
29+
type="text/javascript"></script>
30+
>>>>>>> other
2531
<style type="text/css">
2632
.cols { width: 500px; height: 200px; background: #fff; position: relative; border: solid 5px blue; margin: 0.5em 2em 1em 0; font: bold 14px/19px Arial, sans-serif }
2733
.cols p { padding: 3px; margin: 0 }
@@ -42,13 +48,13 @@
4248

4349
<h1>CSS Multi-column Layout Module</h1>
4450

45-
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 27 June 2013</h2>
51+
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft 22 July 2013</h2>
4652

4753
<dl>
4854
<dt>This version:
4955

5056
<dd>
51-
<!--<a href="http://www.w3.org/TR/2013/CR-css3-multicol-20130627">http://dev.w3.org/csswg/css3-multicol/</a>-->
57+
<!--<a href="http://www.w3.org/TR/2013/CR-css3-multicol-20130722">http://dev.w3.org/csswg/css3-multicol/</a>-->
5258
<a
5359
href="http://dev.w3.org/csswg/css3-multicol/">http://dev.w3.org/csswg/css3-multicol/</a>
5460

@@ -74,11 +80,12 @@ <h2 class="no-num no-toc" id=w3c-working>Editor's Draft 27 June 2013</h2>
7480
<dt>Editors:
7581

7682
<dd>Håkon Wium Lie, Opera Software, howcome@opera.com
77-
83+
7884
<dt>Test Suite:
7985

80-
<dd><a
81-
href="http://test.csswg.org/suites/css3-multicol/nightly-unstable/">http://test.csswg.org/suites/css3-multicol/nightly-unstable/</a>
86+
<dd><a
87+
href="http://test.csswg.org/suites/css3-multicol/nightly-unstable/">
88+
http://test.csswg.org/suites/css3-multicol/nightly-unstable/</a>
8289
</dl>
8390
<!--begin-copyright-->
8491
<p class=copyright><a
@@ -1409,7 +1416,7 @@ <h3 id=column-rule><span class=secno>4.5. </span>‘<a
14091416

14101417
<div class=example>
14111418
<p>If a tall image is moved to a column on the next page to find room for
1412-
it, its natural column may be left empty. If so, the column is is still
1419+
it, its natural column may be left empty. If so, the column is still
14131420
considered to have content for the purpose of deciding if the column rule
14141421
should be drawn.
14151422
</div>

css-multicol/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ <h3>'column-rule'</h3>
11031103

11041104
<div class=example>
11051105
<p>If a tall image is moved to a column on the next page to find room
1106-
for it, its natural column may be left empty. If so, the column is is
1106+
for it, its natural column may be left empty. If so, the column is
11071107
still considered to have content for the purpose of deciding if the
11081108
column rule should be drawn.
11091109
</div>

0 commit comments

Comments
 (0)