зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #8505 - Implement 'bgcolor' IDL attribute for 'HTMLTableCellElement' (from frewsxcv:html-table-cell-element-bgcolor-idl-attribute); r=Ms2ger
Source-Repo: https://github.com/servo/servo Source-Revision: f078f8fdf4157b4e57cef35eba00419c9c15464d
This commit is contained in:
Родитель
25a8fb9779
Коммит
2388791ec0
|
@ -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>();
|
||||
|
|
|
@ -26,5 +26,5 @@ partial interface HTMLTableCellElement {
|
|||
// attribute boolean noWrap;
|
||||
// attribute DOMString vAlign;
|
||||
|
||||
//[TreatNullAs=EmptyString] attribute DOMString bgColor;
|
||||
[TreatNullAs=EmptyString] attribute DOMString bgColor;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче