Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for input element's maxlength attr #7323

Merged
merged 14 commits into from Dec 3, 2015
Prev

Fixes typo in test literal

  • Loading branch information
samfoo committed Dec 3, 2015
commit 4befd2cfb0419a90efae391b1ecebb31c728bb6d
@@ -26,7 +26,7 @@ fn test_from_limited_i32_should_parse_a_uint_when_value_is_0_or_greater() {
fn test_from_limited_i32_should_keep_parsed_value_when_not_an_int() {
match AttrValue::from_limited_i32(DOMString::from("parsed-value"), 0) {
AttrValue::Int(p, 0) => {
assert_eq!(p, DOMString::from("parsed_value"))
assert_eq!(p, DOMString::from("parsed-value"))
},
_ => panic!("expected an successful parsing")
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.