Unify specified Color type between Stylo and Servo.

This commit is contained in:
Xidorn Quan 2017-06-08 10:42:24 +10:00
parent f3610d2724
commit d0d170767d
5 changed files with 82 additions and 96 deletions

View file

@ -2,10 +2,10 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use cssparser::{Color, RGBA};
use cssparser::RGBA;
use parsing::parse;
use style::values::{Auto, Either};
use style::values::specified::CSSColor;
use style::values::specified::{CSSColor, Color};
use style_traits::ToCss;
#[test]