{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/9639","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/9639/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/9639/comments","events_url":"https://api.github.com/repos/servo/servo/issues/9639/events","html_url":"https://github.com/servo/servo/issues/9639","id":133585695,"number":9639,"title":"Move parse_nonzero_length and parse_legacy_color from util::str to style::attr","user":{"login":"nox","id":123095,"avatar_url":"https://avatars.githubusercontent.com/u/123095?v=3","gravatar_id":"","url":"https://api.github.com/users/nox","html_url":"https://github.com/nox","followers_url":"https://api.github.com/users/nox/followers","following_url":"https://api.github.com/users/nox/following{/other_user}","gists_url":"https://api.github.com/users/nox/gists{/gist_id}","starred_url":"https://api.github.com/users/nox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nox/subscriptions","organizations_url":"https://api.github.com/users/nox/orgs","repos_url":"https://api.github.com/users/nox/repos","events_url":"https://api.github.com/users/nox/events{/privacy}","received_events_url":"https://api.github.com/users/nox/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/E-easy","name":"E-easy","color":"02e10c"},{"url":"https://api.github.com/repos/servo/servo/labels/I-refactor","name":"I-refactor","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-14T21:59:28Z","updated_at":"2016-02-15T14:26:59Z","closed_at":null,"body":"Files:\r\n* components/util/str.rs\r\n* components/style/attr.rs"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/184228072","html_url":"https://github.com/servo/servo/issues/9639#issuecomment-184228072","issue_url":"https://api.github.com/repos/servo/servo/issues/9639","id":184228072,"user":{"login":"Jayflux","id":936006,"avatar_url":"https://avatars.githubusercontent.com/u/936006?v=3","gravatar_id":"","url":"https://api.github.com/users/Jayflux","html_url":"https://github.com/Jayflux","followers_url":"https://api.github.com/users/Jayflux/followers","following_url":"https://api.github.com/users/Jayflux/following{/other_user}","gists_url":"https://api.github.com/users/Jayflux/gists{/gist_id}","starred_url":"https://api.github.com/users/Jayflux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jayflux/subscriptions","organizations_url":"https://api.github.com/users/Jayflux/orgs","repos_url":"https://api.github.com/users/Jayflux/repos","events_url":"https://api.github.com/users/Jayflux/events{/privacy}","received_events_url":"https://api.github.com/users/Jayflux/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T14:26:59Z","updated_at":"2016-02-15T14:26:59Z","body":"@nox ive moved these across, however i do get 2 errors\r\n\r\n```\r\n/Users/willij87/workspace/servo/components/style/attr.rs:223:53: 223:61 error: no associated item named `zero` found for type `app_units::app_unit::Au` in the current scope\r\n/Users/willij87/workspace/servo/components/style/attr.rs:223         LengthOrPercentageOrAuto::Length(x) if x == Au::zero() => LengthOrPercentageOrAuto::Auto,\r\n                                                                                                                 ^~~~~~~~\r\n/Users/willij87/workspace/servo/components/style/attr.rs:223:53: 223:61 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:\r\n/Users/willij87/workspace/servo/components/style/attr.rs:223:53: 223:61 help: candidate #1: use `euclid::num::Zero`\r\n/Users/willij87/workspace/servo/components/style/attr.rs:240:14: 240:34 error: no method named `eq_ignore_ascii_case` found for type `&str` in the current scope\r\n/Users/willij87/workspace/servo/components/style/attr.rs:240     if input.eq_ignore_ascii_case(\"transparent\") {\r\n                                                                          ^~~~~~~~~~~~~~~~~~~~\r\n/Users/willij87/workspace/servo/components/style/attr.rs:240:14: 240:34 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:\r\n/Users/willij87/workspace/servo/components/style/attr.rs:240:14: 240:34 help: candidate #1: use `std::ascii::AsciiExt`\r\n```"}}