aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/servo.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove some type aliases that are now just re-exports.Simon Sapin2016-07-201-17/+0
|
* Have a concrete SelectorImpl type everywhere in the style crate.Simon Sapin2016-07-201-5/+4
| | | | | 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-4/+3
|
* Move ServoSelectorImpl to a dedicated module.Simon Sapin2016-07-201-1/+1
|
* style: Remove the Mutex from new_animations_sender by moving it to the local ↵Emilio Cobos Álvarez2016-07-011-0/+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/+2
|
* Add some documentation to the style crate.Ms2ger2016-06-271-1/+3
|
* layout: Stop storing PrecomputedStyleData in LayoutNodeEmilio Cobos Álvarez2016-04-291-1/+0
| | | | Use the SharedStyleContext instead.
* style: Add infrastructure for non-eagerly-cascaded pseudo-elementsEmilio Cobos Álvarez2016-04-291-1/+1
| | | | This commit also removes StylistWrapper and uses Arc::get_mut instead.
* ComputedValues is now ServoComputedValuesPer Lundberg2016-03-271-2/+2
| | | | This is the first part of #10185. More to follow. I have built this locally with both servo and geckolib without errors; let's see if it succeeds on all platforms as well.
* Parameterize the rest of the style system on TNode.Bobby Holley2016-03-241-1/+2
|
* Refactor style to be completely backend-independentEmilio Cobos Álvarez2016-02-131-0/+15
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