Skip to content

Commit 866162c

Browse files
committed
Fixed the proptable markup to use <thead> and <tbody> properly.
1 parent ac354a4 commit 866162c

2 files changed

Lines changed: 106 additions & 94 deletions

File tree

css3-images/Overview.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,12 +1580,13 @@ <h3 id=object-fit><span class=secno>6.4. </span> Sizing Objects: the
15801580
class=property>object-fit</code></a>&rsquo; property</h3>
15811581

15821582
<table class=propdef>
1583-
<tbody>
1583+
<thead>
15841584
<tr>
15851585
<th>Name:
15861586

15871587
<td><dfn id=object-fit0>object-fit</dfn>
15881588

1589+
<tbody>
15891590
<tr>
15901591
<th>Value:
15911592

@@ -1759,12 +1760,13 @@ <h3 id=object-position><span class=secno>6.5. </span> Positioning Objects:
17591760
class=property>object-position</code></a>&rsquo; property</h3>
17601761

17611762
<table class=propdef>
1762-
<tbody>
1763+
<thead>
17631764
<tr>
17641765
<th>Name:
17651766

17661767
<td><dfn id=object-position0>object-position</dfn>
17671768

1769+
<tbody>
17681770
<tr>
17691771
<th>Value:
17701772

@@ -1839,12 +1841,13 @@ <h3 id=image-resolution><span class=secno>7.1. </span> Overriding Image
18391841
some other resolution.
18401842

18411843
<table class=propdef>
1842-
<tbody>
1844+
<thead>
18431845
<tr>
18441846
<th>Name:
18451847

18461848
<td><dfn id=image-resolution0>image-resolution</dfn>
18471849

1850+
<tbody>
18481851
<tr>
18491852
<th>Value:
18501853

@@ -1967,12 +1970,13 @@ <h3 id=image-orientation><span class=secno>7.2. </span> Orienting an Image
19671970
It should only be used to correct incorrectly-oriented images.
19681971

19691972
<table class=propdef>
1970-
<tbody>
1973+
<thead>
19711974
<tr>
19721975
<th>Name:
19731976

19741977
<td><dfn id=image-orientation0>image-orientation</dfn>
19751978

1979+
<tbody>
19761980
<tr>
19771981
<th>Value:
19781982

css3-images/Overview.src.html

Lines changed: 98 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,30 +1099,32 @@ <h3 id="object-fit">
10991099
Sizing Objects: the 'object-fit' property</h3>
11001100

11011101
<table class="propdef">
1102-
<tr>
1103-
<th>Name:
1104-
<td><dfn>object-fit</dfn>
1105-
<tr>
1106-
<th>Value:
1107-
<td>fill | contain | cover | none | scale-down
1108-
<tr>
1109-
<th>Initial:
1110-
<td>fill
1111-
<tr>
1112-
<th>Applies to:
1113-
<td>replaced elements
1114-
<tr>
1115-
<th>Inherited:
1116-
<td>no
1117-
<tr>
1118-
<th>Percentages:
1119-
<td>N/A
1120-
<tr>
1121-
<th>Media:
1122-
<td>visual
1123-
<tr>
1124-
<th>Computed value:
1125-
<td>specified value
1102+
<thead>
1103+
<tr>
1104+
<th>Name:
1105+
<td><dfn>object-fit</dfn>
1106+
<tbody>
1107+
<tr>
1108+
<th>Value:
1109+
<td>fill | contain | cover | none | scale-down
1110+
<tr>
1111+
<th>Initial:
1112+
<td>fill
1113+
<tr>
1114+
<th>Applies to:
1115+
<td>replaced elements
1116+
<tr>
1117+
<th>Inherited:
1118+
<td>no
1119+
<tr>
1120+
<th>Percentages:
1121+
<td>N/A
1122+
<tr>
1123+
<th>Media:
1124+
<td>visual
1125+
<tr>
1126+
<th>Computed value:
1127+
<td>specified value
11261128
</table>
11271129

11281130
<p>The 'object-fit' property specifies how the contents of a replaced element
@@ -1237,30 +1239,32 @@ <h3 id="object-position">
12371239
Positioning Objects: the 'object-position' property</h3>
12381240

12391241
<table class="propdef">
1240-
<tr>
1241-
<th>Name:
1242-
<td><dfn>object-position</dfn>
1243-
<tr>
1244-
<th>Value:
1245-
<td>&lt;bg-position>
1246-
<tr>
1247-
<th>Initial:
1248-
<td>50% 50%
1249-
<tr>
1250-
<th>Applies to:
1251-
<td>replaced elements
1252-
<tr>
1253-
<th>Inherited:
1254-
<td>no
1255-
<tr>
1256-
<th>Percentages:
1257-
<td>refer to width and height of box itself
1258-
<tr>
1259-
<th>Media:
1260-
<td>visual
1261-
<tr>
1262-
<th>Computed value:
1263-
<td>specified value
1242+
<thead>
1243+
<tr>
1244+
<th>Name:
1245+
<td><dfn>object-position</dfn>
1246+
<tbody>
1247+
<tr>
1248+
<th>Value:
1249+
<td>&lt;bg-position>
1250+
<tr>
1251+
<th>Initial:
1252+
<td>50% 50%
1253+
<tr>
1254+
<th>Applies to:
1255+
<td>replaced elements
1256+
<tr>
1257+
<th>Inherited:
1258+
<td>no
1259+
<tr>
1260+
<th>Percentages:
1261+
<td>refer to width and height of box itself
1262+
<tr>
1263+
<th>Media:
1264+
<td>visual
1265+
<tr>
1266+
<th>Computed value:
1267+
<td>specified value
12641268
</table>
12651269

12661270
<p>The 'object-position' property determines the alignment of the replaced element inside its box. <code>&lt;bg-position></code> comes from the <a href="http://dev.w3.org/csswg/css3-background/#ltbg-positiongt">Backgrounds &amp; Borders Module</a>, and is resolved in the same way, using the image as the image and the content box as the positioning area. [[!CSS21]]</p>
@@ -1290,27 +1294,29 @@ <h3 id="image-resolution">
12901294
property allows using some other resolution.
12911295

12921296
<table class="propdef">
1293-
<tr>
1294-
<th>Name:
1295-
<td><dfn>image-resolution</dfn>
1296-
<tr>
1297-
<th>Value:
1298-
<td>[from-image || &lt;resolution>] snap?
1299-
<tr>
1300-
<th>Initial:
1301-
<td>1dppx
1302-
<tr>
1303-
<th>Applies to:
1304-
<td>all elements
1305-
<tr>
1306-
<th>Inherited:
1307-
<td>yes
1308-
<tr>
1309-
<th>Media:
1310-
<td>visual
1311-
<tr>
1312-
<th>Computed value:
1313-
<td>specified value
1297+
<thead>
1298+
<tr>
1299+
<th>Name:
1300+
<td><dfn>image-resolution</dfn>
1301+
<tbody>
1302+
<tr>
1303+
<th>Value:
1304+
<td>[from-image || &lt;resolution>] snap?
1305+
<tr>
1306+
<th>Initial:
1307+
<td>1dppx
1308+
<tr>
1309+
<th>Applies to:
1310+
<td>all elements
1311+
<tr>
1312+
<th>Inherited:
1313+
<td>yes
1314+
<tr>
1315+
<th>Media:
1316+
<td>visual
1317+
<tr>
1318+
<th>Computed value:
1319+
<td>specified value
13141320
</table>
13151321

13161322
<p>The 'image-resolution' property specifies the resolution of all images used
@@ -1384,27 +1390,29 @@ <h3 id="image-orientation">
13841390
incorrectly-oriented images.</p>
13851391

13861392
<table class="propdef">
1387-
<tr>
1388-
<th>Name:
1389-
<td><dfn>image-orientation</dfn>
1390-
<tr>
1391-
<th>Value:
1392-
<td>&lt;angle>
1393-
<tr>
1394-
<th>Initial:
1395-
<td>0deg
1396-
<tr>
1397-
<th>Applies to:
1398-
<td>images
1399-
<tr>
1400-
<th>Inherited:
1401-
<td>no
1402-
<tr>
1403-
<th>Media:
1404-
<td>visual
1405-
<tr>
1406-
<th>Computed value:
1407-
<td>specified value, rounded and normalized (see text)
1393+
<thead>
1394+
<tr>
1395+
<th>Name:
1396+
<td><dfn>image-orientation</dfn>
1397+
<tbody>
1398+
<tr>
1399+
<th>Value:
1400+
<td>&lt;angle>
1401+
<tr>
1402+
<th>Initial:
1403+
<td>0deg
1404+
<tr>
1405+
<th>Applies to:
1406+
<td>images
1407+
<tr>
1408+
<th>Inherited:
1409+
<td>no
1410+
<tr>
1411+
<th>Media:
1412+
<td>visual
1413+
<tr>
1414+
<th>Computed value:
1415+
<td>specified value, rounded and normalized (see text)
14081416
</table>
14091417

14101418
<p>'image-orientation' specifies an orthogonal rotation to be applied to an image

0 commit comments

Comments
 (0)