Don't require style structs to implement PartialEq.

It turns out this isn't necessary, and requiring it for gecko style structs
would be a pain.
This commit is contained in:
Bobby Holley 2016-03-28 22:46:47 -07:00
parent 4d2cf9e277
commit a7447aaf74

View file

@ -6066,7 +6066,7 @@ pub mod style_struct_traits {
use super::longhands;
% for style_struct in STYLE_STRUCTS:
pub trait T${style_struct.name}: Clone + PartialEq {
pub trait T${style_struct.name}: Clone {
% for longhand in style_struct.longhands:
#[allow(non_snake_case)]
fn set_${longhand.ident}(&mut self, v: longhands::${longhand.ident}::computed_value::T);