-
Notifications
You must be signed in to change notification settings - Fork 136
Modernize the ToCss trait and implement it on more things. #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Conflicts: Cargo.toml src/color.rs src/serializer.rs
The branch starts from an older commit that compiles with Servo’s version of Rust. servo/servo#4455 updates to just before the merge commit. r? @jdm |
I read the end result, and it makes sense to me. Do we care about newlines or spaces between declarations or anything like that? |
Not really. I’ve implemented |
Ok, feel free to merge this whenever you'd like. |
I’ll do so when servo/servo#4455 is ready to be merged as well. |
Modernize the ToCss trait and implement it on more things.
…serialization (from servo:to_css); r=jdm See servo/rust-cssparser#67 and servo/servo#4440. r? @jdm Source-Repo: https://github.com/servo/servo Source-Revision: b3059ee85b71b067e4b9e337faef53ae4a96c66d
…serialization (from servo:to_css); r=jdm See servo/rust-cssparser#67 and servo/servo#4440. r? jdm Source-Repo: https://github.com/servo/servo Source-Revision: b3059ee85b71b067e4b9e337faef53ae4a96c66d UltraBlame original commit: 445d2613a14ce5e1b73ec572f59caa6683742838
…serialization (from servo:to_css); r=jdm See servo/rust-cssparser#67 and servo/servo#4440. r? jdm Source-Repo: https://github.com/servo/servo Source-Revision: b3059ee85b71b067e4b9e337faef53ae4a96c66d UltraBlame original commit: 445d2613a14ce5e1b73ec572f59caa6683742838
…serialization (from servo:to_css); r=jdm See servo/rust-cssparser#67 and servo/servo#4440. r? jdm Source-Repo: https://github.com/servo/servo Source-Revision: b3059ee85b71b067e4b9e337faef53ae4a96c66d UltraBlame original commit: 445d2613a14ce5e1b73ec572f59caa6683742838
It is now based on the
TextWriter
trait: https://github.com/SimonSapin/rust-std-candidates#the-textwriter-traitIt should be used for CSS serialization instead of
Show
.