aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/rust_tidy.rs
diff options
context:
space:
mode:
authorJeremy Chen <jeremychen@mozilla.com>2017-06-09 03:38:23 +0000
committerJeremy Chen <jeremychen@mozilla.com>2017-06-14 12:22:37 +0800
commit97ef40ee88b19ab1a85448cd83581da92f8a2618 (patch)
treecff5631874fa0f084f267181125f63aa53eaf704 /python/tidy/servo_tidy_tests/rust_tidy.rs
parentd28324d9eb1dd484c322698d2acb64831637c7ee (diff)
downloadservo-97ef40ee88b19ab1a85448cd83581da92f8a2618.tar.gz
servo-97ef40ee88b19ab1a85448cd83581da92f8a2618.zip
stylo: make font-variant-* longhands parsing more tolerant.
Avoid early returning Err() in parsers, so we could let the the caller of the parsers to handle the rest of input, and return error if it requires parsing entirely. The point is let returning Err() stay inside input.try(), so we can count on input.try() to restore the position when parsing invalid idents. From gecko bug: Bug 1356134 (https://bugzilla.mozilla.org/show_bug.cgi?id=1356134)
Diffstat (limited to 'python/tidy/servo_tidy_tests/rust_tidy.rs')
0 files changed, 0 insertions, 0 deletions