Skip to content

Commit 1e7facb

Browse files
committed
Changed "CSS View Box" to "concrete object size", and reworded as appropriate.
Fixed two tiny misspellings.
1 parent f64425d commit 1e7facb

2 files changed

Lines changed: 121 additions & 106 deletions

File tree

css3-images/Overview.html

Lines changed: 85 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ <h2 class="no-num no-toc" id=abstract> Abstract</h2>
7474

7575
<p>This CSS Image Values and Replaced Content module has two parts: First,
7676
it defines the syntax for <a href="#ltimage"><i>&lt;image></i></a> values
77-
in CSS. <a href="#ltimage"><i>&lt;image</i></a> values can be a single URI
78-
to an image, a list of URIs denoting a series of fallbacks, a reference to
79-
an element in the document, or gradients. Second, it defines properties
80-
used to control the interaction of replaced content and the CSS layout
81-
algorithms. These properties can affect the used image resolution for
82-
bitmaps, the replaced object's orientation, and whether and how to
77+
in CSS. <a href="#ltimage"><i>&lt;image></i></a> values can be a single
78+
URI to an image, a list of URIs denoting a series of fallbacks, a
79+
reference to an element in the document, or gradients. Second, it defines
80+
properties used to control the interaction of replaced content and the CSS
81+
layout algorithms. These properties can affect the used image resolution
82+
for bitmaps, the replaced object's orientation, and whether and how to
8383
preserve the object's aspect ratio.</p>
8484
<!-- ====================================================================== -->
8585

@@ -282,7 +282,7 @@ <h2 id=conformance><span class=secno>2. </span> Conformance</h2>
282282
<dl>
283283
<dt><dfn id=minimal>minimal</dfn>
284284

285-
<dd>A device that does not implement CSS Transforms, CSS Animations, nor
285+
<dd>A device that does not implement CSS Transitions, CSS Animations, nor
286286
CSSOM may ignore the chapters on Serializing and Interpolating values for
287287
the purpose of claiming conformance.
288288

@@ -620,11 +620,10 @@ <h2 id=gradients><span class=secno>5. </span> Gradients</h2>
620620

621621
<p class=note>In many places this section references a box, such as "the
622622
box's top-left corner" or "the box's right side". In all of these
623-
circumstances, the "box" refers to the &lsquo;<a
624-
href="#css-view-box"><code class=css>CSS View Box</code></a>&rsquo; (see
625-
the "Sizing Images and Objects in CSS" section of this spec for
626-
clarification). A gradient has no intrinsic dimensions. This means that,
627-
for example, if you use a gradient in a &lsquo;<code
623+
circumstances, the "box" refers to the &lsquo;<code class=css>CSS View
624+
Box</code>&rsquo; (see the "Sizing Images and Objects in CSS" section of
625+
this spec for clarification). A gradient has no intrinsic dimensions. This
626+
means that, for example, if you use a gradient in a &lsquo;<code
628627
class=property>background-image</code>&rsquo;, the "box" will simply be
629628
the size of the background sizing area. If you use a gradient in a
630629
list-style-image, the "box" will be a 1em square.
@@ -1176,23 +1175,26 @@ <h3 id=sizing-terms><span class=secno>6.1. </span> Object-Sizing
11761175
size can be a definite width and height, a set of constraints, or a
11771176
combination thereof.
11781177

1179-
<dt><dfn id=css-view-box>CSS View Box</dfn>
1178+
<dt><dfn id=concrete-object-size>concrete object size</dfn>
11801179

1181-
<dd>The CSS View Box is the result of transforming the <a
1180+
<dd>The <a href="#concrete-object-size"><i>concrete object size</i></a> is
1181+
the result of transforming the <a
11821182
href="#intrinsic-dimensions"><i>intrinsic dimensions</i></a> into a
1183-
concrete size, based on the specified size and the <a
1184-
href="#default-object-size"><i>default object size</i></a>. A CSS View
1185-
Box always has a definite height and width.
1183+
concrete size, based on the <a href="#specified-size"><i>specified
1184+
size</i></a> and the <a href="#default-object-size"><i>default object
1185+
size</i></a>. A <a href="#concrete-object-size"><i>concrete object
1186+
size</i></a> always has a definite height and width.
11861187

11871188
<dt><dfn id=default-object-size>default object size</dfn>
11881189

11891190
<dd>
1190-
<p>The default object size is a rectangle with a definite height and
1191-
width used to determine the size of the CSS View Box when both the <a
1192-
href="#intrinsic-dimensions"><i>intrinsic dimensions</i></a> and <a
1193-
href="#specified-size"><i>specified size</i></a> are missing dimensions.
1194-
It varies based on the context in which that the image is being laid
1195-
out.</p>
1191+
<p>The <a href="#default-object-size"><i>default object size</i></a> is a
1192+
rectangle with a definite height and width used to determine the <a
1193+
href="#concrete-object-size"><i>concrete object size</i></a> when both
1194+
the <a href="#intrinsic-dimensions"><i>intrinsic dimensions</i></a> and
1195+
<a href="#specified-size"><i>specified size</i></a> are missing
1196+
dimensions. It varies based on the context in which that the image is
1197+
being laid out.</p>
11961198

11971199
<div class=example>
11981200
<p>Below are some examples of default object sizing areas:
@@ -1260,89 +1262,100 @@ <h3 id=object-negotiation><span class=secno>6.2. </span> CSS⇋Object
12601262

12611263
<li>Using the <a href="#intrinsic-dimensions"><i>intrinsic
12621264
dimensions</i></a> and the <a href="#specified-size"><i>specified
1263-
size</i></a>, CSS then computes a <a href="#css-view-box"><i>CSS View
1264-
Box</i></a> that defines the size and position of the region the object
1265-
will render in.
1266-
1267-
<li>CSS asks the object to render itself into the CSS View Box. CSS does
1268-
not define how objects render when the dimensions of the CSS View Box are
1269-
different than the object's intrinsic dimensions. The object may adjust
1270-
itself to match the dimensions of the CSS View Box in some way, or even
1271-
render itself larger or smaller than the CSS View Box to satisfy sizing
1272-
constraints of its own.
1265+
size</i></a>, CSS then computes a <a
1266+
href="#concrete-object-size"><i>concrete object size</i></a> that defines
1267+
the size and position of the region the object will render in.
1268+
1269+
<li>CSS asks the object to render itself at the <a
1270+
href="#concrete-object-size"><i>concrete object size</i></a>. CSS does
1271+
not define how objects render when the <a
1272+
href="#concrete-object-size"><i>concrete object size</i></a> is different
1273+
from the object's <a href="#intrinsic-dimensions"><i>intrinsic
1274+
dimensions</i></a>. The object may adjust itself to match the <a
1275+
href="#concrete-object-size"><i>concrete object size</i></a> in some way,
1276+
or even render itself larger or smaller than the <a
1277+
href="#concrete-object-size"><i>concrete object size</i></a> to satisfy
1278+
sizing constraints of its own.
12731279

12741280
<li>Unless otherwise specified by CSS, the object is then clipped to the
1275-
CSS View Box.
1281+
<a href="#concrete-object-size"><i>concrete object size</i></a>.
12761282
</ol>
12771283
<!-- ====================================================================== -->
12781284

12791285
<h3 id=default-sizing><span class=secno>6.3. </span> Default Intrinsic-Size
12801286
Resolution</h3>
12811287

1282-
<p>In the absence of more specific rules to the contrary, an object's
1283-
<i>intrinsic size</i> is resolved to a <a href="#css-view-box"><i>CSS View
1284-
Box</i></a> as follows:
1288+
<p>In the absence of more specific rules to the contrary, an object's <a
1289+
href="#intrinsic-dimensions"><i>intrinsic dimensions</i></a> are resolved
1290+
to a <a href="#concrete-object-size"><i>concrete object size</i></a> as
1291+
follows:
12851292

12861293
<ul>
12871294
<li>If the <a href="#specified-size"><i>specified size</i></a> is a
1288-
definite width and height, the <a href="#css-view-box"><i>CSS View
1289-
Box</i></a> is given that width and height.
1295+
definite width and height, the <a
1296+
href="#concrete-object-size"><i>concrete object size</i></a> is given
1297+
that width and height.
12901298

12911299
<li>If the <a href="#specified-size"><i>specified size</i></a> has only a
1292-
width or height, but not both, then the <a href="#css-view-box"><i>CSS
1293-
View Box</i></a> is given that specified width or height. The other
1294-
dimension is calculated as follows:
1300+
width or height, but not both, then the <a
1301+
href="#concrete-object-size"><i>concrete object size</i></a> is given
1302+
that specified width or height. The other dimension is calculated as
1303+
follows:
12951304
<ol>
12961305
<li>If the object has an <a href="#intrinsic-aspect-ratio"><i>intrinsic
1297-
aspect ratio</i></a>, the <a href="#css-view-box"><i>CSS View
1298-
Box</i></a> is given the same aspect ratio.
1299-
1300-
<li>Otherwise, if the object has the missing dimension as an
1301-
<i>intrinsic size</i>, then the missing dimension of the <a
1302-
href="#css-view-box"><i>CSS View Box</i></a> is taken from the object's
1303-
intrinsic size.
1304-
1305-
<li>Otherwise, the missing dimension of the <a
1306-
href="#css-view-box"><i>CSS View Box</i></a> is taken from the <a
1307-
href="#default-object-size"><i>default object size</i></a>.
1306+
aspect ratio</i></a>, the missing dimension of the <a
1307+
href="#concrete-object-size"><i>concrete object size</i></a> is
1308+
calculated using the <i>intrinsic aspect-ratio</i> and the present
1309+
dimension.
1310+
1311+
<li>Otherwise, if the missing dimension is present in the object's <a
1312+
href="#intrinsic-dimensions"><i>intrinsic dimensions</i></a>, the <a
1313+
href="#concrete-object-size"><i>concrete object
1314+
size</i></a>&lsquo;<code class=css>s missing dimension is taken from
1315+
the object</code>&rsquo;s <a href="#intrinsic-dimensions"><i>intrinsic
1316+
dimensions</i></a>.
1317+
1318+
<li>Otherwise, the missing dimension of the <i>concrete objecty size</i>
1319+
is taken from the <a href="#default-object-size"><i>default object
1320+
size</i></a>.
13081321
</ol>
13091322

13101323
<li>If the <a href="#specified-size"><i>specified size</i></a> has neither
13111324
a definite width nor height, and has no additional contraints, the
1312-
dimensions of the <a href="#css-view-box"><i>CSS View Box</i></a> is
1313-
calculated as follows:
1325+
dimensions of the <a href="#concrete-object-size"><i>concrete object
1326+
size</i></a> are calculated as follows:
13141327
<ol>
13151328
<li>If the object has both an <a href="#intrinsic-width"><i>intrinsic
13161329
width</i></a> and an <a href="#intrinsic-height"><i>intrinsic
1317-
height</i></a>, the <a href="#css-view-box"><i>CSS View Box</i></a> is
1318-
given that same height and width.
1330+
height</i></a>, the <a href="#concrete-object-size"><i>concrete object
1331+
size</i></a> is given that same height and width.
13191332

13201333
<li>If the object has only an <a href="#intrinsic-width"><i>intrinsic
13211334
width</i></a> or <a href="#intrinsic-height"><i>intrinsic
13221335
height</i></a>, and no <a href="#intrinsic-aspect-ratio"><i>intrinsic
1323-
aspect ratio</i></a>, the <a href="#css-view-box"><i>CSS View
1324-
Box</i></a> is given that width or height, and missing dimension is
1325-
taken from the <a href="#default-object-size"><i>default object
1326-
size</i></a>.
1336+
aspect ratio</i></a>, the <a href="#concrete-object-size"><i>concrete
1337+
object size</i></a> is given that width or height, and missing
1338+
dimension is taken from the <a href="#default-object-size"><i>default
1339+
object size</i></a>.
13271340

13281341
<li>If the object has only an <a
13291342
href="#intrinsic-aspect-ratio"><i>intrinsic aspect ratio</i></a>, the
1330-
<a href="#css-view-box"><i>CSS View Box</i></a> must have that aspect
1331-
ratio, and additionally be as large as possible without either its
1332-
height or width exceeding the height or width of the <a
1333-
href="#default-object-size"><i>default object size</i></a>.
1343+
<a href="#concrete-object-size"><i>concrete object size</i></a> must
1344+
have that aspect ratio, and additionally be as large as possible
1345+
without either its height or width exceeding the height or width of the
1346+
<a href="#default-object-size"><i>default object size</i></a>.
13341347

1335-
<li>Otherwise, the <a href="#css-view-box"><i>CSS View Box</i></a> is
1336-
given the size of the <a href="#default-object-size"><i>default object
1337-
size</i></a>.
1348+
<li>Otherwise, the <a href="#concrete-object-size"><i>concrete object
1349+
size</i></a> is the same as the <a
1350+
href="#default-object-size"><i>default object size</i></a>.
13381351
</ol>
13391352
</ul>
13401353

13411354
<p>If the <a href="#specified-size"><i>specified size</i></a> has
1342-
additional constraints, the <a href="#css-view-box"><i>CSS View
1343-
Box</i></a> must be sized to satisfy those constraints. For example, the
1344-
&lsquo;<code class=property>min-width</code>&rsquo;, &lsquo;<code
1345-
class=property>min-height</code>&rsquo;, &lsquo;<code
1355+
additional constraints, the <a href="#concrete-object-size"><i>concrete
1356+
object size</i></a> must be sized to satisfy those constraints. For
1357+
example, the &lsquo;<code class=property>min-width</code>&rsquo;,
1358+
&lsquo;<code class=property>min-height</code>&rsquo;, &lsquo;<code
13461359
class=property>max-width</code>&rsquo;, and &lsquo;<code
13471360
class=property>max-height</code>&rsquo; properties specify slightly more
13481361
complex handling for sizing replaced elements, and &lsquo;<code

0 commit comments

Comments
 (0)