servo/components/style
bors-servo 061cb5f48e Auto merge of #16752 - jdm:css-parse-error, r=SimonSapin
Report more informative CSS errors

This requires https://github.com/servo/rust-cssparser/pull/143 for the final commit. There's no better way to split that work up, unfortunately, and it's extremely easy to bitrot. I would appreciate if we could expedite reviewing this work.

This is the work necessary to enable https://bugzilla.mozilla.org/show_bug.cgi?id=1352669. It makes sense to merge it separately because it's so much effort to keep it up to date with the ongoing Stylo work.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16752)
<!-- Reviewable:end -->
2017-06-09 14:31:48 -07:00
..
counter_style Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
gecko Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
gecko_bindings Simplify caret-color conversion. 2017-06-08 12:59:28 +10:00
gecko_string_cache Bug 1357583: style: Make effective_rules return an iterator, stop refcounting the Device. r=heycam 2017-05-29 20:27:43 +02:00
invalidation style: Distinguish between the tree structures used for traversal and selector matching. 2017-06-09 18:37:35 +08:00
properties Auto merge of #16752 - jdm:css-parse-error, r=SimonSapin 2017-06-09 14:31:48 -07:00
rule_tree Auto merge of #17221 - aethanyc:support-xbl-stylesheet, r=heycam 2017-06-08 00:19:27 -07:00
servo Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
sharing style: Distinguish between the tree structures used for traversal and selector matching. 2017-06-09 18:37:35 +08:00
stylesheets Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
values Auto merge of #16752 - jdm:css-parse-error, r=SimonSapin 2017-06-09 14:31:48 -07:00
animation.rs Use generics for transition-timing-function 📈 2017-06-05 16:49:55 +02:00
attr.rs ol[type=…] and li[type=…] preshints need to be case-sensitive 2017-05-18 17:13:18 +02:00
bezier.rs
bloom.rs style: Distinguish between the tree structures used for traversal and selector matching. 2017-06-09 18:37:35 +08:00
build.rs Auto merge of #16935 - servo:out-of-crate-bindings-tests, r=emilio 2017-05-19 03:48:14 -05:00
build_gecko.rs Move config info from build_gecko.rs to a toml file in gecko. 2017-05-19 11:08:35 +10:00
cache.rs Adapt LRUCache to use ArrayDeque crate instead of VecDeque 2017-06-03 20:59:01 +02:00
Cargo.toml Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
cascade_info.rs Remove style::values::HasViewportPercentage reexport 2017-05-20 22:00:05 +02:00
context.rs Adapt LRUCache to use ArrayDeque crate instead of VecDeque 2017-06-03 20:59:01 +02:00
custom_properties.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
data.rs Share styles for elements with eager pseudo-elements attached to them. 2017-06-08 15:34:30 -04:00
dom.rs style: Remove unused TElement::layout_parent_element. 2017-06-09 18:37:37 +08:00
element_state.rs Fix dynamic updates when :dir matching changes in stylo. 2017-05-15 12:31:49 -04:00
encoding_support.rs Stylo: Bug 1350175 - Support getting line / column number of CSS rules 2017-05-12 15:20:12 +02:00
error_reporting.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
font_face.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
font_metrics.rs stylo: Use gecko's font metrics 2017-04-10 14:29:51 +08:00
lib.rs Move stylearc into a separate crate. 2017-06-05 19:44:04 -07:00
logical_geometry.rs [gfx] [layout] [style] Upgrade unicode-bidi to 0.3 2017-05-22 20:06:19 -05:00
macros.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
matching.rs style: Distinguish between the tree structures used for traversal and selector matching. 2017-06-09 18:37:35 +08:00
media_queries.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
parallel.rs style: Distinguish between the tree structures used for traversal and selector matching. 2017-06-09 18:37:35 +08:00
parser.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
README.md
restyle_hints.rs style: Match :lang() using snapshots correctly. 2017-06-08 09:37:09 +08:00
scoped_tls.rs Reduce the size of top_down_dom stackframes. 2017-06-08 13:02:36 -04:00
selector_map.rs Stop slicing selectors when noting dependencies, and match with an offset instead. 2017-06-05 19:44:01 -07:00
selector_parser.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
sequential.rs style: Distinguish between the tree structures used for traversal and selector matching. 2017-06-09 18:37:35 +08:00
shared_lock.rs style: Split stylesheets.rs 2017-06-04 21:50:09 +02:00
sink.rs
str.rs Support vendor prefix keyframes rule. 2017-04-21 12:18:12 +09:00
style_adjuster.rs mathvariant attributes should affect computed font style and weight in stylo. 2017-05-24 16:29:50 -04:00
stylesheet_set.rs Cache effective media query results. 2017-06-03 14:43:44 +02:00
stylist.rs Encapsulate CSS error reporter creation for stylo. 2017-06-09 13:16:38 -04:00
thread_state.rs
timer.rs
traversal.rs style: Distinguish between the tree structures used for traversal and selector matching. 2017-06-09 18:37:35 +08:00

servo-style

Style system for Servo, using rust-cssparser for parsing.