Skip to content

Commit 35f1468

Browse files
committed
Synchronized with /Style/Group/css3-src/default.css
1 parent 5877551 commit 35f1468

1 file changed

Lines changed: 20 additions & 6 deletions

File tree

default.css

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ dt { page-break-after: avoid }
4141

4242
span.id {float: right; font-weight: bold}
4343

44-
/* p, p.note + p, p.testlink + p, p.note, p.issue { */
45-
p, p.testlink + p, p.issue, p.mtb {
44+
p, p.testlink + p, p.mtb {
4645
text-indent: 0;
4746
margin-bottom: 0;
4847
margin-top: 0.8em
@@ -334,7 +333,14 @@ table.propdef, table.propdef-extra, table.descdef {
334333
margin-top: 1.2em;
335334
margin-bottom: 1.2em
336335
}
337-
table.propdef td, table.propdef-extra td, table.descdef td {
336+
337+
/* Since Jan 2008, some CSS modules use <th> instead of <td> in the
338+
first column of a table.propdef. These rules handle both. As of Jan
339+
2008, http://www.w3.org/Style/spec-mark-up still only documents <td>
340+
*/
341+
342+
table.propdef td, table.propdef-extra td, table.descdef td,
343+
table.propdef th, table.propdef-extra th, table.descdef th {
338344
padding: 0 0.3em;
339345
vertical-align: baseline;
340346
}
@@ -346,13 +352,21 @@ table.propdef dfn, table.propdef-extra dfn, table.descdef dfn {
346352
*/
347353
table.propdef td:first-child,
348354
table.propdef-extra td:first-child,
349-
table.descdef td:first-child {
355+
table.descdef td:first-child,
356+
table.propdef th:first-child,
357+
table.propdef-extra th:first-child,
358+
table.descdef th:first-child {
350359
font-style: italic;
351-
width: 8.2em
360+
font-weight: normal;
361+
text-align: left;
362+
width: 8.3em
352363
}
353364
table.propdef td[colspan]:first-child,
354365
table.propdef-extra td[colspan]:first-child,
355-
table.descdef td[colspan]:first-child {
366+
table.descdef td[colspan]:first-child,
367+
table.propdef th[colspan]:first-child,
368+
table.propdef-extra th[colspan]:first-child,
369+
table.descdef th[colspan]:first-child {
356370
font-style: inherit
357371
}
358372
table.propdef tr:first-child,

0 commit comments

Comments
 (0)