Repository navigation
Join tokens when stringifying DOMTokenList - #6555
Conversation
frewsxcv
commented
Jul 5, 2015
|
Critic review: https://critic.hoppipolla.co.uk/r/5467 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
160c61e to
ff2a3b9
Compare
|
See individual commit descriptions for more information |
|
Related to #1717 |
|
@bors-servo r+ |
|
📌 Commit ff2a3b9 has been approved by |
Join tokens when stringifying DOMTokenList <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6555) <!-- Reviewable:end -->
|
💔 Test failed - mac1 |
|
Both commits have the same issue: they return strings with a leading space. |
|
Ah, you're right, I'll fix it |
ff2a3b9 to
6b9c1d9
Compare
|
Fixed in the latest force push |
|
Can we share the code too? |
Is there a better place to put it than |
|
Mm, that sucks. A better solution would be to make |
Implement AsRef<str> for Atom servo/servo#6555 (comment)
Previous, it would return the original String straight from the AttrValue, which might contain extraaneous whitespace. The spec specifies to just join the tokens together with \x20 https://dom.spec.whatwg.org/#stringification-behavior
6b9c1d9 to
7159fe7
Compare
|
Force pushed with the changes requested |
|
@bors-servo r+ |
|
📌 Commit 7159fe7 has been approved by |
Join tokens when stringifying DOMTokenList <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6555) <!-- Reviewable:end -->
Implement AsRef<str> for Atom servo/servo#6555 (comment)