mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
style: Add infrastructure to support lazy pseudo-elements This builds on top of #10815, so it's really just the last commit the one that should be reviewed. I tried to apply the new infrastructure to servo, but failed (for now?). The problem with it is that it'd require `ThreadSafeLayoutElement` to implement `selectors::Element`, which is a lot of work and might be racy (not totally sure about it though). Thus, I prefered to keep selectors eager until knowing that it's safe to do it. r? @mbrubeck for style changes, @bholley for the geckolib changes (minimal for now, glue + a list of lazy PEs must be added) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10934) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
properties | ||
animation.rs | ||
attr.rs | ||
bezier.rs | ||
build.rs | ||
Cargo.toml | ||
context.rs | ||
custom_properties.rs | ||
data.rs | ||
dom.rs | ||
element_state.rs | ||
error_reporting.rs | ||
font_face.rs | ||
lib.rs | ||
logical_geometry.rs | ||
matching.rs | ||
media_queries.rs | ||
parallel.rs | ||
parser.rs | ||
README.md | ||
restyle_hints.rs | ||
selector_impl.rs | ||
selector_matching.rs | ||
sequential.rs | ||
servo.rs | ||
stylesheets.rs | ||
traversal.rs | ||
values.rs | ||
viewport.rs |