Skip to content

Commit 362b3c1

Browse files
committed
[css-logical-1] Update issue describing status of logical shorthand notation.
1 parent 1095673 commit 362b3c1

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

css-logical-1/Overview.bs

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -667,18 +667,23 @@ Four-Directional Shorthand Properties: the 'margin', 'padding', 'border-width',
667667
to indicate that the values map to the flow-relative properties instead of the physical ones.
668668

669669
<p class="issue">
670-
other candidates of the keyword are: <css>relative</css>, <css>script</css>,
671-
<css>writing-mode</css>, <css>beas</css>, or the value itself (e.g., <css>vertical-lr-ltr</css>)
670+
The proposed syntax for this feature is <a href="https://github.com/w3c/csswg-drafts/issues/1282">under discussion</a>
671+
and is almost guaranteed to change from what is described here.
672+
This section remains in the draft to promote discussion of alternatives
673+
and to document the affected properties and expected impact on their interpretation
674+
of whatever syntactic switch is ultimately chosen.
672675

673676
The following [[!CSS21]] shorthand properties
674-
(and additionally the new 'inset' shorthand defined above)
675677
accept the ''margin/logical'' keyword:
676678
<ul>
679+
<li>'inset'
677680
<li>'margin'
678681
<li>'padding'
679682
<li>'border-width'
680683
<li>'border-style'
681684
<li>'border-color'
685+
<li>'scroll-padding'
686+
<li>'scroll-margin'
682687
</ul>
683688

684689
The syntax for these properties is effectively changed by replacing
@@ -687,8 +692,9 @@ Four-Directional Shorthand Properties: the 'margin', 'padding', 'border-width',
687692
with
688693
<pre class="prod">logical? &lt;<var>value-type</var>&gt;{1,4}</pre>
689694

690-
When the ''margin/logical'' keyword is present in the value, the values that follow are
691-
assigned to the flow-relative properties as follows:
695+
When the ''margin/logical'' keyword is present in the value,
696+
the values that follow are assigned to its flow-relative longhands
697+
as follows:
692698

693699
<ul>
694700
<li>If only one value is set, the value applies to all four flow-relative <a>longhands</a>.

0 commit comments

Comments
 (0)