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
Implement 'labels' attribute on 'labelable elements' #7965
Implement 'labels' attribute on 'labelable elements' #7965
Conversation
frewsxcv
commented
Oct 11, 2015
1028cc2
to
a8e512e
Compare
@nox could you review this? |
-S-awaiting-review +S-awaiting-answer +S-needs-code-changes Reviewed 20 of 20 files at r1, 1 of 1 files at r2. components/script/dom/element.rs, line 1862 [r1] (raw file): components/script/dom/element.rs, line 1875 [r1] (raw file):
components/script/dom/element.rs, line 1855 [r2] (raw file): If traits are the way to go, we should file a follow-up to rewrite Comments from the review on Reviewable.io |
Review status: all files reviewed at latest revision, 3 unresolved discussions, all commit checks successful. components/script/dom/element.rs, line 1855 [r2] (raw file): Comments from the review on Reviewable.io |
☔ The latest upstream changes (presumably #7984) made this pull request unmergeable. Please resolve the merge conflicts. |
components/script/dom/element.rs, line 1855 [r2] (raw file): I'll definitely change it, but is there any reason not to? Extra unnecessary complexity? Seems like an easy way to isolate methods to certain Element types Comments from the review on Reviewable.io |
a8e512e
to
dbfa850
Compare
fe77572
to
4b45f97
Compare
Addressed all the comments. Let me know how this looks. |
I just noticed that some of this code will overlap with a couple of the methods on https://html.spec.whatwg.org/multipage/forms.html#htmllabelelement |
-S-awaiting-review +S-needs-code-changes +S-awaiting-answer Reviewed 12 of 12 files at r3. components/script/dom/htmlelement.rs, line 321 [r3] (raw file): components/script/dom/htmlelement.rs, line 347 [r3] (raw file): components/script/dom/htmlinputelement.rs, line 344 [r3] (raw file): Comments from the review on Reviewable.io |
components/script/dom/htmlelement.rs, line 347 [r3] (raw file): Comments from the review on Reviewable.io |
☔ The latest upstream changes (presumably #8178) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors-servo try |
…<try> Implement 'labels' attribute on 'labelable elements' <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7965) <!-- Reviewable:end -->
💔 Test failed - mac-rel-wpt |
☔ The latest upstream changes (presumably #8162) made this pull request unmergeable. Please resolve the merge conflicts. |
0e8fd65
to
4de1169
Compare
Rebased |
Just one nit and we are done. -S-awaiting-review +S-needs-code-changes Reviewed 8 of 8 files at r4, 8 of 8 files at r5. components/script/dom/htmlinputelement.rs, line 344 [r3] (raw file): Comments from the review on Reviewable.io |
4de1169
to
9df3751
Compare
Comment has been addressed |
@bors-servo r+ Reviewed 2 of 2 files at r6. Comments from the review on Reviewable.io |
📌 Commit 9df3751 has been approved by |
Implement 'labels' attribute on 'labelable elements' <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7965) <!-- Reviewable:end -->
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |