aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/selector_impl.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename selector_impl.rs to selector_parser.rsSimon Sapin2016-11-201-137/+0
| | | | This makes it consistent with an upcoming update of the selectors crate.
* Stop using associated types for the concrete TRestyleDamage implementation.Bobby Holley2016-11-071-3/+9
| | | | MozReview-Commit-ID: LfaZFCVlIb1
* Stop using associated types for the concrete ElementSnapshot implementation.Bobby Holley2016-11-071-6/+9
| | | | MozReview-Commit-ID: LS23s2RbMBg
* Update to string-cache 0.3Simon Sapin2016-11-031-2/+3
|
* Move gecko_* into style::geckoManish Goregaokar2016-09-241-2/+2
| | | | Prepping for the next stage where most of geckolib/ is popped in here
* style: Fix pseudo-element restyling.Emilio Cobos Álvarez2016-08-101-2/+4
|
* Update to selectors 0.8.2Simon Sapin2016-08-091-4/+31
|
* Replace the SelectorImplExt trait with inherent methods.Simon Sapin2016-08-091-21/+3
|
* stylo: Update generated bindingsEmilio Cobos Álvarez2016-07-211-1/+1
|
* style: Rewrite the restyle hints code to allow different kinds of element ↵Emilio Cobos Álvarez2016-07-211-3/+9
| | | | | | | | | | | | | snapshots, and use it for Gecko. This is a rewrite for how style interfaces with its consumers in order to allow different representations for an element snapshot. This also changes the requirements of an element snapshot, requiring them to only implement MatchAttr, instead of MatchAttrGeneric. This is important for stylo since implementing MatchAttrGeneric is way more difficult for us given the atom limitations. This also allows for more performant implementations in the Gecko side of things.
* Have a concrete SelectorImpl type everywhere in the style crate.Simon Sapin2016-07-201-3/+5
| | | | | It is conditionally compiled to one implementation or the other (Gecko or Servo) with `#[cfg(…)]`.
* Remove the ComputedValue traits and style_struct_traitsSimon Sapin2016-07-201-3/+0
|
* Move ServoSelectorImpl to a dedicated module.Simon Sapin2016-07-201-186/+11
|
* Upgrade rust-selectors.Bobby Holley2016-07-051-1/+2
|
* style: Remove the Mutex from new_animations_sender by moving it to the local ↵Emilio Cobos Álvarez2016-07-011-1/+1
| | | | | | | | | | StyleContext. As a follow-up, we could move all the data living under a mutex in the SharedLayoutContext only in order to create the local context to the same place. This should increase animation performance when there are multiple animations in one page that happen to be on different threads.
* style: Fix parsing and add generated keyframesEmilio Cobos Álvarez2016-06-281-1/+4
|
* style: Refactor to pass animations cleanly, land animation-name parsing as ↵Emilio Cobos Álvarez2016-06-281-0/+15
| | | | experimental
* Add some documentation to the style crate.Ms2ger2016-06-271-0/+3
|
* Make the style crate almost build on stable Rust.Simon Sapin2016-06-221-3/+6
| | | | `discriminant_value` will need to be replaced with something else later.
* Implement :placeholder-shown (fixes #10561)Anthony Ramine2016-06-031-1/+4
|
* style: Minor documentation tweaks about lazy pseudo-elementsEmilio Cobos Álvarez2016-05-041-2/+5
|
* style: layout: Allow a lazy pseudo-element implementation in Servo.Emilio Cobos Álvarez2016-05-041-10/+2
|
* style: Support lazy pseudo-elementsEmilio Cobos Álvarez2016-05-031-29/+64
| | | | | | | | These can't be supported in Servo as of right now, because I'm not totally sure the accesses that should be done in layout would be thread-safe. It can be revisited later though.
* style: Add doc-comment about is_eagerly_cascaded_pseudo_elementEmilio Cobos Álvarez2016-04-291-0/+18
|
* layout: Stop storing PrecomputedStyleData in LayoutNodeEmilio Cobos Álvarez2016-04-291-1/+1
| | | | Use the SharedStyleContext instead.
* layout: Tidy a bit style pseudo-elements stuffEmilio Cobos Álvarez2016-04-291-7/+14
|
* style: Use precomputation for the -servo-details-content pseudo-elementEmilio Cobos Álvarez2016-04-291-2/+1
|
* style: Add infrastructure for non-eagerly-cascaded pseudo-elementsEmilio Cobos Álvarez2016-04-291-13/+54
| | | | This commit also removes StylistWrapper and uses Arc::get_mut instead.
* added support for :read-only and :read-write pseudo-classesYoav Alon2016-04-271-0/+5
| | | | partial fix for https://github.com/servo/servo/issues/10732
* Implement ::selection pseudo-elementEmilio Cobos Álvarez2016-03-301-0/+3
|
* Get the fundamentals of the HTMLDetailsElement rendering stuff working.Michael Howell2016-03-191-1/+15
| | | | | | Still need to implement the style invalidation. Part of #9395
* Stop using servo UA stylesheets for geckolib.Bobby Holley2016-03-041-3/+3
| | | | | Gecko will provide these. This also removes the need to reference the servo resource directory.
* Refactor style to be completely backend-independentEmilio Cobos Álvarez2016-02-131-7/+57
| | | | | | | | | | | This commit refactors the style crate to be completely independent of the actual implementation and pseudo-elements supported. This also adds a gecko backend which introduces parsing for the anonymous box pseudo-elements[1], although there's still no way of querying them. https://mxr.mozilla.org/mozilla-central/source/layout/style/nsCSSAnonBoxList.h
* Update rust-selectorsEmilio Cobos Álvarez2016-02-031-0/+91
This commits updates rust-selectors to use the generic parser, and as such it moves the element state into the style crate.