Skip to content

Commit 838b065

Browse files
committed
(merge)
2 parents 23b7217 + dfef6ff commit 838b065

74 files changed

Lines changed: 6450 additions & 3802 deletions

Some content is hidden

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

.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RewriteRule ^css3-background/(.*)$ http://dev.w3.org/csswg/css-backgrounds/$1 [R
2929
RewriteRule ^css3-box/(.*)$ http://dev.w3.org/csswg/css-box/$1 [R=301,L]
3030
RewriteRule ^css3-break/(.*)$ http://dev.w3.org/csswg/css-break/$1 [R=301,L]
3131
RewriteRule ^css3-cascade/(.*)$ http://dev.w3.org/csswg/css-cascade/$1 [R=301,L]
32-
RewriteRule ^css3-color/(.*)$ http://dev.w3.org/csswg/css-color-3/$1 [R=301,L]
32+
RewriteRule ^css3-color/(.*)$ http://dev.w3.org/csswg/css-color/$1 [R=301,L]
3333
RewriteRule ^css3-conditional/(.*)$ http://dev.w3.org/csswg/css-conditional/$1 [R=301,L]
3434
RewriteRule ^css3-content/(.*)$ http://dev.w3.org/csswg/css-content/$1 [R=301,L]
3535
RewriteRule ^css3-exclusions/(.*)$ http://dev.w3.org/csswg/css-exclusions/$1 [R=301,L]
@@ -115,7 +115,7 @@ RewriteRule ^css-backgrounds-3/(.*)$ css-backgrounds/$1
115115
RewriteRule ^css-box-3/(.*)$ css-box/$1
116116
RewriteRule ^css-break-3/(.*)$ css-break/$1
117117
RewriteRule ^css-cascade-3/(.*)$ css-cascade/$1
118-
RewriteRule ^css-color-4/(.*)$ css-color/$1
118+
RewriteRule ^css-color-3/(.*)$ css-color/$1
119119
RewriteRule ^css-conditional-3/(.*)$ css-conditional/$1
120120
RewriteRule ^css-content-3/(.*)$ css-content/$1
121121
RewriteRule ^css-counter-styles-3/(.*)$ css-counter-styles/$1

bin/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Scripts in this directory should be chmod 755.
1+
Scripts in this directory should be chmod 744.
22
NOT 755. 744. Yeah.
33

bin/hg-functions

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# You always want to do rebase pulls.
2+
alias pull='hg pull --rebase'
3+
4+
# You always want to pull before pushing, to avoid spurious collisions.
5+
alias push='pull && hg push'
6+
7+
# Commits, and prepends the current directory name to the commit message.
8+
# Just pass it the commit message as an argument.
9+
function save {
10+
hg commit -m "[${PWD##*/}] ${1}"
11+
}
12+
13+
# Regens, commits, and pulls/pushes, all in one package.
14+
# Pass it the commit message as an argument.
15+
function rcommit {
16+
regenerate && save "${1}" . && push
17+
}

css-align/Overview.html

Lines changed: 174 additions & 203 deletions
Large diffs are not rendered by default.

css-align/Overview.src.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-[STATUS].css">
1111
<style type="text/css">
1212
.issue th:first-child { text-align: left !important; }
13-
[rowspan] > img { max-height: 4em; float: right; }
13+
[rowspan] > img { float: right; }
1414
[rowspan] { vertical-align: middle; }
1515
small { display: block; }
1616
</style>
@@ -166,7 +166,7 @@ <h2 id="overview">
166166
<tbody>
167167
<tr><th>'justify-content'
168168
<td>inline
169-
<td rowspan=2><img src="content-target.jpg" alt="">content within element <small>(effectively adjusts padding)</small>
169+
<td rowspan=2><img src="images/content-example.svg" width=106 height=106 alt="">content within element <small>(effectively adjusts padding)</small>
170170
<td>block containers and flex containers
171171
<tr><th>'align-content'
172172
<td>stacking
@@ -175,7 +175,7 @@ <h2 id="overview">
175175
<tbody>
176176
<tr><th>'justify-self'
177177
<td>inline
178-
<td rowspan=2><img src="self-target.jpg" alt=""> element within parent <small>(effectively adjusts margins)</small>
178+
<td rowspan=2><img src="images/self-example.svg" width=106 height=106 alt=""> element within parent <small>(effectively adjusts margins)</small>
179179
<td>block-level elements and grid items
180180
<tr><th>'align-self'
181181
<td>stacking
@@ -184,7 +184,7 @@ <h2 id="overview">
184184
<tbody>
185185
<tr><th>'justify-items'
186186
<td>inline
187-
<td rowspan=2><img src="child-target.jpg" alt=""> items inside element <small>(controls child items&rsquo; ''align/justify-self: auto'')</small>
187+
<td rowspan=2><img src="images/items-example.svg" width=106 height=106 alt=""> items inside element <small>(controls child items&rsquo; ''align/justify-self: auto'')</small>
188188
<td>grid containers
189189
<tr><th>'align-items'
190190
<td>stacking
@@ -499,7 +499,7 @@ <h2 id='content-distribution'>
499499
<p>The 'justify-content' and 'align-content' properties control alignment of the box's content within the box.
500500

501501
<div class="figure">
502-
<p><img alt="Diagram showing that the alignment of the content within the element is affected." src="content-target.jpg">
502+
<p><img alt="Diagram showing that the alignment of the content within the element is affected." src="images/content-example.svg" width=212 height=212>
503503
</div>
504504

505505
<table class=propdef>
@@ -649,7 +649,7 @@ <h2 id='self-alignment'>
649649
The 'justify-self' and 'align-self' properties control alignment of the box within its containing block.
650650

651651
<div class="figure">
652-
<p><img alt="Diagram showing that the alignment of the element within its containing block is affected." src="self-target.jpg">
652+
<p><img alt="Diagram showing that the alignment of the element within its containing block is affected." src="images/self-example.svg" width=212 height=212>
653653
</div>
654654

655655
<h3 id='justify-self-property'>
@@ -931,7 +931,7 @@ <h2 id='default-alignment'>
931931
The 'align-items' and 'justify-items' properties set the default 'align-self' and 'justify-self' behavior of the items contained by the element.
932932

933933
<div class="figure">
934-
<p><img alt="Diagram showing that the alignment of grid items within the element is affected." src="child-target.jpg">
934+
<p><img alt="Diagram showing that the alignment of grid items within the element is affected." src="images/items-example.svg" width=212 height=212>
935935
</div>
936936

937937
<h3 id='justify-items-property'>
@@ -1068,12 +1068,12 @@ <h2 id="changes">
10681068
<li>Defined terms <i>alignment container</i> and <i>alignment subject</i>
10691069
to make ti easier to define alignment.
10701070
<li>Pulled out all value definitions into a general section on <a href="#alignment-values">Alignment Values</a>.
1071-
<li>Added both ''safe'' and ''true'' as <a href="file:///home/fantasai/w3c/csswg/css-align/Overview.html#overflow-values">overflow alignment keywords</a>
1071+
<li>Added both ''safe'' and ''true'' as <a href="#overflow-values">overflow alignment keywords</a>
10721072
and made the default layout-mode-dependent.
10731073
<li>Removed ''head'' and ''foot'' keywords,
10741074
defined ''start'' and ''end'' keywords as relative to the <i>alignment container</i>'s <i>writing mode</i>,
10751075
and added ''self-start'' and ''self-end'' to be relative to the <i>alignment subject</i>.
1076-
<li>Filled out details on <a href="file:///home/fantasai/w3c/csswg/css-align/Overview.html#baseline">baseline alignment</a>.
1076+
<li>Filled out details on <a href="#baseline">baseline alignment</a>.
10771077
<li>Made 'justify-items' handle the <code>&lt;CENTER&gt;></code>/<code>align</code> attribute requirements
10781078
by adding ''legacy'' keyword.
10791079
<li>Added <i>fallback alignment</i> ability for 'justify-content' and 'align-content'.

css-align/child-target.jpg

-18.6 KB
Binary file not shown.

css-align/content-target.jpg

-16 KB
Binary file not shown.
Lines changed: 21 additions & 0 deletions
Loading

css-align/images/items-example.svg

Lines changed: 15 additions & 0 deletions
Loading

css-align/images/self-example.svg

Lines changed: 14 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)