diff options
Diffstat (limited to 'components/style/selector_matching.rs')
-rw-r--r-- | components/style/selector_matching.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/style/selector_matching.rs b/components/style/selector_matching.rs index b1fbd5042e8..12df5e2f35c 100644 --- a/components/style/selector_matching.rs +++ b/components/style/selector_matching.rs @@ -802,8 +802,8 @@ pub fn common_style_affecting_attributes() -> [CommonStyleAffectingAttributeInfo /// Attributes that, if present, disable style sharing. All legacy HTML attributes must be in /// either this list or `common_style_affecting_attributes`. See the comment in /// `synthesize_presentational_hints_for_legacy_attributes`. -pub fn rare_style_affecting_attributes() -> [Atom, ..1] { - [ atom!("border") ] +pub fn rare_style_affecting_attributes() -> [Atom, ..2] { + [ atom!("bgcolor"), atom!("border") ] } /// Determines whether the given element matches the given single selector. |