Skip to content

Commit c134501

Browse files
uthmanivTG199
authored andcommitted
Remove trailing space in CSSStyleSheet::AddRule() (servo#36383)
-Remove trailing space in CSSStyleSheet::AddRule() Testing: The change made does not require testing Fixes: servo#36380 Signed-off-by: Uthman Yahaya Baba <[email protected]>
1 parent 83ecc92 commit c134501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/script/dom/cssstylesheet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl CSSStyleSheetMethods<crate::DomTypeHolder> for CSSStyleSheet {
181181
} else {
182182
rule.push_str(" { ");
183183
rule.push_str(block.str());
184-
rule.push_str(" } ");
184+
rule.push_str(" }");
185185
};
186186

187187
// > 6. Let *index* be *optionalIndex* if provided, or the number of CSS rules in the stylesheet otherwise.

0 commit comments

Comments
 (0)