mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Unify specified Color type between Stylo and Servo.
This commit is contained in:
parent
f3610d2724
commit
d0d170767d
5 changed files with 82 additions and 96 deletions
|
@ -160,7 +160,7 @@ fn test_parse_stylesheet() {
|
|||
(PropertyDeclaration::BackgroundColor(
|
||||
longhands::background_color::SpecifiedValue {
|
||||
authored: Some("blue".to_owned().into_boxed_str()),
|
||||
parsed: cssparser::Color::RGBA(cssparser::RGBA::new(0, 0, 255, 255)),
|
||||
parsed: cssparser::RGBA::new(0, 0, 255, 255).into(),
|
||||
}
|
||||
),
|
||||
Importance::Normal),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue