Skip to content

Commit b5a3f45

Browse files
committed
[css-writing-modes] Update caption-side to new naming
1 parent 38d6bee commit b5a3f45

File tree

2 files changed

+28
-37
lines changed

2 files changed

+28
-37
lines changed

css-writing-modes/Overview.html

+21-25
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
rel=dcterms.rights>
1111
<meta content="CSS Writing Modes Module Level 3" name=dcterms.title>
1212
<meta content=text name=dcterms.type>
13-
<meta content=2013-05-09 name=dcterms.date>
13+
<meta content=2013-05-13 name=dcterms.date>
1414
<meta content="Elika J. Etemad" name=dcterms.creator>
1515
<meta content="Koji Ishii" name=dcterms.creator>
1616
<meta content=W3C name=dcterms.publisher>
@@ -43,15 +43,15 @@
4343

4444
<h1>CSS Writing Modes Module Level 3</h1>
4545

46-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 9 May 2013</h2>
46+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 13 May 2013</h2>
4747

4848
<dl>
4949
<dt>This version:
5050

5151
<dd><a
5252
href="http://dev.w3.org/csswg/css3-writing-modes/">http://dev.w3.org/csswg/css3-writing-modes/</a>
5353
<!--
54-
<dd><a href="http://www.w3.org/TR/2013/WD-css3-writing-modes-20130509/">http://dev.w3.org/csswg/css3-writing-modes/</a>
54+
<dd><a href="http://www.w3.org/TR/2013/WD-css3-writing-modes-20130513/">http://dev.w3.org/csswg/css3-writing-modes/</a>
5555
-->
5656

5757
<dt>Latest version:
@@ -3027,13 +3027,13 @@ <h3 id=caption-side><span class=secno>7.7. </span> Table Caption Mappings:
30273027
<tr>
30283028
<th>New Values:
30293029

3030-
<td><code class=css>before</code>’ | ‘<code
3031-
class=css>after</code>
3030+
<td><a href="#start"><code class=css>start</code></a>’ | ‘<a
3031+
href="#end"><code class=css>end</code></a>
30323032

30333033
<tr>
30343034
<th>Initial:
30353035

3036-
<td>before
3036+
<td>start
30373037

30383038
<tr>
30393039
<th>Applies to:
@@ -3061,42 +3061,38 @@ <h3 id=caption-side><span class=secno>7.7. </span> Table Caption Mappings:
30613061
<td>specified value
30623062
</table>
30633063

3064-
<p class=issue> How should this work with the new directional terms? Do we
3065-
switch before/after to start/end, or stick with before/after since they're
3066-
more ordering than positioning...?
3067-
30683064
<p>This module introduces two new values to the ‘<code
3069-
class=property>caption-side</code>’ property: ‘<code
3070-
class=css>before</code>’ and ‘<code class=css>after</code>’, which
3071-
position the caption before and after the table box, respectively. For
3072-
tables with ‘<a href="#horizontal-tb"><code
3073-
class=css>horizontal-tb</code></a>’ writing mode, they are equivalent to
3074-
the existing ‘<code class=css>top</code> and ‘<code
3075-
class=css>bottom</code>’ values, respectively. <a href="#CSS21"
3076-
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>
3065+
class=property>caption-side</code>’ property: ‘<a href="#start"><code
3066+
class=css>start</code></a>’ and ‘<a href="#end"><code
3067+
class=css>end</code></a>’, which position the caption before and after
3068+
the table box, respectively. For tables with ‘<a
3069+
href="#horizontal-tb"><code class=css>horizontal-tb</code></a>’ writing
3070+
mode, they are equivalent to the existing ‘<code class=css>top</code>
3071+
and ‘<code class=css>bottom</code>’ values, respectively. <a
3072+
href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>
30773073

30783074
<p class=note>For implementations that support the ‘<code
30793075
class=property>top-outside</code>’ and ‘<code
30803076
class=property>bottom-outside</code>’ model, corresponding ‘<code
3081-
class=property>before-outside</code>’ and ‘<code
3082-
class=property>after-outside</code>’ will be similarly introduced.
3077+
class=property>start-outside</code>’ and ‘<code
3078+
class=property>end-outside</code>’ will be similarly introduced.
30833079

30843080
<p>Implementations that support the ‘<code class=css>top</code>’ and
30853081
<code class=css>bottom</code>’ values of the ‘<code
30863082
class=property>caption-side</code>’ property but do not support side
30873083
captions (i.e. ‘<code class=css>left</code>’ and ‘<code
30883084
class=css>right</code>’ captions in horizontal writing modes) must treat
30893085
<code class=css>top</code>’ and ‘<code class=css>bottom</code>
3090-
as ‘<code class=css>before</code>’, when the table is in a vertical
3091-
writing mode.
3086+
as ‘<a href="#start"><code class=css>start</code></a>’, when the table
3087+
is in a vertical writing mode.
30923088

30933089
<p>For implementations that do support side captions (i.e. the ‘<code
30943090
class=css>left</code>’ and ‘<code class=css>right</code>’ values
30953091
from the obsolete CSS 2.0 specification <a href="#CSS2"
30963092
rel=biblioentry>[CSS2]<!--{{CSS2}}--></a>), this module also introduces
3097-
the ‘<a href="#start"><code class=css>start</code></a> and ‘<a
3098-
href="#end"><code class=css>end</code></a> values, which behave
3099-
similarly and which position the caption on the <a
3093+
the ‘<a href="#inline-start"><code class=css>inline-start</code></a>
3094+
and ‘<a href="#inline-end"><code class=css>inline-end</code></a>
3095+
values, which behave similarly and which position the caption on the <a
31003096
href="#inline-start"><i>inline-start</i></a> and <a
31013097
href="#inline-end"><i>inline-end</i></a> sides of the table box,
31023098
calculated with respect to the writing mode of the table element. For such

css-writing-modes/Overview.src.html

+7-12
Original file line numberDiff line numberDiff line change
@@ -2230,11 +2230,11 @@ <h3 id="caption-side">
22302230
</tr>
22312231
<tr>
22322232
<th>New Values:</th>
2233-
<td>''before'' | ''after''</td>
2233+
<td>''start'' | ''end''</td>
22342234
</tr>
22352235
<tr>
22362236
<th>Initial:</th>
2237-
<td>before</td>
2237+
<td>start</td>
22382238
</tr>
22392239
<tr>
22402240
<th>Applies to:</th>
@@ -2259,30 +2259,25 @@ <h3 id="caption-side">
22592259
</tbody>
22602260
</table>
22612261

2262-
<p class="issue">
2263-
How should this work with the new directional terms?
2264-
Do we switch before/after to start/end, or stick with before/after
2265-
since they're more ordering than positioning...?
2266-
22672262
<p>This module introduces two new values to the 'caption-side' property:
2268-
''before'' and ''after'', which position the caption before and
2263+
''start'' and ''end'', which position the caption before and
22692264
after the table box, respectively. For tables with ''horizontal-tb''
22702265
writing mode, they are equivalent to the existing ''top'' and
22712266
''bottom'' values, respectively. [[!CSS21]]
22722267

22732268
<p class='note'>For implementations that support the 'top-outside'
2274-
and 'bottom-outside' model, corresponding 'before-outside' and
2275-
'after-outside' will be similarly introduced.
2269+
and 'bottom-outside' model, corresponding 'start-outside' and
2270+
'end-outside' will be similarly introduced.
22762271

22772272
<p>Implementations that support the ''top'' and ''bottom'' values
22782273
of the 'caption-side' property but do not support side captions
22792274
(i.e. ''left'' and ''right'' captions in horizontal writing modes)
2280-
must treat ''top'' and ''bottom'' as ''before'', when the table
2275+
must treat ''top'' and ''bottom'' as ''start'', when the table
22812276
is in a vertical writing mode.
22822277

22832278
<p>For implementations that do support side captions
22842279
(i.e. the ''left'' and ''right'' values from the obsolete CSS&nbsp;2.0 specification [[CSS2]]),
2285-
this module also introduces the ''start'' and ''end'' values,
2280+
this module also introduces the ''inline-start'' and ''inline-end'' values,
22862281
which behave similarly and which position the
22872282
caption on the <i>inline-start</i> and <i>inline-end</i> sides of the table box,
22882283
calculated with respect to the writing mode of the table element.

0 commit comments

Comments
 (0)