Manish Goregaokar
d81c6af59c
Add from_computed_value() function for converting computed values to specified
2016-09-23 09:44:32 +05:30
Manish Goregaokar
f29b748a59
Fix serialization of initial/inherit shorthands
2016-08-22 22:42:44 +05:30
Manish Goregaokar
69ada0d7a3
Support multiple backgrounds in servo layout
2016-08-22 22:42:43 +05:30
Manish Goregaokar
66cdf9ae4f
Support serializing vector backgrounds in shorthand form
2016-08-22 22:42:41 +05:30
Manish Goregaokar
65a8a8dccb
Make most background- properties handle arrays
2016-08-22 22:42:39 +05:30
Manish Goregaokar
ce9640a48e
Support possibly-vector keyword properties
2016-08-22 22:42:38 +05:30
David Raifaizen
3831c0650c
Adding support for correct shorthand serialization
2016-08-16 22:28:51 -04:00
Emilio Cobos Álvarez
9e88a495c8
style: Introduce a generic way of gathering information from the cascade, and use it for viewport units.
2016-08-16 10:58:16 -07:00
Manish Goregaokar
c8bff6151e
Resync stylo bindings
...
Now at gecko-dev acf1cc9adeffe040dcdf7b7cf454cdd9657761e5
2016-07-26 15:14:24 +05:30
Simon Sapin
4b7060554b
Rename ComputedValuesStruct to ComputedValues.
...
Doing this in a separate commit avoids mixups
with the ComputedValues trait that the previous commit removed.
2016-07-20 08:42:45 +02:00
Simon Sapin
789807b7b0
Remove the ComputedValue traits and style_struct_traits
2016-07-20 08:42:40 +02:00
Shing Lyu
f754cacbd5
Only restyle viewport-relative nodes on viewport size change
2016-07-18 11:01:42 +08:00
Manish Goregaokar
e21828080b
Error when non-allow_empty property is empty
2016-07-16 11:01:03 +05:30
Manish Goregaokar
a37eb82da8
Use allow_empty vector longhand for box-shadow
2016-07-15 15:15:28 +05:30
Manish Goregaokar
b6edae2f5e
Add allow_empty to vector_longhand
2016-07-15 15:15:26 +05:30
Manish Goregaokar
34c82d6e78
Replace gecko_autoarray_longhand with configurable vector_longhand
2016-07-15 15:15:23 +05:30
Manish Goregaokar
209255b20a
Address review comments
2016-07-14 12:35:34 +05:30
Manish Goregaokar
b1a3831bf6
Add framework for properties which are single elements in servo and arrays in gecko
2016-07-14 12:34:04 +05:30
Emilio Cobos Álvarez
411ae84908
style: Add support to the animation shorthand and fix parsing of animation-name.
2016-07-07 16:05:22 -07:00
Simon Sapin
2d52b13f2f
Make geckolib possible to build on stable Rust
2016-07-05 15:37:16 +02:00
Emilio Cobos Álvarez
ba53c4ea8d
style: Add a generic way to deal with lists of values, ditch all uses of as_servo in style/animations.rs
2016-07-01 14:22:52 -07:00
Emilio Cobos Álvarez
818bc6d4a2
style: parse the remaining animation longhands.
2016-06-28 15:09:53 +00:00
Cameron McCormack
44bdbed989
Support -moz-binding in geckolib.
2016-05-24 12:12:34 +10:00
Cameron McCormack
2b8f809852
Allow shorthands to be restricted to specific products.
2016-05-11 11:10:42 +10:00
Cameron McCormack
330c47f78e
Support {flood,lighting,stop,text-decoration}-color in geckolib.
2016-05-04 09:44:12 +10:00
Cameron McCormack
d69763b0c1
Generate geckolib setters for properties with simple predefined types.
2016-05-03 10:01:28 +10:00
Per Lundberg
38f90a3e2e
Extracted shorthands to separate files.
...
I've deliberately tried to keep things similarly structured as in the longhand files. I.e. if a given property is in e.g. longhand/box.mako.rs, the shorthand stuff that relates to the same property is in shorthand/box.mako.rs and so forth.
2016-04-26 23:12:35 +03:00
Bobby Holley
980c814e2a
Manually implement the display property for now.
2016-04-21 23:57:31 -07:00
Bobby Holley
456b05e9cf
Make predefined_type use kwargs.
2016-04-21 23:57:28 -07:00
Per Lundberg
4643737a1b
Applied a bunch of suggestions from Simon.
2016-04-21 22:42:35 +03:00