You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-logical-props/Overview.bs
+23-19Lines changed: 23 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -291,18 +291,18 @@ the margin- and offset- block-start/block-end/inline-start/inline-end properties
291
291
element's 'writing-mode', 'direction', and 'text-orientation'.
292
292
293
293
<h3 id="logical-shorthand-keyword">
294
-
Shorthand Properties with ''logical'' Keyword</h3>
294
+
Shorthand Properties with <css>logical</css> Keyword</h3>
295
295
296
296
The shorthand properties for margin, padding, and border set values
297
-
for physical properties by default. But authors can specify the ''logical''
297
+
for physical properties by default. But authors can specify the <dfn value for="margin, padding, border-color, border-style, border-width">logical</dfn>
298
298
keyword at the beginning of the property value to indicate that the values
299
299
map to the logical properties instead of the physical ones.
300
300
301
301
<p class="issue">
302
302
other candidates of the keyword are: ''relative'', ''script'',
303
303
''writing-mode'', ''beas'', or the value itself (e.g., ''vertical-lr-ltr'')
304
304
305
-
The following [[!CSS21]] shorthand properties accept the ''logical'' keyword:
305
+
The following [[!CSS21]] shorthand properties accept the ''margin/logical'' keyword:
306
306
<ul>
307
307
<li>'margin'</li>
308
308
<li>'padding'</li>
@@ -312,13 +312,14 @@ Shorthand Properties with ''logical'' Keyword</h3>
312
312
</ul>
313
313
314
314
The syntax for these properties is effectively changed by replacing
Shorthand Properties with <aclass="css"data-link-type="maybe" href="#valdef-background-image-transform-logical">logical</a> Keyword</span><aclass="self-link" href="#logical-shorthand-keyword"></a></h3>
839
+
Shorthand Properties with <spanclass="css">logical</span> Keyword</span><aclass="self-link" href="#logical-shorthand-keyword"></a></h3>
782
840
783
841
784
842
<p>The shorthand properties for margin, padding, and border set values
785
-
for physical properties by default. But authors can specify the <aclass="css" data-link-type="maybe" href="#valdef-background-image-transform-logical">logical</a>
843
+
for physical properties by default. But authors can specify the <dfnclass="css" data-dfn-for="margin, padding, border-color, border-style, border-width" data-dfn-type="value" data-export="" id="valdef-margin-logical">logical<aclass="self-link" href="#valdef-margin-logical"></a></dfn>
786
844
keyword at the beginning of the property value to indicate that the values
787
845
map to the logical properties instead of the physical ones.</p>
<p>This property defines whether background images are transformed to match to
923
982
the value of <aclass="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-writing-modes-3/#propdef-writing-mode">writing-mode</a> property, and whether <aclass="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#background-size">background-size</a> widths and
924
983
heights are logical or physical. Values have the following meanings:</p>
value of <aclass="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-writing-modes-3/#propdef-writing-mode">writing-mode</a> property, with the reference writing mode being
1009
1069
<aclass="css" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-writing-modes-3/#propdef-writing-mode">writing-mode: horizontal-tb; direction: ltr</a>. Values have the following
Similar to <aclass="css" data-link-type="maybe" href="#valdef-background-image-transform-logical">logical</a>, except that the inline direction is ignored.
1095
+
Similar to <aclass="css" data-link-type="maybe" href="#valdef-border-image-transform-logical">logical</a>, except that the inline direction is ignored.
1035
1096
The result is affected only by the block flow direction.
0 commit comments