@@ -41,8 +41,7 @@ dt { page-break-after: avoid }
4141
4242span .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*/
347353table .propdef td : first-child ,
348354table .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}
353364table .propdef td [colspan ]: first-child ,
354365table .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}
358372table .propdef tr : first-child ,
0 commit comments