auto merge of #4256 : ema-fox/servo/password_input, r=jdm

This commit is contained in:
bors-servo 2014-12-05 17:13:05 -07:00
commit d5c62ac2c4

View file

@ -115,7 +115,7 @@ impl LayoutHTMLInputElementHelpers for JS<HTMLInputElement> {
.unwrap_or_else(|| "".to_string()),
InputPassword => {
let raw = get_raw_textinput_value(self);
String::from_char(raw.len(), '●')
String::from_char(raw.char_len(), '●')
}
_ => get_raw_textinput_value(self),
}