Emilio Cobos Álvarez
8c004c0858
style: Reformat recent changes.
2019-04-12 12:20:14 +02:00
Emilio Cobos Álvarez
a47dcb5707
style: Derive ToResolvedValue.
...
Differential Revision: https://phabricator.services.mozilla.com/D26783
2019-04-12 12:20:09 +02:00
Cameron McCormack
40248ae5fd
style: Add derived ToShmem implementations.
...
Differential Revision: https://phabricator.services.mozilla.com/D17197
2019-04-12 12:19:52 +02:00
Emilio Cobos Álvarez
ff41f82720
style: Fix Gecko and Servo builds, and appease tidy.
2019-03-27 14:29:28 +01:00
Mats Palmgren
4f44b1c6b1
style: Add an inherited internal UA sheet property (-moz-list-reversed:true|false) to propagate <ol reversed> to its relevant descendants.
...
Bug: 288704
Reviewed-by: emilio
2019-03-27 14:29:22 +01:00
Jan Andre Ikenmeyer
1d6fe65401
Update MPL license to https (part 4)
2018-11-19 14:47:27 +01:00
Emilio Cobos Álvarez
212b3e1311
style: Revert try -> r#try change.
...
Since we're in an inconsistent state because mako files weren't updated, and
it's really really ugly.
2018-11-10 21:42:17 +01:00
Simon Sapin
b1822a39fa
cargo fix --edition --features gecko
2018-11-10 17:47:28 +01:00
Simon Sapin
a15d33a10e
cargo fix --edition
2018-11-10 17:47:28 +01:00
Emilio Cobos Álvarez
175e594652
style: Format recent patches.
2018-11-08 15:22:29 +01:00
Emilio Cobos Álvarez
264a679c50
style: followup post-review nit.
2018-11-08 15:22:27 +01:00
Cameron McCormack
acf7b65f36
style: Make quotes property representation allocate less.
...
Differential Revision: https://phabricator.services.mozilla.com/D10650
2018-11-08 15:22:26 +01:00
Pyfisch
9e92eb205a
Reorder imports
2018-11-06 22:35:07 +01:00
chansuke
8dab4d659a
Format style component.
2018-09-09 16:24:45 +02:00
Xidorn Quan
0f7f9eebc0
style: Add some attributes for SpecifiedValueInfo to help deriving more from types.
...
Bug: 1434130
Reviewed-by: emilio
MozReview-Commit-ID: IyohSTbUO31
2018-04-29 03:28:48 +02:00
Xidorn Quan
7fe7b2ffb1
style: Add a ValueInfo trait for exposing types needed by devtools.
...
Most of types just derive it using proc_macro directly. Some of value
types need manual impl.
In my current plan, this new trait will be used in bug 1434130 to expose
values as well.
Bug: 1455576
Reviewed-by: emilio
MozReview-Commit-ID: LI7fy45VkRw
2018-04-29 03:28:34 +02:00
Bobby Holley
c99bcdd4b8
Run rustfmt on selectors, servo_arc, and style.
...
This was generated with:
./mach cargo fmt --package selectors &&
./mach cargo fmt --package servo_arc &&
./mach cargo fmt --package style
Using rustfmt 0.4.1-nightly (a4462d1 2018-03-26)
2018-04-10 17:35:15 -07:00
Fausto Núñez Alberro
cc838f54e5
Implement a URL-generic type for list-style-image
...
This should fix the following two "expected to fail" tests:
- getComputedStyle(elem) for url() listStyleImage uses the resolved URL
and elem.style uses the original URL
- getComputedStyle(elem) for url() listStyle uses the resolved URL
and elem.style uses the original URL
2018-04-03 22:01:26 +02:00
Xidorn Quan
a99ca543cd
Add SpecifiedImageUrl for <url> used as images.
2018-03-08 23:34:32 +11: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
Jon Leighton
53e868e203
Refactor ListStyleType
2017-12-23 21:24:46 +01:00
Jon Leighton
214b423bbd
Move list-style-type outside of mako
...
Closes issue #19629
2017-12-23 13:01:30 +01:00
Felipe Nakandakari
eb88a298f6
style: move list-style-image out of mako
...
cleaner way to set boxed param
redefine get_initial_value to none
make parse method clearer
remove some extra lines
2017-12-15 16:23:53 +11:00
Emilio Cobos Álvarez
03f3521216
style: Use more Box<[]> and Box<str> for quotes.
2017-12-14 04:05:25 +01:00
Connor Brewster
16f627a18a
style: Move list quotes out of mako
2017-12-14 03:43:10 +01:00