mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
Implement ToCss for str and String
This commit is contained in:
parent
12dca42dd7
commit
c8c6f3482f
12 changed files with 40 additions and 75 deletions
|
@ -250,7 +250,6 @@
|
|||
spec="https://drafts.csswg.org/css-grid/#propdef-grid-template"
|
||||
disable_when_testing="True"
|
||||
products="gecko">
|
||||
use cssparser::serialize_string;
|
||||
use parser::Parse;
|
||||
use properties::longhands::grid_template_rows;
|
||||
use properties::longhands::grid_template_areas::TemplateAreas;
|
||||
|
@ -370,7 +369,7 @@
|
|||
concat_serialize_idents("[", "] ", names, " ", dest)?;
|
||||
}
|
||||
|
||||
serialize_string(string, dest)?;
|
||||
string.to_css(dest)?;
|
||||
dest.write_str(" ")?;
|
||||
size.to_css(dest)?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue