Skip to content
Prev Previous commit
Next Next commit
Update comment
  • Loading branch information
thecrypticace committed Nov 13, 2025
commit defb469aecdbd6ae1489808494576ff76b349f8f
4 changes: 2 additions & 2 deletions crates/oxide/src/extractor/arbitrary_property_machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ impl Machine for ArbitraryPropertyMachine<ParsingValueState> {
return self.restart()
}

// An `!` at the top-level must be followed by "important" *and* be at the end
// otherwise its invalid
// An `!` at the top-level is invalid. We don't allow things to end with
// `!important` either as we have dedicated syntax for this.
Class::Exclamation if self.bracket_stack.is_empty() => {
return self.restart();
}
Expand Down