aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/text.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-04-20 10:50:47 +0200
committerMs2ger <ms2ger@gmail.com>2015-04-20 10:51:44 +0200
commitdd9351d72249c0f2febfc7c0db35ab808689022d (patch)
tree3edc971188ceb495838bd538720ebd436a2fb515 /components/script/dom/text.rs
parent8b8daa24b8d25c531ea74a70b4b6e25cb3d7d58c (diff)
downloadservo-dd9351d72249c0f2febfc7c0db35ab808689022d.tar.gz
servo-dd9351d72249c0f2febfc7c0db35ab808689022d.zip
Parse attributes according to the specification in AttrValue::from_u32.
This exposes another bug: "-0" failed to parse with str.parse(), and is now successfully parsed into 0. However, input.size and textarea.{rows, cols} are supposed to be "limited to only non-negative numbers greater than zero", so 0 is not actually supposed to be accepted.
Diffstat (limited to 'components/script/dom/text.rs')
0 files changed, 0 insertions, 0 deletions