mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
servo: Merge #10333 - Add a spec links for <textarea> magic number constants (from frewsxcv:textarea-links); r=mbrubeck
Source-Repo: https://github.com/servo/servo Source-Revision: 39d6b7988d0f6f49d228ca2bc3df2919d31770ae
This commit is contained in:
parent
0f012d524c
commit
cfe06a11a4
@ -91,7 +91,10 @@ impl LayoutHTMLTextAreaElementHelpers for LayoutJS<HTMLTextAreaElement> {
|
||||
}
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#attr-textarea-cols-value
|
||||
static DEFAULT_COLS: u32 = 20;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#attr-textarea-rows-value
|
||||
static DEFAULT_ROWS: u32 = 2;
|
||||
|
||||
impl HTMLTextAreaElement {
|
||||
|
Loading…
Reference in New Issue
Block a user