servo/components/style
Emilio Cobos Álvarez 46bf5d61f0
Bug 1355343: Take all the snapshots into account. r=bholley
I've chosen this approach mainly because there's no other good way to guarantee
the model is correct than holding the snapshots alive until a style refresh.

What I tried before this (storing them in a sort of "immutable element data") is
a pain, since we call into style from the frame constructor and other content
notifications, which makes keeping track of which snapshots should be cleared an
which shouldn't an insane task.

Ideally we'd have a single entry-point for style, but that's not the case right
now, and changing that requires pretty non-trivial changes to the frame
constructor.

MozReview-Commit-ID: FF1KWZv2iBM
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-05-10 12:05:39 +02:00
..
binding_tools Make atom files generated at build-time. 2017-05-08 21:33:58 +10:00
counter_style Exclude 'none' from <counter-style-name> after all. 2017-04-26 06:18:58 +02:00
gecko Bug 1355343: Take all the snapshots into account. r=bholley 2017-05-10 12:05:39 +02:00
gecko_bindings stylo: Export RefPtr<ImageValue> to stylo. 2017-05-09 16:46:47 +08:00
gecko_string_cache Make atom files generated at build-time. 2017-05-08 21:33:58 +10:00
properties Auto merge of #16792 - birtles:make-animatable-trait, r=hiro 2017-05-10 02:05:43 -05:00
rule_tree Bug 1349651 - stylo: Implement HasAuthorSpecifiedRules. 2017-05-09 10:01:46 -07:00
servo Bug 1355343: Take all the snapshots into account. r=bholley 2017-05-10 12:05:39 +02:00
values Merge ComputeDistance trait into Animatable trait 2017-05-10 14:41:26 +09:00
animation.rs Use StyleArc in the style system. 2017-05-02 17:35:44 -07:00
attr.rs Use StyleArc in the style system. 2017-05-02 17:35:44 -07:00
bezier.rs
bloom.rs Do the sequential traversal breadth-first. 2017-04-09 14:52:49 +08:00
build.rs Move python path into a lazy static. 2017-05-08 21:33:57 +10:00
build_gecko.rs Bug 1355343: Take all the snapshots into account. r=bholley 2017-05-10 12:05:39 +02:00
cache.rs Optimize LRUCache by using a VecDeque. 2017-04-13 21:52:39 +08:00
Cargo.toml Auto merge of #16303 - froydnj:rayon-version-bump, r=jdm 2017-05-08 21:36:48 -05:00
cascade_info.rs
context.rs Bug 1355343: Take all the snapshots into account. r=bholley 2017-05-10 12:05:39 +02:00
custom_properties.rs Use StyleArc in the style system. 2017-05-02 17:35:44 -07:00
data.rs Bug 1355343: Take all the snapshots into account. r=bholley 2017-05-10 12:05:39 +02:00
document_condition.rs Stylo: Bug 1355408 - add support for @-moz-document 2017-05-09 12:52:44 +02:00
dom.rs Bug 1355343: Take all the snapshots into account. r=bholley 2017-05-10 12:05:39 +02:00
element_state.rs Bug 1350140: stylo: Implement all the remaining state pseudo-classes. r=heycam 2017-03-29 11:52:53 +02:00
encoding_support.rs Use StyleArc in the style system. 2017-05-02 17:35:44 -07:00
error_reporting.rs Rename StdoutErrorReporter to RustLogReporter. 2017-04-24 08:23:41 +02:00
font_face.rs Reject @font-face descriptors with value value followed by more stuff. 2017-04-01 14:54:57 +02:00
font_metrics.rs stylo: Use gecko's font metrics 2017-04-10 14:29:51 +08:00
keyframes.rs Use StyleArc in the style system. 2017-05-02 17:35:44 -07:00
lib.rs Stylo: Bug 1355408 - add support for @-moz-document 2017-05-09 12:52:44 +02:00
logical_geometry.rs style: Add Gecko-only support for writing-mode:sideways-{lr,rl}. 2017-04-17 11:24:23 +10:00
matching.rs Bug 1355343: Take all the snapshots into account. r=bholley 2017-05-10 12:05:39 +02:00
media_queries.rs Propagate quirks mode all the way to ParserContext 2017-04-27 10:41:55 +02:00
parallel.rs Limit traversal statistics dumps to subtrees of 50 or more elements. 2017-04-13 13:41:52 +08:00
parser.rs style: Use SmallVec in the computed value representation of most stuff. 2017-04-30 23:32:32 +02:00
README.md
restyle_hints.rs Bug 1355343: Take all the snapshots into account. r=bholley 2017-05-10 12:05:39 +02:00
scoped_tls.rs bump required rayon version to 0.7 2017-05-05 10:36:01 -04:00
selector_parser.rs Use StyleArc in the style system. 2017-05-02 17:35:44 -07:00
sequential.rs Limit traversal statistics dumps to subtrees of 50 or more elements. 2017-04-13 13:41:52 +08:00
shared_lock.rs Use StyleArc in the style system. 2017-05-02 17:35:44 -07:00
sink.rs
str.rs Support vendor prefix keyframes rule. 2017-04-21 12:18:12 +09:00
style_adjuster.rs style: Add a StyleBuilder struct to avoid refcount and atomic CAS during the cascade. 2017-04-30 23:45:40 +02:00
stylearc.rs Express unique ownership of arc in StyleStructRef, add vacated state 2017-05-04 07:15:18 -07:00
stylesheet_set.rs Use StyleArc in the style system. 2017-05-02 17:35:44 -07:00
stylesheets.rs Stylo: Bug 1355408 - add support for @-moz-document 2017-05-09 12:52:44 +02:00
stylist.rs Bug 1355343: Take all the snapshots into account. r=bholley 2017-05-10 12:05:39 +02:00
supports.rs Check context to test keyframe rule_type 2017-04-12 16:40:37 +08:00
thread_state.rs
timer.rs
traversal.rs Bug 1355343: Take all the snapshots into account. r=bholley 2017-05-10 12:05:39 +02:00
viewport.rs style: Add a StyleBuilder struct to avoid refcount and atomic CAS during the cascade. 2017-04-30 23:45:40 +02:00

servo-style

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