mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove trailing space in CSSStyleSheet::AddRule() (#36383)
-Remove trailing space in CSSStyleSheet::AddRule() Testing: The change made does not require testing Fixes: https://github.com/servo/servo/issues/36380 Signed-off-by: Uthman Yahaya Baba <uthmanyahayababa@gmail.com>
This commit is contained in:
parent
3242592f34
commit
8c6dc3fee1
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ impl CSSStyleSheetMethods<crate::DomTypeHolder> for CSSStyleSheet {
|
|||
} else {
|
||||
rule.push_str(" { ");
|
||||
rule.push_str(block.str());
|
||||
rule.push_str(" } ");
|
||||
rule.push_str(" }");
|
||||
};
|
||||
|
||||
// > 6. Let *index* be *optionalIndex* if provided, or the number of CSS rules in the stylesheet otherwise.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue