Simon Sapin
33ef6f78e5
Update to cssparser 0.11
2017-02-26 11:09:53 +01:00
bors-servo
f9f55789b8
Auto merge of #15712 - nox:rustc-serialize, r=metajack
...
Remove rustc-serialize from style and style_traits
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15712 )
<!-- Reviewable:end -->
2017-02-23 19:19:34 -08:00
Glenn Watson
30ff2f8f0d
Introduce CSSPixel as a replacement for ViewportPx and PagePx.
2017-02-24 06:58:10 +10:00
Anthony Ramine
8a8ee2888c
Remove rustc-serialize from style and style_traits
2017-02-23 21:47:23 +01:00
Glenn Watson
0af27a3434
Rename ScreenPx to DeviceIndependentPixel.
2017-02-22 14:37:24 +10:00
Simon Sapin
9ec8418d8c
Rename CommaSeparated to OneOrMoreCommaSeparated, reflecting its behavior.
2017-02-03 13:15:53 +01:00
Simon Sapin
4bcae573b3
Macroize @font-face descriptor definitions
2017-02-02 18:32:02 +01:00
Ms2ger
14fe337866
Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23).
2017-01-24 11:02:51 +01:00
Simon Sapin
67aea3bba4
Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06)
2017-01-06 17:43:31 +01:00
Emilio Cobos Álvarez
82b6825a86
style: Document style_traits and deny missing docs on it.
2016-12-31 12:17:07 +01:00
bors-servo
eb36ab82c0
Auto merge of #14135 - frewsxcv:code-like, r=Ms2ger
...
Indicate items in doc comments as code-like.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14135 )
<!-- Reviewable:end -->
2016-11-14 06:59:35 -06:00
Emilio Cobos Álvarez
5f2e7af864
style: Centralize specified url value handling, and refcount urls.
2016-11-10 13:15:21 +01:00
Corey Farwell
531289ebb7
Indicate items in doc comments as code-like.
2016-11-08 09:33:03 -05:00
Ravi Shankar
5dbc8d02c9
Move Servo-specific ToCss to style_traits
2016-11-07 00:00:28 +05:30
Anthony Ramine
046a97fa13
Remove #![feature(rustc_attrs)]
2016-11-03 11:24:19 +01:00
Anthony Ramine
3bc26d1819
Remove #![feature(structural_match)]
2016-11-03 11:24:18 +01:00
Anthony Ramine
c4f27e42b7
Remove #![feature(custom_derive)]
2016-11-03 10:14:21 +01:00
Simon Sapin
5bb4c6c884
Use heapsize_derive instead of heapsize_plugin
2016-11-03 01:10:32 +01:00
Keith Yeung
668163ec5c
Emit TransitionEnd events in the layout thread and process it in the script thread
2016-10-11 19:36:06 -07:00
Anthony Ramine
1854566683
Update to Rust 1.14.0-nightly (19ac57926 2016-10-08)
...
A cargo bump and a switch to serde_derive is needed to do this rustup.
2016-10-09 18:53:47 +02:00
Emilio Cobos Álvarez
d02c5b0281
style: Don't incorrectly clamp values in calc that might not be only lengths.
...
Expressions with percentages may be negative or positive at computed value time.
So, we can only clamp lengths at computed value time, which is what the other
browsers do.
2016-09-01 23:39:40 -07:00
Ms2ger
cbfe77cee1
Move some unit type definitions to style_traits.
2016-07-11 12:14:27 +02:00
Simon Sapin
3822bb269c
Change style_traits to a single "servo" Cargo feature
...
... instead of fine-grained heap_size and serde-serialization ones.
2016-06-22 15:48:52 +02:00
Simon Sapin
ea73c8efac
Make it possible to build the style_traits crate with a stable compiler.
...
Testing this on CI to make sure we don’t regress it is blocked on #11806
2016-06-22 15:40:53 +02:00
Anthony Ramine
290694b27e
Move util::cursor to style_traits
2016-02-16 00:50:01 +01:00
Anthony Ramine
cb5cd8d881
Say farewell to in-tree HeapSizeOf
2016-02-04 22:03:32 +01:00
GauriGNaik
fc81276c8e
Add pipeline information to CSS error reporting.
2015-12-14 11:18:30 -05:00
GauriGNaik
996e9e06b2
Defined new trait ParseErrorReporter and added error_reporter member to ParserContext
2015-11-25 18:28:30 -05:00
Ravi Shankar
889eec364b
sorted the extern crate, mod & use declarations
2015-09-24 02:12:45 +05:30
Jack Moffitt
71c3c9a1ba
Fix some build warnings
2015-09-09 12:44:18 -06:00
João Oliveira
4a305d1e62
Add style_traits crate to improve crate separation,
...
closes #7353
2015-09-04 12:59:37 +01:00