diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-08-31 19:19:08 -0400 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-08-31 21:02:23 -0400 |
commit | 3a1d140ab5c26415b8fa0764bd8aa688f0b23636 (patch) | |
tree | 2f93c677ae9288a511b54ce00462aea3c37f76a3 /components/script/dom/htmltextareaelement.rs | |
parent | 7474b295104e75c013849e104704019dc4801c91 (diff) | |
download | servo-3a1d140ab5c26415b8fa0764bd8aa688f0b23636.tar.gz servo-3a1d140ab5c26415b8fa0764bd8aa688f0b23636.zip |
Enforce linking to spec for method implementations via macros
Diffstat (limited to 'components/script/dom/htmltextareaelement.rs')
-rw-r--r-- | components/script/dom/htmltextareaelement.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script/dom/htmltextareaelement.rs b/components/script/dom/htmltextareaelement.rs index 333e5259394..a0a0c12b705 100644 --- a/components/script/dom/htmltextareaelement.rs +++ b/components/script/dom/htmltextareaelement.rs @@ -121,6 +121,8 @@ impl HTMLTextAreaElementMethods for HTMLTextAreaElement { // https://html.spec.whatwg.org/multipage/#dom-textarea-cols make_uint_getter!(Cols, "cols", DEFAULT_COLS); + + // https://html.spec.whatwg.org/multipage/#dom-textarea-cols make_limited_uint_setter!(SetCols, "cols", DEFAULT_COLS); // https://www.whatwg.org/html/#dom-fe-disabled @@ -155,6 +157,8 @@ impl HTMLTextAreaElementMethods for HTMLTextAreaElement { // https://html.spec.whatwg.org/multipage/#dom-textarea-rows make_uint_getter!(Rows, "rows", DEFAULT_ROWS); + + // https://html.spec.whatwg.org/multipage/#dom-textarea-rows make_limited_uint_setter!(SetRows, "rows", DEFAULT_ROWS); // https://html.spec.whatwg.org/multipage/#dom-textarea-wrap |