Skip to content

Commit

Permalink
legacy_ie
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 27, 2023
1 parent 3a467d5 commit 00875cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/swc_css_parser/src/parser/values_and_units/mod.rs
Expand Up @@ -1704,7 +1704,7 @@ where
let value = match self.try_parse(|p| p.parse_generic_value()) {
Some(v) => v,
None => {
if is_one_of!(self, ";", ":", "=") {
if is_one_of!(self, ";", ":") || (self.config.legacy_ie && is!(self, "=")) {
let tok = self.input.bump().unwrap();

ComponentValue::PreservedToken(Box::new(tok))
Expand Down

0 comments on commit 00875cc

Please sign in to comment.