diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2015-11-01 12:47:28 -0800 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2015-11-01 12:47:28 -0800 |
commit | cf8f2b1874a83df30f785e063139e808de690c78 (patch) | |
tree | 6c1fb45af86f94555e4451fcbd6b24c1a809b861 /components/script/dom/htmltablecellelement.rs | |
parent | 285e29c06637f31a8b8a27c2e454468717924ebd (diff) | |
download | servo-cf8f2b1874a83df30f785e063139e808de690c78.tar.gz servo-cf8f2b1874a83df30f785e063139e808de690c78.zip |
Use attribute getter/setter macros for misc DOM attributes.
This fixes a few minor bugs.
Also adds some better testing for "unsigned long" attributes.
Diffstat (limited to 'components/script/dom/htmltablecellelement.rs')
-rw-r--r-- | components/script/dom/htmltablecellelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmltablecellelement.rs b/components/script/dom/htmltablecellelement.rs index 3f1b13633f2..afb1cebdb3d 100644 --- a/components/script/dom/htmltablecellelement.rs +++ b/components/script/dom/htmltablecellelement.rs @@ -53,7 +53,7 @@ impl HTMLTableCellElementMethods for HTMLTableCellElement { make_uint_getter!(ColSpan, "colspan", DEFAULT_COLSPAN); // https://html.spec.whatwg.org/multipage/#dom-tdth-colspan - make_uint_setter!(SetColSpan, "colspan"); + make_uint_setter!(SetColSpan, "colspan", DEFAULT_COLSPAN); // https://html.spec.whatwg.org/multipage/#dom-tdth-cellindex fn CellIndex(&self) -> i32 { |