|
| 1 | +name: Table styling |
| 2 | +description: Attributes and properties of table elements, such as `align`, `vAlign`, `noWrap`, `bgcolor`, or `char` set various visual presentation properties of the table and its sections and cells. These are obsolete, and some of them have no effect. Use CSS instead. |
| 3 | +spec: https://html.spec.whatwg.org/multipage/obsolete.html |
| 4 | +group: html-elements |
| 5 | +discouraged: |
| 6 | + according_to: |
| 7 | + - https://html.spec.whatwg.org/multipage/obsolete.html |
| 8 | + # No alternatives, because it would either be a long list of features, or just "CSS". |
| 9 | +compat_features: |
| 10 | + # Table element |
| 11 | + - html.elements.table.align |
| 12 | + - html.elements.table.bgcolor |
| 13 | + - html.elements.table.border |
| 14 | + - html.elements.table.cellpadding |
| 15 | + - html.elements.table.cellspacing |
| 16 | + - html.elements.table.frame |
| 17 | + - html.elements.table.rules |
| 18 | + - html.elements.table.summary |
| 19 | + - html.elements.table.width |
| 20 | + # Corresponding table element API |
| 21 | + - api.HTMLTableElement.align |
| 22 | + - api.HTMLTableElement.bgColor |
| 23 | + - api.HTMLTableElement.border |
| 24 | + - api.HTMLTableElement.cellPadding |
| 25 | + - api.HTMLTableElement.cellSpacing |
| 26 | + - api.HTMLTableElement.frame |
| 27 | + - api.HTMLTableElement.rules |
| 28 | + - api.HTMLTableElement.summary |
| 29 | + - api.HTMLTableElement.width |
| 30 | + |
| 31 | + # Table sections like thead, tbody, and tfoot |
| 32 | + - html.elements.tbody.align |
| 33 | + - html.elements.tbody.bgcolor |
| 34 | + - html.elements.tbody.char |
| 35 | + - html.elements.tbody.charoff |
| 36 | + - html.elements.tbody.valign |
| 37 | + - html.elements.thead.align |
| 38 | + - html.elements.thead.bgcolor |
| 39 | + - html.elements.thead.char |
| 40 | + - html.elements.thead.charoff |
| 41 | + - html.elements.thead.valign |
| 42 | + - html.elements.tfoot.align |
| 43 | + - html.elements.tfoot.bgcolor |
| 44 | + - html.elements.tfoot.char |
| 45 | + - html.elements.tfoot.charoff |
| 46 | + - html.elements.tfoot.valign |
| 47 | + # Corresponding table section API |
| 48 | + - api.HTMLTableSectionElement.align |
| 49 | + - api.HTMLTableSectionElement.ch |
| 50 | + - api.HTMLTableSectionElement.chOff |
| 51 | + - api.HTMLTableSectionElement.vAlign |
| 52 | + |
| 53 | + # Table cells |
| 54 | + - html.elements.td.abbr |
| 55 | + - html.elements.td.align |
| 56 | + - html.elements.td.axis |
| 57 | + - html.elements.td.bgcolor |
| 58 | + - html.elements.td.char |
| 59 | + - html.elements.td.charoff |
| 60 | + - html.elements.td.scope |
| 61 | + - html.elements.td.valign |
| 62 | + - html.elements.td.width |
| 63 | + - html.elements.th.align |
| 64 | + - html.elements.th.axis |
| 65 | + - html.elements.th.bgcolor |
| 66 | + - html.elements.th.char |
| 67 | + - html.elements.th.charoff |
| 68 | + - html.elements.th.valign |
| 69 | + - html.elements.th.width |
| 70 | + # Corresponding table cell API |
| 71 | + - api.HTMLTableCellElement.align |
| 72 | + - api.HTMLTableCellElement.axis |
| 73 | + - api.HTMLTableCellElement.bgColor |
| 74 | + - api.HTMLTableCellElement.ch |
| 75 | + - api.HTMLTableCellElement.chOff |
| 76 | + - api.HTMLTableCellElement.height |
| 77 | + - api.HTMLTableCellElement.noWrap |
| 78 | + - api.HTMLTableCellElement.vAlign |
| 79 | + - api.HTMLTableCellElement.width |
| 80 | + |
| 81 | + # Table row, col, and colgroup elements |
| 82 | + - html.elements.tr.align |
| 83 | + - html.elements.tr.bgcolor |
| 84 | + - html.elements.tr.char |
| 85 | + - html.elements.tr.charoff |
| 86 | + - html.elements.tr.valign |
| 87 | + - html.elements.col.align |
| 88 | + - html.elements.col.char |
| 89 | + - html.elements.col.charoff |
| 90 | + - html.elements.col.valign |
| 91 | + - html.elements.col.width |
| 92 | + - html.elements.colgroup.align |
| 93 | + - html.elements.colgroup.char |
| 94 | + - html.elements.colgroup.charoff |
| 95 | + - html.elements.colgroup.valign |
| 96 | + - html.elements.colgroup.width |
| 97 | + # Corresponding table row/col API |
| 98 | + - api.HTMLTableColElement.align |
| 99 | + - api.HTMLTableColElement.ch |
| 100 | + - api.HTMLTableColElement.chOff |
| 101 | + - api.HTMLTableColElement.vAlign |
| 102 | + - api.HTMLTableColElement.width |
| 103 | + - api.HTMLTableRowElement.align |
| 104 | + - api.HTMLTableRowElement.bgColor |
| 105 | + - api.HTMLTableRowElement.ch |
| 106 | + - api.HTMLTableRowElement.chOff |
| 107 | + - api.HTMLTableRowElement.vAlign |
| 108 | + |
| 109 | + # Table caption element |
| 110 | + - html.elements.caption.align |
| 111 | + # Corresponding table caption API |
| 112 | + - api.HTMLTableCaptionElement.align |
0 commit comments