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 upImplement and test DOMTokenList.replace (fixes #8511) #9353
Conversation
|
This is a WIP: |
|
I know it's a WIP, but a couple suggestions if you weren't already going to do them:
|
|
There is no run_update_steps because the associated attribute's value is actually the only storage for their list of tokens. We already do this. |
|
|
|
@nox What's the status here? Is this still classified a WIP and needs more work, or should @asajeffrey be reviewing it? |
|
I'll look at it tonight or tomorrow while rebasing it. |
|
I've been holding off while it has conflicts, let me know when you're ready. |
|
@asajeffrey This is ok to go. |
|
Mostly this looks fine, there's a spec issue plus a couple of extra tests I think we should add, but otherwise cool Reviewed 4 of 4 files at r1. components/script/dom/domtokenlist.rs, line 135 [r1] (raw file): tests/wpt/web-platform-tests/dom/nodes/Element-classlist.html, line 84 [r1] (raw file):
tests/wpt/web-platform-tests/dom/nodes/Element-classlist.html, line 263 [r1] (raw file):
Comments from the review on Reviewable.io |
|
I think |
|
That's an other kind of SyntaxError |
|
|
|
@nox: is this PR still open? |
|
It is still open, still blocked, still didn't address it, I'll try to do it soon. |
|
@asajeffrey Ready to go. |
|
Okay, I'll take a look later today. |
|
Reviewed 4 of 4 files at r2. components/script/dom/domtokenlist.rs, line 142 [r2] (raw file): Comments from the review on Reviewable.io |
|
Done. r? Review status: 3 of 4 files reviewed at latest revision, 4 unresolved discussions. components/script/dom/domtokenlist.rs, line 135 [r1] (raw file): components/script/dom/domtokenlist.rs, line 142 [r2] (raw file): tests/wpt/web-platform-tests/dom/nodes/Element-classlist.html, line 84 [r1] (raw file): tests/wpt/web-platform-tests/dom/nodes/Element-classlist.html, line 263 [r1] (raw file): Comments from the review on Reviewable.io |
|
Reviewed 1 of 1 files at r3. Comments from the review on Reviewable.io |
|
@bors-servo r+ |
|
|
Implement and test DOMTokenList.replace (fixes #8511) Thanks to @sankha93 for the original work in #8525. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9353) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
|
|
|
|
nox commentedJan 17, 2016
Thanks to @sankha93 for the original work in #8525.