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 upImplementing getAttributeNode() and similar methods. #8068
Conversation
|
These should return attributes ( |
| @@ -37,6 +37,10 @@ interface Element : Node { | |||
| DOMString? getAttribute(DOMString name); | |||
| [Pure] | |||
| DOMString? getAttributeNS(DOMString? namespace, DOMString localName); | |||
| [Pure] | |||
| DOMString? getAttributeNode(DOMString name); | |||
This comment has been minimized.
This comment has been minimized.
Manishearth
Oct 18, 2015
Member
This is incorrect, see https://dom.spec.whatwg.org/#element
Attr? getAttributeNode(DOMString name);
Attr? getAttributeNodeNS(DOMString? namespace, DOMString localName);
|
@Manishearth Hope it is better now |
|
Looks good to me. You need to update the test expectations like you did in #8038 (Also, squash the commits when done. |
|
@Manishearth Well I am having issues with changing these Had to do a manual update like in #8038 , so I might have removed some extra test expectations. Did the squashing. Will use |
2552a76
to
6a84d0e
|
You seem to have done the checkout under the wrong user, perhaps? |
|
(Also, the r=manishearth isn't necessary) |
|
@bors-servo r+ |
|
|
Implementing getAttributeNode() and similar methods Attempting to solve #8066 Does it look good so far @Manishearth ? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8068) <!-- Reviewable:end -->
|
@Manishearth sorry, didn't get what you meant by "checkout under the wrong user". |
|
yeah; you shouldn't have done that Try |
|
|
You'll need to update those expectations; see |
|
You can use the log from http://build.servo.org/builders/linux-rel/builds/569/steps/shell_1/logs/test-wpt.log to update. |
6a84d0e
to
3971b8c
|
@Manishearth |
|
@bors-servo r+ |
|
|
|
@Manishearth What instructions am I allowed to give @bors-servo ? |
|
None of them bors only listens to reviewers. This might change in the future. |
Implementing getAttributeNode() and similar methods Attempting to solve #8066 Does it look good so far @Manishearth ? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8068) <!-- Reviewable:end -->
|
|
|
@bors-servo retry #7870 |
|
|
|
|
|
Resolves #8066 |
This commit implements setAttributeNode and setAttributeNodeNS, as described here: https://dom.spec.whatwg.org/#dom-element-setattributenode. See also servo#8068.
This commit implement removeAttributeNode, as described here: https://dom.spec.whatwg.org/#dom-element-removeattributenode See also servo#8724 and servo#8068.
This commit implement removeAttributeNode, as described here: https://dom.spec.whatwg.org/#dom-element-removeattributenode See also servo#8724 and servo#8068.
martiansideofthemoon commentedOct 18, 2015
Attempting to solve #8066 Does it look good so far @Manishearth ?