Skip to content

Commit 9cbe2c1

Browse files
committed
[css-logical-props] Catch up commit: table captions and map key issue.
1 parent a592fee commit 9cbe2c1

File tree

1 file changed

+28
-11
lines changed

1 file changed

+28
-11
lines changed

css-logical-props/Overview.bs

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -109,16 +109,15 @@ Logical Values for the 'caption-side' Property</h3>
109109

110110
<pre class="propdef partial">
111111
Name: caption-side
112-
New values: block-start | block-end | inline-start | inline-end
112+
New values: inline-start | inline-end
113113
</pre>
114114

115-
Note: The 'caption-side' property is 1-dimensional in CSS2.1,
116-
but was 2-dimensional in CSS2.0,
117-
(and presumably will be 2-dimensional again in a future update to CSS tables).
118-
It therefore accepts the full set of flow-relative directions.
119-
However, the ''caption/inline-start'' and ''caption/inline-end'' values
120-
(which correspond to the behavior of the ''caption-side/left'' and ''caption-side/right'' values in CSS2.0)
121-
are only required to be supported by UAs that support ''caption-side/left'' and ''caption-side/right''.
115+
These two values are added only for implementations that support
116+
''caption-side/left'' and ''caption-side/right'' values for 'caption-side'.
117+
The existing ''caption/top'' and ''caption/bottom'' values are idiosyncratically redefined
118+
as assigning to the <a>block-start</a> and <a>block-end</a> sides of the table, respectively.
119+
The mapping on this property uses the <a>writing mode</a> of the element’s <a>containing block</a>
120+
(that is, the table wrapper box).
122121

123122
<h3 id="float-clear">
124123
Flow-Relative Values for the 'float' and 'clear' Properties</h3>
@@ -128,6 +127,8 @@ Flow-Relative Values for the 'float' and 'clear' Properties</h3>
128127
New values: inline-start | inline-end
129128
</pre>
130129

130+
The mapping on this property uses the <a>writing mode</a> of the element’s <a>containing block</a>.
131+
131132
Note: These properties are 1-dimensional in CSS2,
132133
but are planned to be expanded to two dimensions,
133134
and therefore are given unabbreviated <a>flow-relative</a> keywords.
@@ -211,9 +212,12 @@ Flow-Relative Box Model Properties</h2>
211212
Which pairs of properties share computed values
212213
depends on the element’s computed values of
213214
'writing-mode', 'direction', and 'text-orientation'.
214-
For a table of these dependencies, see
215-
<a href="https://drafts.csswg.org/css-writing-modes/#logical-to-physical">Abstract-to-Physical Mappings</a>
216-
in [[!CSS3-WRITING-MODES]].
215+
216+
Issue: Depending on the element’s own writing mode
217+
simplifies the cascading calculations
218+
and gives a straightforward model for authors to reason about.
219+
However, it is problematic in many cases,
220+
see for example <a href="https://www.w3.org/mid/20161108202634.GA7235@mail.internode.on.net">this discussiona</a>.
217221

218222
A computed value that has flow-relative and physical properties as input
219223
is determined by applying the CSS cascade to declarations of both.
@@ -594,3 +598,16 @@ Border Image Transform: The 'border-image-transform' property</h3>
594598
<li>'border-image-repeat'
595599
<li>'border-image'
596600
</ul>
601+
602+
<h2 id="changes">
603+
Changes</h2>
604+
605+
Changes since the last Working Draft include:
606+
<ul>
607+
<li>Making all properties cascade using the <a>writing mode</a> specified on the element, not on its parent.
608+
<li>Making the ordering of longhands within 'margin'-like shorthands put inline-start before inline-end.
609+
<li>Renaming the <css>outset-*</css> properties to 'inset-*' and marking an issue for discussion.
610+
<li>Adding an Introduction section.
611+
<li>Updating to current terminology of CSS Writing Modes.
612+
<li>Miscellaneous prose cleanup.
613+
</ul>

0 commit comments

Comments
 (0)