Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename selector_impl.rs to selector_parser.rs | Simon Sapin | 2016-11-20 | 1 | -137/+0 |
| | | | | This makes it consistent with an upcoming update of the selectors crate. | ||||
* | Stop using associated types for the concrete TRestyleDamage implementation. | Bobby Holley | 2016-11-07 | 1 | -3/+9 |
| | | | | MozReview-Commit-ID: LfaZFCVlIb1 | ||||
* | Stop using associated types for the concrete ElementSnapshot implementation. | Bobby Holley | 2016-11-07 | 1 | -6/+9 |
| | | | | MozReview-Commit-ID: LS23s2RbMBg | ||||
* | Update to string-cache 0.3 | Simon Sapin | 2016-11-03 | 1 | -2/+3 |
| | |||||
* | Move gecko_* into style::gecko | Manish Goregaokar | 2016-09-24 | 1 | -2/+2 |
| | | | | Prepping for the next stage where most of geckolib/ is popped in here | ||||
* | style: Fix pseudo-element restyling. | Emilio Cobos Álvarez | 2016-08-10 | 1 | -2/+4 |
| | |||||
* | Update to selectors 0.8.2 | Simon Sapin | 2016-08-09 | 1 | -4/+31 |
| | |||||
* | Replace the SelectorImplExt trait with inherent methods. | Simon Sapin | 2016-08-09 | 1 | -21/+3 |
| | |||||
* | stylo: Update generated bindings | Emilio Cobos Álvarez | 2016-07-21 | 1 | -1/+1 |
| | |||||
* | style: Rewrite the restyle hints code to allow different kinds of element ↵ | Emilio Cobos Álvarez | 2016-07-21 | 1 | -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 Sapin | 2016-07-20 | 1 | -3/+5 |
| | | | | | It is conditionally compiled to one implementation or the other (Gecko or Servo) with `#[cfg(…)]`. | ||||
* | Remove the ComputedValue traits and style_struct_traits | Simon Sapin | 2016-07-20 | 1 | -3/+0 |
| | |||||
* | Move ServoSelectorImpl to a dedicated module. | Simon Sapin | 2016-07-20 | 1 | -186/+11 |
| | |||||
* | Upgrade rust-selectors. | Bobby Holley | 2016-07-05 | 1 | -1/+2 |
| | |||||
* | style: Remove the Mutex from new_animations_sender by moving it to the local ↵ | Emilio Cobos Álvarez | 2016-07-01 | 1 | -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 keyframes | Emilio Cobos Álvarez | 2016-06-28 | 1 | -1/+4 |
| | |||||
* | style: Refactor to pass animations cleanly, land animation-name parsing as ↵ | Emilio Cobos Álvarez | 2016-06-28 | 1 | -0/+15 |
| | | | | experimental | ||||
* | Add some documentation to the style crate. | Ms2ger | 2016-06-27 | 1 | -0/+3 |
| | |||||
* | Make the style crate almost build on stable Rust. | Simon Sapin | 2016-06-22 | 1 | -3/+6 |
| | | | | `discriminant_value` will need to be replaced with something else later. | ||||
* | Implement :placeholder-shown (fixes #10561) | Anthony Ramine | 2016-06-03 | 1 | -1/+4 |
| | |||||
* | style: Minor documentation tweaks about lazy pseudo-elements | Emilio Cobos Álvarez | 2016-05-04 | 1 | -2/+5 |
| | |||||
* | style: layout: Allow a lazy pseudo-element implementation in Servo. | Emilio Cobos Álvarez | 2016-05-04 | 1 | -10/+2 |
| | |||||
* | style: Support lazy pseudo-elements | Emilio Cobos Álvarez | 2016-05-03 | 1 | -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_element | Emilio Cobos Álvarez | 2016-04-29 | 1 | -0/+18 |
| | |||||
* | layout: Stop storing PrecomputedStyleData in LayoutNode | Emilio Cobos Álvarez | 2016-04-29 | 1 | -1/+1 |
| | | | | Use the SharedStyleContext instead. | ||||
* | layout: Tidy a bit style pseudo-elements stuff | Emilio Cobos Álvarez | 2016-04-29 | 1 | -7/+14 |
| | |||||
* | style: Use precomputation for the -servo-details-content pseudo-element | Emilio Cobos Álvarez | 2016-04-29 | 1 | -2/+1 |
| | |||||
* | style: Add infrastructure for non-eagerly-cascaded pseudo-elements | Emilio Cobos Álvarez | 2016-04-29 | 1 | -13/+54 |
| | | | | This commit also removes StylistWrapper and uses Arc::get_mut instead. | ||||
* | added support for :read-only and :read-write pseudo-classes | Yoav Alon | 2016-04-27 | 1 | -0/+5 |
| | | | | partial fix for https://github.com/servo/servo/issues/10732 | ||||
* | Implement ::selection pseudo-element | Emilio Cobos Álvarez | 2016-03-30 | 1 | -0/+3 |
| | |||||
* | Get the fundamentals of the HTMLDetailsElement rendering stuff working. | Michael Howell | 2016-03-19 | 1 | -1/+15 |
| | | | | | | Still need to implement the style invalidation. Part of #9395 | ||||
* | Stop using servo UA stylesheets for geckolib. | Bobby Holley | 2016-03-04 | 1 | -3/+3 |
| | | | | | Gecko will provide these. This also removes the need to reference the servo resource directory. | ||||
* | Refactor style to be completely backend-independent | Emilio Cobos Álvarez | 2016-02-13 | 1 | -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-selectors | Emilio Cobos Álvarez | 2016-02-03 | 1 | -0/+91 |
This commits updates rust-selectors to use the generic parser, and as such it moves the element state into the style crate. |