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:
Corey Farwell 2016-04-02 16:05:39 +05:01
parent 0f012d524c
commit cfe06a11a4

View File

@ -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 {