Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMakes layout respect <textarea> rows and cols attributes #4380
Conversation
highfive
commented
Dec 15, 2014
hoppipolla-critic-bot
commented
Dec 15, 2014
|
Critic review: https://critic.hoppipolla.co.uk/r/3505 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
| name if *name == atom!("textarea") => { | ||
| match element.get_integer_attribute(ColsIntegerAttribute) { | ||
| Some(value) if value != 0 => { | ||
| // TODO ServoCharacterWidth uses the size math for <input type="text">, but |
This comment has been minimized.
This comment has been minimized.
| } | ||
| match element.get_integer_attribute(RowsIntegerAttribute) { | ||
| Some(value) if value != 0 => { | ||
| // TODO This should take scrollbar size into consideration. |
This comment has been minimized.
This comment has been minimized.
|
Looks good other than those couple of nits, thanks! |
|
Got it! |
|
Looks good, squash these into one commit and I'll r+ |
|
Squashed away. |
|
Rebased again since some conflicts came up. |
review addresssing
This comment has been minimized.
This comment has been minimized.
jdm
commented on fc0748f
Dec 16, 2014
|
r+ |
This comment has been minimized.
This comment has been minimized.
|
saw approval from jdm |
This comment has been minimized.
This comment has been minimized.
|
merging mttr/servo/textarea_rows_and_cols = fc0748f into auto |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
all tests pass: |
This comment has been minimized.
This comment has been minimized.
|
fast-forwarding master to auto = fcaa45f |
mttr commentedDec 15, 2014
...with a bit of a caveat: sizing has the same problem as seen in #4378, and it is significantly more noticeable when using
rows.Fixes #4291