Skip to content

Commit b73a3e8

Browse files
committed
Fix missing quotes
1 parent 4d4e593 commit b73a3e8

2 files changed

Lines changed: 17 additions & 16 deletions

File tree

css3-images/Overview.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,7 @@ <h3 id=object-fit><span class=secno>5.4. </span> Sizing Objects: the
18191819
class=css>fill</code>&rsquo;. Otherwise, the object is scaled as follows:
18201820

18211821
<dl>
1822-
<dt>fill
1822+
<dt>&lsquo;<code class=css>fill</code>&rsquo;
18231823

18241824
<dd>
18251825
<p>Set the object's size to the <a
@@ -1832,7 +1832,7 @@ <h3 id=object-fit><span class=secno>5.4. </span> Sizing Objects: the
18321832
<p>This will make the contents exactly fill the replaced element's
18331833
content box.</p>
18341834

1835-
<dt>contain
1835+
<dt>&lsquo;<code class=css>contain</code>&rsquo;
18361836

18371837
<dd>
18381838
<p>Determine the used &lsquo;<code class=property>height</code>&rsquo;
@@ -1854,7 +1854,7 @@ <h3 id=object-fit><span class=secno>5.4. </span> Sizing Objects: the
18541854
neither width nor height larger than the replaced element's used width
18551855
and height, respectively.</p>
18561856

1857-
<dt>cover
1857+
<dt>&lsquo;<code class=css>cover</code>&rsquo;
18581858

18591859
<dd>
18601860
<p>Determine the used &lsquo;<code class=property>height</code>&rsquo;
@@ -1876,7 +1876,7 @@ <h3 id=object-fit><span class=secno>5.4. </span> Sizing Objects: the
18761876
neither width nor height smaller than the replaced element's used width
18771877
and height, respectively.</p>
18781878

1879-
<dt>none
1879+
<dt>&lsquo;<code class=css>none</code>&rsquo;
18801880

18811881
<dd>
18821882
<p>Set the content's size to the <a
@@ -1886,7 +1886,7 @@ <h3 id=object-fit><span class=secno>5.4. </span> Sizing Objects: the
18861886
href="#default-object-size"><i>default object size</i></a> equal to the
18871887
replaced element's used width and height.</p>
18881888

1889-
<dt>scale-down
1889+
<dt>&lsquo;<code class=css>scale-down</code>&rsquo;
18901890

18911891
<dd>
18921892
<p>Size the content as if &lsquo;<code class=css>none</code>&rsquo; or
@@ -2086,18 +2086,19 @@ <h3 id=image-resolution><span class=secno>6.1. </span> Overriding Image
20862086
meanings:
20872087

20882088
<dl>
2089-
<dt>&lt;resolution>
2089+
<dt>&lsquo;<a href="#ltresolution"><code
2090+
class=css>&lt;resolution></code></a>&rsquo;
20902091

20912092
<dd>Specifies the intrinsic resolution explicitly.
20922093

2093-
<dt>from-image
2094+
<dt>&lsquo;<code class=css>from-image</code>&rsquo;
20942095

20952096
<dd>The image's intrinsic resolution is taken as that specified by the
20962097
image format. If the image does not specify its own resolution, the
20972098
explicitly specified resolution is used (if given), else it defaults to
20982099
&lsquo;<code class=css>1ddpx</code>&rsquo;.
20992100

2100-
<dt>snap
2101+
<dt>&lsquo;<code class=css>snap</code>&rsquo;
21012102

21022103
<dd>If the "snap" keyword is provided, the computed &lsquo;<a
21032104
href="#ltresolution"><code class=css>&lt;resolution></code></a>&rsquo;

css3-images/Overview.src.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,7 @@ <h3 id="object-fit">
11851185
Otherwise, the object is scaled as follows:</p>
11861186

11871187
<dl>
1188-
<dt>fill</dt>
1188+
<dt>''fill''</dt>
11891189
<dd>
11901190
<p>Set the object's size to the <i>concrete object size</i> obtained
11911191
by running the <a href="#default-sizing">object sizing algorithm</a> with
@@ -1196,7 +1196,7 @@ <h3 id="object-fit">
11961196
content box.</p>
11971197
</dd>
11981198

1199-
<dt>contain</dt>
1199+
<dt>''contain''</dt>
12001200
<dd>
12011201
<p>Determine the used 'height' and 'width' of the element as usual,
12021202
except: If both 'height' and 'width' are ''auto'', and the used value of
@@ -1212,7 +1212,7 @@ <h3 id="object-fit">
12121212
element's used width and height, respectively.</p>
12131213
</dd>
12141214

1215-
<dt>cover</dt>
1215+
<dt>''cover''</dt>
12161216
<dd>
12171217
<p>Determine the used 'height' and 'width' of the element as usual,
12181218
except: If both 'height' and 'width' are ''auto'', and the used value of
@@ -1228,15 +1228,15 @@ <h3 id="object-fit">
12281228
element's used width and height, respectively.</p>
12291229
</dd>
12301230

1231-
<dt>none</dt>
1231+
<dt>''none''</dt>
12321232
<dd>
12331233
<p>Set the content's size to the <i>concrete object size</i> obtained
12341234
by running the <i title=default-sizing>object sizing algorithm</i> with
12351235
no <i>specified size</i>, and a <i>default object size</i> equal to
12361236
the replaced element's used width and height.</p>
12371237
</dd>
12381238

1239-
<dt>scale-down</dt>
1239+
<dt>''scale-down''</dt>
12401240
<dd>
12411241
<p>Size the content as if ''none'' or ''contain'' were specified, whichever
12421242
would result in a smaller <i>concrete object size</i>.</p>
@@ -1380,16 +1380,16 @@ <h3 id="image-resolution">
13801380
Values have the following meanings:</p>
13811381

13821382
<dl>
1383-
<dt>&lt;resolution></dt>
1383+
<dt>''&lt;resolution>''</dt>
13841384
<dd>Specifies the intrinsic resolution explicitly.</dd>
13851385

1386-
<dt>from-image</dt>
1386+
<dt>''from-image''</dt>
13871387
<dd>The image's intrinsic resolution is taken as that specified by the
13881388
image format. If the image does not specify its own resolution, the
13891389
explicitly specified resolution is used (if given), else it defaults to
13901390
''1ddpx''.</dd>
13911391

1392-
<dt>snap</dt>
1392+
<dt>''snap''</dt>
13931393
<dd>If the "snap" keyword is provided, the computed ''&lt;resolution>''
13941394
(if any) is the specified resolution rounded to the nearest value that
13951395
would map one image pixel to an integer number of device pixels.

0 commit comments

Comments
 (0)