Skip to content

Commit

Permalink
style: Fix serialization of explicitly case-sensitive attr selectors …
Browse files Browse the repository at this point in the history
…with a namespace.

Differential Revision: https://phabricator.services.mozilla.com/D14493
  • Loading branch information
bzbarsky authored and emilio committed Dec 16, 2018
1 parent 7f5a9e0 commit 3d78025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/selectors/parser.rs
Expand Up @@ -1302,7 +1302,7 @@ impl<Impl: SelectorImpl> ToCss for AttrSelectorWithOptionalNamespace<Impl> {
ParsedCaseSensitivity::CaseSensitive |
ParsedCaseSensitivity::AsciiCaseInsensitiveIfInHtmlElementInHtmlDocument => {},
ParsedCaseSensitivity::AsciiCaseInsensitive => dest.write_str(" i")?,
ParsedCaseSensitivity::ExplicitCaseSensitive => dest.write_str(" i")?,
ParsedCaseSensitivity::ExplicitCaseSensitive => dest.write_str(" s")?,
}
},
}
Expand Down

0 comments on commit 3d78025

Please sign in to comment.