Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upModernize the ToCss trait and implement it on more things. #67
Conversation
|
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.
See servo/rust-cssparser#67 and #4440. r? @jdm
See servo/rust-cssparser#67 and #4440. r? @jdm
See servo/rust-cssparser#67 and #4440. r? @jdm
…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
SimonSapin commentedDec 21, 2014
It is now based on the
TextWritertrait: https://github.com/SimonSapin/rust-std-candidates#the-textwriter-traitIt should be used for CSS serialization instead of
Show.