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