diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-09-26 10:07:34 -0400 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-09-26 10:15:58 -0400 |
commit | a844b080d6728d29520b86625ca58915782cec0a (patch) | |
tree | 24e3c21ef1c81efe0897f4dc7c87c0e8a8920afa /components/script/dom/htmltableelement.rs | |
parent | d39c8546b6bf03c69b1cde925c72722dfd61e588 (diff) | |
download | servo-a844b080d6728d29520b86625ca58915782cec0a.tar.gz servo-a844b080d6728d29520b86625ca58915782cec0a.zip |
Imlement 'bgcolor' IDL attrs for table elements
The content attributes and presentational hints were implemented in
the #4289 pull request. This just implements the relevant IDL
attributes.
Diffstat (limited to 'components/script/dom/htmltableelement.rs')
-rw-r--r-- | components/script/dom/htmltableelement.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/script/dom/htmltableelement.rs b/components/script/dom/htmltableelement.rs index 6a63223d09d..1308aff4a44 100644 --- a/components/script/dom/htmltableelement.rs +++ b/components/script/dom/htmltableelement.rs @@ -127,6 +127,12 @@ impl HTMLTableElementMethods for HTMLTableElement { reference_element.r()).is_ok()); tbody } + + // https://html.spec.whatwg.org/multipage/#dom-table-bgcolor + make_getter!(BgColor); + + // https://html.spec.whatwg.org/multipage/#dom-table-bgcolor + make_setter!(SetBgColor, "bgcolor"); } |