-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
In the WPT, there's a test for parsing hwb(120 30% 50%) which says it should return rgb(77, 128, 77).
Instead, it returns rgb(76, 128, 76) using this code:
let check_color = parse_color(check).unwrap().to_alpha_color::<Srgb>().to_rgba8();
let result_color = parse_color(result).unwrap().to_alpha_color::<Srgb>().to_rgba8();
assert_eq!(check_color, result_color);
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working