8000 Synchronize CSS WG and FXTF stylesheet by adding definiton-table class · w3c/csswg-drafts@12dcaa6 · GitHub
Skip to content

Commit 12dcaa6

Browse files
committed
Synchronize CSS WG and FXTF stylesheet by adding definiton-table class
1 parent a85fc57 commit 12dcaa6

1 file changed

Lines changed: 20 additions & 11 deletions

File tree

css-transforms/default.css

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ table.proptable tr:hover td {
324324

325325

326326
/* Style for table that defines a property or a descriptor */
327-
table.propdef, table.propdef-extra, table.descdef {
327+
table.propdef, table.propdef-extra, table.descdef, table.definition-table {
328328
border-spacing: 0;
329329
padding: 0 1em 0.5em;
330330
width: 100%;
@@ -339,24 +339,26 @@ first column of a table.propdef. These rules handle both. As of Jan
339339
2008, http://www.w3.org/Style/spec-mark-up still only documents <td>
340340
*/
341341

342-
table.propdef td, table.propdef-extra td, table.descdef td,
343-
table.propdef th, table.propdef-extra th, table.descdef th {
342+
table.propdef td, table.propdef-extra td, table.descdef td, table.definition-table td,
343+
table.propdef th, table.propdef-extra th, table.descdef th, table.definition-table th {
344344
padding: 0.5em;
345345
vertical-align: baseline;
346346
border-bottom: 1px solid #bbd7e9;
347347
}
348348
/*
349-
table.propdef dfn, table.propdef-extra dfn, table.descdef dfn {
349+
table.propdef dfn, table.propdef-extra dfn, table.descdef dfn, table.definition-table dfn {
350350
font-weight: bold;
351351
font-style: normal
352352
}
353353
*/
354354
table.propdef td:first-child,
355355
table.propdef-extra td:first-child,
356356
table.descdef td:first-child,
357+
table.definition-table td:first-child,
357358
table.propdef th:first-child,
358359
table.propdef-extra th:first-child,
359-
table.descdef th:first-child {
360+
table.descdef th:first-child,
361+
table.definition-table th:first-child {
360362
font-style: italic;
361363
font-weight: normal;
362364
width: 8.3em;
@@ -365,32 +367,39 @@ table.descdef th:first-child {
365367
table.propdef td[colspan]:first-child,
366368
table.propdef-extra td[colspan]:first-child,
367369
table.descdef td[colspan]:first-child,
370+
table.definition-table td[colspan]:first-child,
368371
table.propdef th[colspan]:first-child,
369372
table.propdef-extra th[colspan]:first-child,
370-
table.descdef th[colspan]:first-child {
373+
table.descdef th[colspan]:first-child,
374+
table.definition-table th[colspan]:first-child {
371375
font-style: inherit
372376
}
373377
table.propdef tr:first-child,
374378
table.propdef-extra tr:first-child,
375-
table.descdef tr:first-child {
379+
table.descdef tr:first-child,
380+
table.definition-table tr:first-child {
376381

377382
}
378383

379384
table.propdef > tbody > tr:last-child th,
380385
table.propdef-extra > tbody > tr:last-child th,
381386
table.descdef > tbody > tr:last-child th,
387+
table.definition-table > tbody > tr:last-child th,
382388
table.propdef > tbody > tr:last-child td,
383389
table.propdef-extra > tbody > tr:last-child td,
384-
table.descdef > tbody > tr:last-child td {
390+
table.descdef > tbody > tr:last-child td,
391+
table.definition-table > tbody > tr:last-child td {
385392
border-bottom: 0;
386393
}
387394

388395
table.propdef tr:first-child th,
389396
table.propdef-extra tr:first-child th,
390397
table.descdef tr:first-child th,
398+
table.definition-table tr:first-child th,
391399
table.propdef tr:first-child td,
392400
table.propdef-extra tr:first-child td,
393-
table.descdef tr:first-child td {
401+
table.descdef tr:first-child td,
402+
table.definition-table tr:first-child td {
394403
padding-top: 1em;
395404
}
396405

@@ -530,10 +539,10 @@ table.features td {
530539
vertical-align: middle;
531540
}
532541

533-
table.propdef {
542+
table.propdef, table.definition-table {
534543
table-layout: auto;
535544
}
536-
.propdef th {
545+
.propdef th, .definition-table th {
537546
font-style: italic;
538547
font-weight: normal;
539548
text-align: left;

0 commit comments

Comments
 (0)