Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upstyle: Unbox a bunch of color properties. #15518
Conversation
highfive
commented
Feb 12, 2017
|
Heads up! This PR modifies the following files:
|
|
r? @SimonSapin |
|
@bors-servo try |
style: Unbox a bunch of color properties. This builds on servo/rust-cssparser#118. <!-- 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/15518) <!-- Reviewable:end -->
|
|
|
@bors-servo try |
style: Unbox a bunch of color properties. This builds on servo/rust-cssparser#118. <!-- 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/15518) <!-- Reviewable:end -->
|
|
|
The linux builder suddenly does not like osmesa, apparently :< |
|
@bors-servo try |
style: Unbox a bunch of color properties. This builds on servo/rust-cssparser#118. <!-- 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/15518) <!-- Reviewable:end -->
|
|
|
@bors-servo try |
|
Ouch, these are legit, even though I believe we should be using the stored value? huh.
|
|
Of course those properties still use |
|
Hhmm... Or maybe I'm wrong, huh |
|
The reason this works in Gecko: http://searchfox.org/mozilla-central/source/layout/style/nsStyleUtil.cpp#702 |
|
@SimonSapin, Gecko rounds |
|
Interesting. I do think we should copy Gecko’s behavior of rounding to 2 decimal digits if that round-trips to the same |
|
To be clear, the above is only for serialization, not for gfx APIs that use floats. |
|
Sure, makes sense |
|
@bors-servo try |
|
@bors-servo try |
style: Unbox a bunch of color properties. This builds on servo/rust-cssparser#118. <!-- 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/15518) <!-- Reviewable:end -->
|
|
|
|
That is #14323, the rest seems green |
This builds on servo/rust-cssparser#118.
|
@bors-servo r+ Reviewed 19 of 19 files at r4. Comments from Reviewable |
|
|
style: Unbox a bunch of color properties. This builds on servo/rust-cssparser#118. <!-- 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/15518) <!-- Reviewable:end -->
|
|
emilio commentedFeb 12, 2017
•
edited by larsbergstrom
This builds on servo/rust-cssparser#118.
This change is