Skip to content

Commit 3614abc

Browse files
committed
Bunches of typos
1 parent 4a9d337 commit 3614abc

2 files changed

Lines changed: 54 additions & 41 deletions

File tree

css3-images/Overview.html

Lines changed: 39 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -272,15 +272,18 @@ <h2 id=intro><span class=secno>1. </span> Introduction</h2>
272272

273273
<p>In CSS Levels 1 and 2, image values, such as those used in the
274274
&lsquo;<code class=property>background-image</code>&rsquo; property, could
275-
only be given by a single URI value. This module introduces additional
276-
ways of representing 2D images, for example as a list of URIs denoting
277-
fallbacks, as a reference to an element in the document, or as a gradient.
278-
279-
<p>This module also defines several properties for manipulating raster
280-
images and for sizing or positioning replaced elements such as images
275+
only be given by a single URL value. This module introduces additional
276+
ways of representing 2D images, for example as <a href="#image-notation">a
277+
list of URIs denoting fallbacks</a>, as <a href="#element-reference">a
278+
reference to an element</a>, or as <a href="#gradients">a gradient</a>.
279+
280+
<p>This module also defines several properties for <a
281+
href="#image-processing">manipulating raster images</a> and for <a
282+
href="#object-fit">sizing</a> or <a
283+
href="#object-position">positioning</a> replaced elements such as images
281284
within the box determined by the CSS layout algorithms. It also defines in
282-
a generic way CSS's sizing algorithm for images and other replaced
283-
elements.
285+
a generic way CSS's <a href="#sizing">sizing algorithm</a> for images and
286+
other replaced elements.
284287

285288
<h3 id=placement><span class=secno>1.1. </span> Module Interactions</h3>
286289

@@ -326,15 +329,15 @@ <h2 id=resolution-units><span class=secno>2. </span> Resolution Units: the
326329
id=ltresolution>&lt;resolution></dfn> value type:
327330

328331
<dl>
329-
<dt><dfn id=dpi>dpi</dfn>
332+
<dt><dfn id=dpi>&lsquo;<code class=css>dpi</code>&rsquo;</dfn>
330333

331334
<dd>dots per inch
332335

333-
<dt><dfn id=dpcm>dpcm</dfn>
336+
<dt><dfn id=dpcm>&lsquo;<code class=css>dpcm</code>&rsquo;</dfn>
334337

335338
<dd>dots per centimeter
336339

337-
<dt><dfn id=dppx>dppx</dfn>
340+
<dt><dfn id=dppx>&lsquo;<code class=css>dppx</code>&rsquo;</dfn>
338341

339342
<dd>dots per &lsquo;<code class=css>px</code>&rsquo; unit
340343
</dl>
@@ -362,8 +365,10 @@ <h2 id=image><span class=secno>3. </span> Image Values: the &lt;image> type</h2>
362365

363366
<p>The &lt;image> value type denotes a 2D image. It is defined as
364367

365-
<pre class=prod><dfn
366-
id=ltimage>&lt;image></dfn> = &lt;url> | &lt;image-list> | &lt;element-reference> | &lt;gradient></pre>
368+
<pre class=prod><dfn id=ltimage>&lt;image></dfn> = <i>&lt;url></i> | <a
369+
href="#ltimage-list"><i>&lt;image-list></i></a> | <a
370+
href="#ltelement-reference"><i>&lt;element-reference></i></a> | <a
371+
href="#ltgradient"><i>&lt;gradient></i></a></pre>
367372

368373
<p>Image values can be used in many CSS properties, including the
369374
&lsquo;<code class=property>background-image</code>&rsquo;, &lsquo;<code
@@ -528,7 +533,7 @@ <h3 id=image-notation><span class=secno>3.2. </span> Image Fallbacks and
528533

529534
<div class=example>
530535
<p>A list may use an arrow for a bullet that points into the content. If
531-
the list can contain both ltr and rtl text, though, the bullet may be on
536+
the list can contain both LTR and RTL text, though, the bullet may be on
532537
the left or the right, and an image designed to point into the text on
533538
one side will point out of the text on the other side. This can be fixed
534539
with code like:</p>
@@ -545,7 +550,7 @@ <h3 id=image-notation><span class=secno>3.2. </span> Image Fallbacks and
545550
⇒ My bullet is on the left!
546551
!THGIR EHT NO SI TELLUB YM ⇐</pre>
547552

548-
<p>In ltr list items, the image will be used as-is. In the rtl list items,
553+
<p>In LTR list items, the image will be used as-is. In the RTL list items,
549554
however, it will be flipped in the inline direction, so it still points
550555
into the content.</p>
551556
</div>
@@ -894,13 +899,18 @@ <h4 class=no-toc id=linear-gradient-syntax><span class=secno>4.1.1. </span>
894899
identically, except in the opposite direction of the angle.
895900

896901
<p>Alternately, the direction may be specified with keywords that denote
897-
the direction. If the argument is "to top", "to right", "to bottom", or
898-
"to left", the gradient must be rendered identically to "0deg", "90deg",
899-
"180deg", or "270deg", respectively. If the argument specifies a corner to
900-
angle towards, the gradient must be rendered identically to an angle-based
901-
gradient with an angle chosen such that the endpoint of the gradient is in
902-
the same quadrant as the indicated corner, and a line drawn perpendicular
903-
to the gradient-line through the center of the <a
902+
the direction. If the argument is &lsquo;<code class=css>to
903+
top</code>&rsquo;, &lsquo;<code class=css>to right</code>&rsquo;,
904+
&lsquo;<code class=css>to bottom</code>&rsquo;, or &lsquo;<code
905+
class=css>to left</code>&rsquo;, the gradient must be rendered identically
906+
to &lsquo;<code class=css>0deg</code>&rsquo;, &lsquo;<code
907+
class=css>90deg</code>&rsquo;, &lsquo;<code
908+
class=css>180deg</code>&rsquo;, or &lsquo;<code
909+
class=css>270deg</code>&rsquo;, respectively. If the argument specifies a
910+
corner to angle towards, the gradient must be rendered identically to an
911+
angle-based gradient with an angle chosen such that the endpoint of the
912+
gradient is in the same quadrant as the indicated corner, and a line drawn
913+
perpendicular to the gradient-line through the center of the <a
904914
href="#gradient-box"><i>gradient box</i></a> intersects the two
905915
neighboring corners.
906916

@@ -2082,7 +2092,7 @@ <h3 id=image-resolution><span class=secno>6.1. </span> Overriding Image
20822092
id=intrinsic-resolution>intrinsic resolution</dfn> of an image is used to
20832093
determine the image's <i>intrinsic size</i>. Affected images include
20842094
images in the element's content (e.g. replaced elements and/or generated
2085-
content), background images,list markers, etc. Values have the following
2095+
content), background images, list markers, etc. Values have the following
20862096
meanings:
20872097

20882098
<dl>
@@ -2638,11 +2648,14 @@ <h2 class=no-num id=index>Index</h2>
26382648
<li>default object size, <a href="#default-object-size"
26392649
title="default object size"><strong>5.1.</strong></a>
26402650

2641-
<li>dpcm, <a href="#dpcm" title=dpcm><strong>2.</strong></a>
2651+
<li>&lsquo;<code class=css>dpcm</code>&rsquo;, <a href="#dpcm"
2652+
title="''dpcm''"><strong>2.</strong></a>
26422653

2643-
<li>dpi, <a href="#dpi" title=dpi><strong>2.</strong></a>
2654+
<li>&lsquo;<code class=css>dpi</code>&rsquo;, <a href="#dpi"
2655+
title="''dpi''"><strong>2.</strong></a>
26442656

2645-
<li>dppx, <a href="#dppx" title=dppx><strong>2.</strong></a>
2657+
<li>&lsquo;<code class=css>dppx</code>&rsquo;, <a href="#dppx"
2658+
title="''dppx''"><strong>2.</strong></a>
26462659

26472660
<li>&lt;element-reference>, <a href="#ltelement-reference"
26482661
title="&lt;element-reference>"><strong>3.3.</strong></a>

css3-images/Overview.src.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ <h2 id="intro">
7474
<p><em>This section is not normative.</em>
7575

7676
<p>In CSS Levels 1 and 2, image values, such as those used in the
77-
'background-image' property, could only be given by a single URI
77+
'background-image' property, could only be given by a single URL
7878
value. This module introduces additional ways of representing 2D
79-
images, for example as a list of URIs denoting fallbacks, as a
80-
reference to an element in the document, or as a gradient.</p>
79+
images, for example as <a href="#image-notation">a list of URIs denoting fallbacks</a>, as <a href="#element-reference">a
80+
reference to an element</a>, or as <a href="#gradients">a gradient</a>.</p>
8181

82-
<p>This module also defines several properties for manipulating
83-
raster images and for sizing or positioning replaced elements
82+
<p>This module also defines several properties for <a href="#image-processing">manipulating
83+
raster images</a> and for <a href="#object-fit">sizing</a> or <a href="#object-position">positioning</a> replaced elements
8484
such as images within the box determined by the CSS layout algorithms.
85-
It also defines in a generic way CSS's sizing algorithm for images
85+
It also defines in a generic way CSS's <a href="#sizing">sizing algorithm</a> for images
8686
and other replaced elements.
8787

8888
<h3 id="placement">
@@ -111,13 +111,13 @@ <h2 id='resolution-units'>
111111
value type:</p>
112112

113113
<dl>
114-
<dt><dfn>dpi</dfn></dt>
114+
<dt><dfn>''dpi''</dfn></dt>
115115
<dd>dots per inch</dd>
116116

117-
<dt><dfn>dpcm</dfn></dt>
117+
<dt><dfn>''dpcm''</dfn></dt>
118118
<dd>dots per centimeter</dd>
119119

120-
<dt><dfn>dppx</dfn></dt>
120+
<dt><dfn>''dppx''</dfn></dt>
121121
<dd>dots per ''px'' unit</dd>
122122
</dl>
123123

@@ -138,7 +138,7 @@ <h2 id="image">
138138

139139
<p>The &lt;image> value type denotes a 2D image. It is defined as
140140

141-
<pre class="prod"><dfn>&lt;image></dfn> = &lt;url> | &lt;image-list> | &lt;element-reference> | &lt;gradient></pre>
141+
<pre class="prod"><dfn>&lt;image></dfn> = <i>&lt;url></i> | <i>&lt;image-list></i> | <i>&lt;element-reference></i> | <i>&lt;gradient></i></pre>
142142

143143
<p>Image values can be used in many CSS properties, including the
144144
'background-image', 'list-style-image', 'cursor' properties [[!CSS21]].
@@ -247,7 +247,7 @@ <h3 id="image-notation">
247247
<p>Along with each URL, the author may specify a directionality, similar to adding a <code>dir</code> attribute to an element in HTML. The image represented by the function takes on the directionality of the used URL. If a directional image is used on or in an element with opposite directionality, the image must be flipped in the inline direction (as if it was transformed by, e.g., <code>scaleX(-1)</code>, if the inline direction is the X axis).</p>
248248

249249
<div class='example'>
250-
<p>A list may use an arrow for a bullet that points into the content. If the list can contain both ltr and rtl text, though, the bullet may be on the left or the right, and an image designed to point into the text on one side will point out of the text on the other side. This can be fixed with code like:</p>
250+
<p>A list may use an arrow for a bullet that points into the content. If the list can contain both LTR and RTL text, though, the bullet may be on the left or the right, and an image designed to point into the text on one side will point out of the text on the other side. This can be fixed with code like:</p>
251251

252252
<pre>
253253
&lt;ul style="list-style-image: image("arrow.png" ltr);">
@@ -261,7 +261,7 @@ <h3 id="image-notation">
261261
⇒ My bullet is on the left!
262262
!THGIR EHT NO SI TELLUB YM ⇐</pre>
263263

264-
<p>In ltr list items, the image will be used as-is. In the rtl list items, however, it will be flipped in the inline direction, so it still points into the content.</p>
264+
<p>In LTR list items, the image will be used as-is. In the RTL list items, however, it will be flipped in the inline direction, so it still points into the content.</p>
265265
</div>
266266

267267
<!-- ====================================================================== -->
@@ -524,7 +524,7 @@ <h4 class='no-toc' id='linear-gradient-syntax'>
524524
direction. The starting-point is determined identically, except in the
525525
opposite direction of the angle.</p>
526526

527-
<p>Alternately, the direction may be specified with keywords that denote the direction. If the argument is "to top", "to right", "to bottom", or "to left", the gradient must be rendered identically to "0deg", "90deg", "180deg", or "270deg", respectively. If the argument specifies a corner to angle towards, the gradient must be rendered identically to an angle-based gradient with an angle chosen such that the endpoint of the gradient is in the same quadrant as the indicated corner, and a line drawn perpendicular to the gradient-line through the center of the <i>gradient box</i> intersects the two neighboring corners.</p>
527+
<p>Alternately, the direction may be specified with keywords that denote the direction. If the argument is ''to top'', ''to right'', ''to bottom'', or ''to left'', the gradient must be rendered identically to ''0deg'', ''90deg'', ''180deg'', or ''270deg'', respectively. If the argument specifies a corner to angle towards, the gradient must be rendered identically to an angle-based gradient with an angle chosen such that the endpoint of the gradient is in the same quadrant as the indicated corner, and a line drawn perpendicular to the gradient-line through the center of the <i>gradient box</i> intersects the two neighboring corners.</p>
528528

529529
<p class='note'>It is expected that the next level of this module will provide the ability to define the gradient's direction relative to the current text direction and writing-mode.</p>
530530

@@ -1375,8 +1375,8 @@ <h3 id="image-resolution">
13751375
not have an intrinsic resolution, this property has no effect on vector
13761376
images.) The <dfn>intrinsic resolution</dfn> of an image is used to determine
13771377
the image's <i>intrinsic size</i>. Affected images include images in the
1378-
element's content (e.g. replaced elements and/or generated content),
1379-
background images,list markers, etc.
1378+
element's content (e.g. replaced elements and/or generated content),
1379+
background images, list markers, etc.
13801380
Values have the following meanings:</p>
13811381

13821382
<dl>

0 commit comments

Comments
 (0)