Bobby Holley
513a75d86a
Hoist the rest of css/matching.rs into style/.
2016-01-04 09:41:31 -08:00
Bobby Holley
a05d7f1dfd
Hoist style-related context bits into style/.
...
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.
2015-12-29 12:07:07 -08:00
Tetsuharu OHZEKI
e8c12c1c6d
Fix warnings: Use Vec.extend_from_slice instead of Vec.push_all
2015-12-10 16:49:29 -05:00
David Zbarsky
00980ea595
Implement calc expressions for more value types
2015-11-01 23:16:14 -08:00
Glenn Watson
339a3f869b
Split Au type into separate crate, with minimal dependencies.
2015-10-01 07:16:11 +10:00
Jaydeep
2a99915188
Check for Extra pointer dereferencing. Issue #7640 .
2015-09-26 19:33:29 -07:00
Ravi Shankar
889eec364b
sorted the extern crate, mod & use declarations
2015-09-24 02:12:45 +05:30
Michael Howell
554a4cf9f2
Add transitions for CSS calc()
.
...
Closes #7284
2015-09-19 19:39:55 -07:00
Brandon Fairchild
de3547e401
Fix reported test-tidy errors for unmerged import blocks
...
This merges import blocks that were reported by tidy as unmerged.
2015-09-19 12:50:14 -04:00
Jinwoo Song
d524601cf5
CSS 'transformation: skew()' should take <angle> type as parameters
...
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 .
2015-09-12 01:06:35 +02:00
Manish Goregaokar
97422ad252
Various fixes in style
2015-09-03 03:16:00 +05:30
Simon Sapin
40b4348824
Upgrade to rustc 1.4.0-dev (cb9323ec0 2015-09-01)
2015-09-02 09:22:17 +02:00
Johann Tuffe
ec07178b6f
sort all uses
2015-08-20 20:47:12 +08:00
Josh Matthews
8bb853f643
Fix existing syntactics nits.
2015-08-16 10:30:43 -04:00
João Oliveira
0038580abf
Replace uses of for foo in bar.iter()
and for foo in bar.iter_mut()
...
closes #7197
2015-08-15 02:27:39 +01:00
Patrick Walton
cac01edf80
style: Switch animation timestamps to be doubles instead of floats.
...
32-bit floats are not enough to hold timestamps since the epoch and
result in jank.
2015-08-01 17:46:39 -07:00
Patrick Walton
ad7bfa2289
style: Fix misdirected animation properties.
...
left redirected to top, and padding redirected to margin.
2015-08-01 10:23:41 -07:00
David Zbarsky
e484d6b5e3
Implement getComputedStyle
2015-07-29 20:17:50 -04:00
Glenn Watson
c27388cb81
Change transforms to use LengthOrPercentage.
...
This simplifies an upcoming PR to support serializing transform values for css style declarations.
Related to issue #6643 .
2015-07-28 09:42:05 +10:00
Glenn Watson
6dd082278d
Partial implementation of transform animations spec.
...
Also tidy up some of the ComputedMatrix code.
2015-06-10 07:07:28 +10:00
Simon Sapin
ef8edd4e87
Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.
2015-05-05 10:07:34 -04:00
Joseph Seaton
d843526cb8
Animate many more CSS properties
2015-04-16 17:42:57 +01:00
Patrick Walton
66dd8c8a6c
layout: Implement CSS transitions per CSS-TRANSITIONS § 2.
...
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.
2015-03-31 08:46:11 -07:00