mirror of
https://github.com/servo/servo.git
synced 2025-07-03 13:33:39 +01:00
Auto merge of #10333 - frewsxcv:textarea-links, r=mbrubeck
Add a spec links for <textarea> magic number constants. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10333) <!-- Reviewable:end -->
This commit is contained in:
commit
39d6b7988d
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;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#attr-textarea-rows-value
|
||||
static DEFAULT_ROWS: u32 = 2;
|
||||
|
||||
impl HTMLTextAreaElement {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue