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-display-3/Overview.bs
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1010,7 +1010,7 @@ Display Order: the 'order' property</h2>
1010
1010
flex-flow: column;
1011
1011
}
1012
1012
article.sale-item > img {
1013
-
order: -1; /* Shift image before other content (in visual order) */
1013
+
order: -1; /* Shift image before other content (in layout order) */
1014
1014
align-self: center;
1015
1015
}
1016
1016
</pre>
@@ -1096,24 +1096,24 @@ Reordering and Accessibility</h3>
1096
1096
(such as cycling through links, see e.g. <a href="https://html.spec.whatwg.org/multipage/interaction.html#attr-tabindex"><code>tabindex</code></a>[[HTML]]).
1097
1097
1098
1098
Advisement:
1099
-
Authors <em>must</em> use 'order' only for visual, not logical, reordering of content.
1099
+
Authors <em>must</em> use 'order' only for spatial, not logical, reordering of content.
1100
1100
Style sheets that use 'order' to perform logical reordering are non-conforming.
1101
1101
1102
1102
Note: This is so that non-visual media and non-CSS UAs,
1103
1103
which typically present content linearly,
1104
1104
can rely on a logical source order,
1105
-
while 'order' is used to tailor the visual order.
1105
+
while 'order' is used to tailor the layout order.
1106
1106
(Since visual perception is two-dimensional and non-linear,
1107
-
the desired visual order is not always logical.)
1107
+
the desired layout order is not always logical.)
1108
1108
1109
1109
In order to preserve the author's intended ordering in all presentation modes,
1110
1110
authoring tools--
1111
1111
including WYSIWYG editors as well as Web-based authoring aids--
1112
1112
must reorder the underlying document source
1113
1113
and not use 'order' to perform reordering
1114
-
unless the author has explicitly indicated that the underlying
1115
-
document order (which determines speech and navigation order) should be
1116
-
<em>out-of-sync</em> with the visual order.
1114
+
unless the author has explicitly indicated that
1115
+
the spatial order should be<em>out-of-sync</em> with
1116
+
the underlying document order (which determines speech and navigation order).
1117
1117
1118
1118
<div class="example">
1119
1119
For example, a tool might offer both drag-and-drop reordering of flex items
@@ -1122,11 +1122,11 @@ Reordering and Accessibility</h3>
1122
1122
Since most of the time, reordering should affect all screen ranges
1123
1123
as well as navigation and speech order,
1124
1124
the tool would perform drag-and-drop reordering at the DOM layer.
1125
-
In some cases, however, the author may want different visual orderings per screen size.
1125
+
In some cases, however, the author may want different layouts per screen size.
1126
1126
The tool could offer this functionality by using 'order' together with media queries,
1127
1127
but also tie the smallest screen size's ordering to the underlying DOM order
1128
1128
(since this is most likely to be a logical linear presentation order)
1129
-
while using 'order' to determine the visual presentation order in other size ranges.
1129
+
while using 'order' to define the visual presentation order in other size ranges.
1130
1130
1131
1131
This tool would be conformant, whereas a tool that only ever used 'order'
Copy file name to clipboardExpand all lines: css-display-4/Overview.bs
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1070,7 +1070,7 @@ Display Order Shorthand: the 'order' property</h3>
1070
1070
flex-flow: column;
1071
1071
}
1072
1072
article.sale-item > img {
1073
-
order: -1; /* Shift image before other content (in visual order) */
1073
+
order: -1; /* Shift image before other content (in layout order) */
1074
1074
align-self: center;
1075
1075
}
1076
1076
</pre>
@@ -1239,24 +1239,24 @@ Reordering and Accessibility</h3>
1239
1239
(such as cycling through links, see e.g. <a href="https://html.spec.whatwg.org/multipage/interaction.html#attr-tabindex"><code>tabindex</code></a>[[HTML]]).
1240
1240
1241
1241
Advisement:
1242
-
Authors <em>must</em> use 'layout-order' only for visual, not logical, reordering of content.
1242
+
Authors <em>must</em> use 'layout-order' only for spatial, not logical, reordering of content.
1243
1243
Style sheets that use 'layout-order' to perform logical reordering are non-conforming.
1244
1244
1245
1245
Note: This is so that non-visual media and non-CSS UAs,
1246
1246
which typically present content linearly,
1247
1247
can rely on a logical source order,
1248
-
while 'layout-order' is used to tailor the visual order.
1248
+
while 'layout-order' is used to tailor the layout order.
1249
1249
(Since visual perception is two-dimensional and non-linear,
1250
-
the desired visual order is not always logical.)
1250
+
the desired layout order is not always logical.)
1251
1251
1252
1252
In order to preserve the author's intended ordering in all presentation modes,
1253
1253
authoring tools--
1254
1254
including WYSIWYG editors as well as Web-based authoring aids--
1255
1255
must reorder the underlying document source
1256
1256
and not use 'layout-order' to perform reordering
1257
-
unless the author has explicitly indicated that the underlying
1258
-
document order (which determines speech and navigation order) should be
1259
-
<em>out-of-sync</em> with the visual order.
1257
+
unless the author has explicitly indicated that
1258
+
the spatial order should be<em>out-of-sync</em> with
1259
+
the underlying document order (which determines speech and navigation order).
1260
1260
1261
1261
<div class="example">
1262
1262
For example, a tool might offer both drag-and-drop reordering of flex items
@@ -1265,11 +1265,11 @@ Reordering and Accessibility</h3>
1265
1265
Since most of the time, reordering should affect all screen ranges
1266
1266
as well as navigation and speech order,
1267
1267
the tool would perform drag-and-drop reordering at the DOM layer.
1268
-
In some cases, however, the author may want different visual orderings per screen size.
1268
+
In some cases, however, the author may want different layouts per screen size.
1269
1269
The tool could offer this functionality by using 'order' together with media queries,
1270
1270
but also tie the smallest screen size's ordering to the underlying DOM order
1271
1271
(since this is most likely to be a logical linear presentation order)
1272
-
while using 'order' to determine the visual presentation order in other size ranges.
1272
+
while using 'order' to define the visual presentation order in other size ranges.
1273
1273
1274
1274
This tool would be conformant, whereas a tool that only ever used 'order'
0 commit comments