aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/animation.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move width and height from Box to Position.Cameron McCormack2016-05-041-4/+4
| | | | This helps with style struct alignment between Servo and Gecko.
* Removed the T prefix for the style traitsPer Lundberg2016-04-121-1/+1
| | | | | | More work as described in #10185. The reason I upgraded lazy_static to 0.1.16 is because it fixes an issue with the Box name (std::boxed::Box was used in an unqualified name, which can cause name clashes when there is another type that exists with the same name).
* Move some CSS properties from Animation to Box and delete AnimationMauricio Collares2016-04-051-9/+9
|
* Move CSS line-height property from InheritedBox to InheritedTextMauricio Collares2016-04-051-2/+2
|
* Move some CSS properties from Box to PositionMauricio Collares2016-04-051-10/+10
|
* Rename PositionOffsets to PositionMauricio Collares2016-04-051-8/+8
|
* Move CSS text-shadow property from Effects to InheritedTextMauricio Collares2016-04-051-3/+3
|
* Renamed TComputedValues to ComputedValuesPer Lundberg2016-03-291-7/+7
| | | | This is a followup to #10210, and a continuation of #10185.
* ComputedValues is now ServoComputedValuesPer Lundberg2016-03-271-6/+6
| | | | 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-15/+17
|
* Introduce traits for style structs and computed values.Bobby Holley2016-03-241-1/+1
|
* Move util::bezier to styleAnthony Ramine2016-02-141-1/+1
|
* style: Refactor the per_pseudo map from StyleData to avoid having an option ↵Emilio Cobos Álvarez2016-02-131-1/+1
| | | | | | value type. This make the layout code way clearer.
* Hoist the rest of css/matching.rs into style/.Bobby Holley2016-01-041-1/+63
|
* Hoist style-related context bits into style/.Bobby Holley2015-12-291-0/+23
| | | | | | | | We do a few things-here: * Hoist non-layout-dependent fields in SharedLayoutData and LocalLayoutData into style/. * Hoist parts of css/matching.rs into style/. * Hoist parts of layout/animation.rs into style/animation.rs. * Remove the duplicated-but-slightly-different definition of OpaqueNode.
* Fix warnings: Use Vec.extend_from_slice instead of Vec.push_allTetsuharu OHZEKI2015-12-101-1/+1
|
* Implement calc expressions for more value typesDavid Zbarsky2015-11-011-12/+12
|
* Split Au type into separate crate, with minimal dependencies.Glenn Watson2015-10-011-1/+1
|
* Check for Extra pointer dereferencing. Issue #7640.Jaydeep2015-09-261-5/+5
|
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-2/+2
|
* Add transitions for CSS `calc()`.Michael Howell2015-09-191-3/+26
| | | | Closes #7284
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-5/+4
| | | | This merges import blocks that were reported by tidy as unmerged.
* CSS 'transformation: skew()' should take <angle> type as parametersJinwoo Song2015-09-121-1/+8
| | | | | | | | Current implementation is taking <number> type as parameter so skew() does not work properly. Let the skew() to get <angle> as specification described. Fixes #6237.
* Various fixes in styleManish Goregaokar2015-09-031-7/+7
|
* Upgrade to rustc 1.4.0-dev (cb9323ec0 2015-09-01)Simon Sapin2015-09-021-1/+1
|
* sort all usesJohann Tuffe2015-08-201-13/+13
|
* Fix existing syntactics nits.Josh Matthews2015-08-161-1/+1
|
* Replace uses of `for foo in bar.iter()` and `for foo in bar.iter_mut()`João Oliveira2015-08-151-3/+2
| | | | closes #7197
* style: Switch animation timestamps to be doubles instead of floats.Patrick Walton2015-08-011-35/+37
| | | | | 32-bit floats are not enough to hold timestamps since the epoch and result in jank.
* style: Fix misdirected animation properties.Patrick Walton2015-08-011-18/+18
| | | | left redirected to top, and padding redirected to margin.
* Implement getComputedStyleDavid Zbarsky2015-07-291-11/+32
|
* Change transforms to use LengthOrPercentage.Glenn Watson2015-07-281-14/+3
| | | | | | This simplifies an upcoming PR to support serializing transform values for css style declarations. Related to issue #6643.
* Partial implementation of transform animations spec.Glenn Watson2015-06-101-1/+176
| | | | Also tidy up some of the ComputedMatrix code.
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-36/+53
|
* Animate many more CSS propertiesJoseph Seaton2015-04-161-49/+497
|
* layout: Implement CSS transitions per CSS-TRANSITIONS § 2.Patrick Walton2015-03-311-0/+221
Transition events are not yet supported, and the only animatable properties are `top`, `right`, `bottom`, and `left`. However, all other features of transitions are supported. There are no automated tests at present because I'm not sure how best to test it, but three manual tests are included.