Nazım Can Altınova
9204f2aaad
Add a test to check the size of PropertyDeclaration
2017-02-09 10:26:59 +01:00
Hiroyuki Ikezoe
a80725c91b
Allow empty keyframe and keyframes with non-animatable properties.
...
We need to create CSS animations that have empty keyframe or keyframes
which have only invalid properties or non-animatable properties to fire
animation events for such animations.
2017-02-01 07:06:38 +09:00
Matt Brubeck
b3820c1296
Convert text-orientation to a Gecko-only property
...
Remove incomplete and buggy support for text-orientation in Servo.
Make the property values align with Gecko and the latest draft of CSS
Writing Modes Level 3.
2017-01-27 21:12:38 -08:00
Ms2ger
14fe337866
Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23).
2017-01-24 11:02:51 +01:00
Bobby Holley
b9d99390ad
Switch to crates.io for atomic_refcell.
2017-01-03 18:14:27 -08:00
Hiroyuki Ikezoe
3320457c07
Interpolate colors with premultiplied alpha.
...
We need to clamp each interpolated values because some cubic-bezier functions
produce values that are out of range [0, 1].
2016-12-28 09:18:22 +09:00
Simon Sapin
01442ba1ae
Remove usage of std::intrinsics::discriminant_value.
2016-12-20 07:07:05 +01:00
Emilio Cobos Álvarez
e67ea42c3f
style: Add simple rule-tree benchmarks. Fix rule node drop race.
2016-12-19 09:46:59 +01:00
Alan Jeffrey
9be4fd56ce
Removed util.
2016-12-14 18:04:37 -06:00
Simon Sapin
97344b150d
cow_to_ascii_lowercase()
2016-12-09 10:56:20 -10:00
Simon Sapin
08066800cd
Rename selector_matching.rs to stylist.rs
2016-11-20 15:29:09 +01:00
Emilio Cobos Álvarez
913c874cb5
Urlmageddon: Use refcounted urls more often.
2016-11-17 18:34:23 +01:00
Simon Sapin
53b638c0e2
Update to string-cache 0.3
2016-11-03 16:23:05 +01:00
Bobby Holley
d252c8e42a
Implement AtomicRef::map.
...
MozReview-Commit-ID: 8iOALQylOuK
2016-11-01 20:39:51 +01:00
Rohit Burra
32ba45ab6f
Fix tidy issues
2016-11-01 11:35:40 +05:30
Bobby Holley
d73047584c
Implement OwningHandle in style.
...
I've also PR-ed this against upstream [1], but I don't want to block on that
in case it takes a while to be merged / published.
[1] https://github.com/Kimundi/owning-ref-rs/pull/15
2016-10-13 16:53:37 -06:00
Simon Sapin
89a29a7f12
Use parking_lot::RwLock instead of DOMRefCell for PropertyDeclarationBlock
2016-10-04 18:34:59 +02:00
Simon Sapin
5e4bdac2bd
Import SelectorMap unit tests from the selectors crate.
2016-08-21 03:40:39 +02:00
Manish Goregaokar
c6feae3c5c
Add roundtrip parsing tests for basic_shape/position
2016-08-02 15:57:35 +05:30
Simon Sapin
6d0e48f6cc
Remove some type aliases that are now just re-exports.
2016-07-20 08:42:47 +02:00
Shing Lyu
f754cacbd5
Only restyle viewport-relative nodes on viewport size change
2016-07-18 11:01:42 +08:00
Ms2ger
8dd711d3db
Move util::cache to style.
2016-07-08 16:44:47 +02:00
Anthony Ramine
8ecb5962f3
Move util::str to style
2016-07-05 10:43:54 +02:00
Matt Brubeck
96c69f852c
Fix warnings in unit tests
2016-05-12 12:22:00 -07:00
Simon Sapin
a3b271266c
Make css-properties.json checking a proper unit test.
2016-04-28 15:41:30 +02:00
Per Lundberg
4cb4cc93e4
Renamed TComputedValues to ComputedValues
...
This is a followup to #10210 , and a continuation of #10185 .
2016-03-29 23:30:13 +03:00
Bobby Holley
5c749127cc
Introduce traits for style structs and computed values.
2016-03-24 11:49:46 -07:00
Anthony Ramine
db8d502f41
Move util::logical_geometry to style
2016-02-18 10:17:13 +01:00
GauriGNaik
fc81276c8e
Add pipeline information to CSS error reporting.
2015-12-14 11:18:30 -05:00
Sam Gibson
9668500e97
Makes setting negative values to maxLength throw an IndexSize exception
2015-12-03 14:00:59 +11:00
Alan Jeffrey
3dec6edd10
Update string_cache to 0.2.
...
Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock.
Removed references to string_cache_plugin.
Import atom! and ns! from string_cache.
Replaced ns!("") by ns!().
Replaced ns!(XML) and co by ns!(xml) and co.
Replaced atom!(foo) by atom!("foo").
Replaced Atom::from_slice by Atom::from.
Replaced atom.as_slice() by &*atom.
2015-11-25 10:13:21 -06:00
Corey Farwell
f34da4120d
Implement 'url!(..)' macro
...
https://github.com/servo/rust-url/issues/136
https://github.com/servo/rust-url/pull/137
2015-11-21 08:15:56 -05:00
James Gilbertson
61f7a0a1ee
Implement CSS Device Adaption § 9 (Viewport <META> element)
...
Spec: http://dev.w3.org/csswg/css-device-adapt/#viewport-meta
2015-09-30 20:11:39 -07:00
Glenn Watson
339a3f869b
Split Au type into separate crate, with minimal dependencies.
2015-10-01 07:16:11 +10:00
João Oliveira
4a305d1e62
Add style_traits crate to improve crate separation,
...
closes #7353
2015-09-04 12:59:37 +01:00
Johann Tuffe
ec07178b6f
sort all uses
2015-08-20 20:47:12 +08:00
ecoal95
8cbfb3482c
Use euclid from crates.io
2015-06-19 00:04:24 +02:00
James Gilbertson
3b14c07051
Implement parsing of an @viewport rule
2015-05-05 21:01:31 -06:00
Simon Sapin
ce1f2bab7b
Fix up the splitting of the unit tests crate.
...
Closes #5707 . (Includes a rebase of it.)
Fixes #5688 .
2015-04-21 20:22:10 +02:00