Implement 'bgcolor' IDL attribute for 'HTMLTableCellElement'

This commit is contained in:
Corey Farwell 2015-11-12 18:08:27 -05:00
parent ef74bf5d42
commit 765ade6892
4 changed files with 7 additions and 268 deletions

View file

@ -50,6 +50,12 @@ impl HTMLTableCellElementMethods for HTMLTableCellElement {
// https://html.spec.whatwg.org/multipage/#dom-tdth-colspan
make_uint_setter!(SetColSpan, "colspan", DEFAULT_COLSPAN);
// https://html.spec.whatwg.org/multipage/#dom-tdth-bgcolor
make_getter!(BgColor);
// https://html.spec.whatwg.org/multipage/#dom-tdth-bgcolor
make_legacy_color_setter!(SetBgColor, "bgcolor");
// https://html.spec.whatwg.org/multipage/#dom-tdth-cellindex
fn CellIndex(&self) -> i32 {
let self_node = self.upcast::<Node>();