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 'labels' attribute on 'labelable elements' #7965
Conversation
1028cc2
to
a8e512e
|
@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 |
|
|
|
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
fe77572
to
4b45f97
|
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 |
|
|
|
@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 -->
|
|
|
|
0e8fd65
to
4de1169
|
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
|
Comment has been addressed |
|
@bors-servo r+ Reviewed 2 of 2 files at r6. Comments from the review on Reviewable.io |
|
|
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 -->
|
|
frewsxcv commentedOct 11, 2015