servo/components/style
bors-servo 2a46067587 Auto merge of #19881 - jonleighton:issue-19811, r=emilio
Add layout RPC query for getting an element's style

This enables us to implement Element::has_css_layout_box() in a more
direct way, and also enables us to remove some of the existing more
specific queries.

Fixes #19811.

r? @emilio

<!-- 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/19881)
<!-- Reviewable:end -->
2018-01-28 05:52:56 -06:00
..
counter_style Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
gecko style: Update bindings. 2018-01-27 03:18:32 +01:00
gecko_bindings Avoid entraining various Debug impls in release builds. 2018-01-13 09:51:46 -08:00
gecko_string_cache style: Remove some uses of unused unsafe. 2017-11-15 13:26:24 +01:00
invalidation style: Look at the snapshots when invalidating due to stylesheet changes. 2018-01-27 02:34:27 +01:00
properties style: Rename AlignJustifySelf to SelfAlignment. 2018-01-24 14:34:04 +01:00
rule_tree Add some FIXME comments about using ptr::NonNull 2018-01-22 17:41:26 +01:00
servo Auto merge of #19838 - servo:rm-sequence-writer-as-it-was, r=emilio 2018-01-23 12:03:41 -06:00
sharing style: Use Option::get_or_insert_with. 2018-01-10 03:39:29 +01:00
stylesheets Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
values Add layout RPC query for getting an element's style 2018-01-28 10:59:45 +01:00
animation.rs style: Make the TElement type arrive to the cascade function. 2018-01-23 00:57:54 +01:00
applicable_declarations.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
attr.rs Allow unused imports for AsciiExt in style code. 2017-11-09 12:43:23 +01:00
bezier.rs Don't use Point2D<f32> for cubic curves anymore 2017-07-19 10:19:41 +02:00
bloom.rs style: Use the ? operator for Option 2017-12-09 08:29:53 -08:00
build.rs Check that 'style' is compiled in a supported configuration. 2017-12-10 02:58:31 +01:00
build_gecko.rs style: Disable rustfmt for now. 2018-01-23 17:28:12 +01:00
Cargo.toml Update bindgen. 2018-01-22 13:40:23 +01:00
context.rs style: Derive debug for CascadeInputs. 2018-01-23 00:57:54 +01:00
custom_properties.rs Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
data.rs Add layout RPC query for getting an element's style 2018-01-28 10:59:45 +01:00
dom.rs style: Use CascadeFlags for what they're for. 2018-01-23 13:18:54 +01:00
dom_apis.rs style: Add invalidation support for ::slotted(). 2018-01-09 14:26:02 +01:00
driver.rs Add weighted telemetry probes for parallel restyles 2017-12-12 10:13:23 -06:00
element_state.rs style: Remove :unsolved pseudo-class 2018-01-10 17:20:06 +08:00
encoding_support.rs Use encoding-rs instead of rust-encoding for CSS parsing 2017-10-31 19:08:43 +01:00
error_reporting.rs style: Update cssparser to 0.23. 2017-12-05 10:01:37 +01:00
font_face.rs Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
font_metrics.rs Avoid debug serialization of PropertyDeclaration & co in release builds. 2018-01-15 17:24:27 -08:00
hash.rs Revert "Diagnostic map semantics." 2017-10-23 13:51:08 -07:00
lib.rs Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
logical_geometry.rs Use specific assertion for style logical geometry 2018-01-26 01:30:31 +08:00
macros.rs style: make the try_match_ident_ignore_ascii_case macro actually return the error. 2018-01-24 16:12:30 +01:00
matching.rs style: Make the TElement type arrive to the cascade function. 2018-01-23 00:57:54 +01:00
media_queries.rs Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
parallel.rs Increase stack safety margin for stylo. 2017-09-07 11:44:45 -07:00
parser.rs Allow deriving Parse for keywords. 2017-12-15 20:01:31 +01:00
README.md
rule_cache.rs Skip rule node which contains only inherited properties for rule cache. 2018-01-05 11:29:01 +11:00
scoped_tls.rs Reduce the size of top_down_dom stackframes. 2017-06-08 13:02:36 -04:00
selector_map.rs style: Indent some function calls properly. 2018-01-20 02:36:34 +01:00
selector_parser.rs Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
shared_lock.rs Avoid the generic writer parameter for PropertyDeclaration serialization. 2018-01-22 14:58:05 -08:00
str.rs Avoid the generic writer parameter for PropertyDeclaration serialization. 2018-01-22 14:58:05 -08:00
style_adjuster.rs style: Use CascadeFlags for what they're for. 2018-01-23 13:18:54 +01:00
style_resolver.rs style: Use CascadeFlags for what they're for. 2018-01-23 13:18:54 +01:00
stylesheet_set.rs style: Look at the snapshots when invalidating due to stylesheet changes. 2018-01-27 02:34:27 +01:00
stylist.rs style: Look at the snapshots when invalidating due to stylesheet changes. 2018-01-27 02:34:27 +01:00
thread_state.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
timer.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
traversal.rs style: Require an nth-index cache for invalidation. 2017-11-29 21:22:29 +01:00
traversal_flags.rs style: Get rid of unstyled children only traversals. 2017-11-20 08:24:08 +01:00

servo-style

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