mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Enforce linking to spec for method implementations via macros
This commit is contained in:
parent
7474b29510
commit
3a1d140ab5
23 changed files with 137 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue