aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmltextareaelement.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-08-31 19:19:08 -0400
committerCorey Farwell <coreyf@rwell.org>2015-08-31 21:02:23 -0400
commit3a1d140ab5c26415b8fa0764bd8aa688f0b23636 (patch)
tree2f93c677ae9288a511b54ce00462aea3c37f76a3 /components/script/dom/htmltextareaelement.rs
parent7474b295104e75c013849e104704019dc4801c91 (diff)
downloadservo-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.rs4
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