Emilio Cobos Álvarez
15c416b133
style: Use a more consistent style for parsing functions.
2018-04-02 19:34:58 +02:00
Anthony Ramine
cd8f96cc9e
Change ToCss to take a CssWriter<W>
...
This more concrete wrapper type can write a prefix the very first time something
is written to it. This allows removing plenty of useless monomorphisations caused
by the former W/SequenceWriter<W> pair of types.
2018-01-23 10:41:42 +01:00
Emilio Cobos Álvarez
af879523ea
style: Make all keywords CamelCase for consistency.
...
This prevents confusion and paves the ground for derive(Parse) of them.
2017-12-06 02:35:10 +01:00
Simon Sapin
c0f8f15f39
Update to cssparser 0.22 (source location in error types)
2017-10-10 13:28:17 +02:00
Manish Goregaokar
2ebce54d75
Remove testing feature from style crate
2017-08-07 14:30:31 -07:00
Josh Matthews
27ae1ef2e7
Thread ParseError return values through CSS parsing.
2017-06-09 16:46:25 -04:00
Xidorn Quan
7568a19688
Merge CSSColor into Color.
2017-06-08 12:59:22 +10:00
Simon Sapin
e4f241389e
Box large components of Longhands structs.
2017-05-19 17:47:03 +02:00
Matt Brubeck
16e318d055
Add support for non-standard -moz color keyword values.
...
Closes #15928
2017-03-14 00:49:08 +01:00
projektir
b4c50de31e
Don't serialize initial text-decoration-style #15790
2017-03-09 00:33:17 -05:00
Xidorn Quan
4bc0fbeeb1
Impl ToCss on LonghandsToSerialize directly
2017-03-02 11:10:30 +11:00
Xidorn Quan
f327b2fc73
Make LonghandsToSerialize store reference to specified value
...
This significantly simplify the code.
2017-03-02 11:09:06 +11:00
Xidorn Quan
f33b0b4ea3
Have shorthand parsing functions return values
...
Shorthands are responsible to set all its longhands to a proper value,
rather than returning None.
Fixes #15380 .
2017-02-28 15:24:08 +11:00
Xidorn Quan
c8970f7e21
Ignore initial values in text-decoration
2017-02-02 15:41:56 +11:00
Manish Goregaokar
450a5d1ae0
Add spec links for text properties
2017-01-03 14:03:35 -08:00
Manish Goregaokar
e1e512f86b
Run style unit tests in testing mode, disable some properties in testing mode
2016-09-28 10:00:36 +02:00
Manish Goregaokar
f29b748a59
Fix serialization of initial/inherit shorthands
2016-08-22 22:42:44 +05:30
David Raifaizen
3831c0650c
Adding support for correct shorthand serialization
2016-08-16 22:28:51 -04:00
Cameron McCormack
0580e1854e
Support text-decoration-line and the text-decoration shorthand in geckolib.
2016-05-26 11:06:37 +10:00