mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Add a spec links for <textarea> magic number constants.
This commit is contained in:
parent
f335586ff5
commit
ef3c830e61
1 changed files with 3 additions and 0 deletions
|
@ -91,7 +91,10 @@ impl LayoutHTMLTextAreaElementHelpers for LayoutJS<HTMLTextAreaElement> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://html.spec.whatwg.org/multipage/#attr-textarea-cols-value
|
||||||
static DEFAULT_COLS: u32 = 20;
|
static DEFAULT_COLS: u32 = 20;
|
||||||
|
|
||||||
|
// https://html.spec.whatwg.org/multipage/#attr-textarea-rows-value
|
||||||
static DEFAULT_ROWS: u32 = 2;
|
static DEFAULT_ROWS: u32 = 2;
|
||||||
|
|
||||||
impl HTMLTextAreaElement {
|
impl HTMLTextAreaElement {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue