Skip to content

Commit

Permalink
refactor: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Dec 19, 2022
1 parent 55d7ed5 commit ec6add0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/swc_css_prefixer/src/prefixer.rs
Expand Up @@ -3184,8 +3184,6 @@ impl VisitMut for Prefixer {
add_declaration!(Prefix::O, "-o-object-position", None);
}

"overflow-wrap" => {
add_declaration!("word-wrap", None);
"overflow" if should_prefix("overflow", self.env, false) && n.value.len() == 2 => {
if let (
Some(left @ ComponentValue::Ident(box first)),
Expand All @@ -3201,6 +3199,10 @@ impl VisitMut for Prefixer {
}
}

"overflow-wrap" => {
add_declaration!("word-wrap", None);
}

"tab-size" => {
add_declaration!(Prefix::Moz, "-moz-tab-size", None);
add_declaration!(Prefix::O, "-o-tab-size", None);
Expand Down

0 comments on commit ec6add0

Please sign in to comment.