Manish Goregaokar
7138ad7d7e
Bug 1300731 - stylo: Implement mask-image; r?heycam
2016-09-10 15:27:45 +08:00
UK992
93a103ba73
Reorder use
statements
2016-09-09 04:55:19 +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
Emilio Cobos Álvarez
2617d15ed6
style: Properly track whether negative values of calc() are allowed
...
In order to clamp them at computed value time.
2016-08-30 19:17:16 -07:00
Emilio Cobos Álvarez
be7a44315d
style: Allow calc in media queries.
2016-08-30 13:48:55 -07:00
bors-servo
609d47b44f
Auto merge of #12878 - Manishearth:clip-path, r=heycam
...
stylo: Support clip-path
Todo:
- [x] `set_clip_path` (probably needs a bunch of gecko bindings for running constructors/destructors)
- [ ] Ensure that I've ordered the coordinates correctly
- [ ] Check that it works
- [x] Might want to convert NS_STYLE_FILL_RULE and NS_RADIUS to enum classes
Depends on:
- https://github.com/servo/rust-bindgen/pull/29
- https://github.com/Manishearth/gecko-dev/compare/servo:stylo...Manishearth:clip-path
<!-- 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/12878 )
<!-- Reviewable:end -->
2016-08-19 14:24:08 -05:00
Manish Goregaokar
3895b7118e
Handle clip-path in stylo
2016-08-19 23:36:37 +05:30
Manish Goregaokar
254900bd1a
Add ShapeSource to basic-shape values
2016-08-18 11:38:33 +05:30
David Raifaizen
3831c0650c
Adding support for correct shorthand serialization
2016-08-16 22:28:51 -04:00
Ravi Shankar
a04028eede
Prefer length and percentage for word spacing
2016-08-09 17:53:40 +05:30
Manish Goregaokar
234219cd84
Address review comments
2016-08-05 16:58:38 +05:30
Manish Goregaokar
1e7973263f
Fix tidy
2016-08-02 15:57:30 +05:30
Manish Goregaokar
eb82cc25ef
Add Polygon to basic_shape.rs
2016-08-02 15:57:28 +05:30
Manish Goregaokar
78ce65d5a8
Add Ellipse to basic_shape.rs
2016-08-02 15:57:27 +05:30
Manish Goregaokar
77f345476f
Add Circle to basic_shape.rs
2016-08-02 15:57:25 +05:30
Manish Goregaokar
44e33bcdc5
Move Position into its own values module
2016-08-02 15:57:23 +05:30
Manish Goregaokar
88c1a67d89
Add ShapeRadius to basic_shape.rs
2016-08-02 15:57:22 +05:30
Manish Goregaokar
2580c1dc6e
Add InsetRect, move BorderRadius to basic_shape.rs
2016-08-02 15:57:20 +05:30
Manish Goregaokar
149246e96a
style: Split values.rs into specified/computed module files
2016-07-29 18:43:42 +05:30