Repository navigation
Fix #7268 - getComputedStyle should take Element, not HTMLElement - #7288
Conversation
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @pcwalton (or someone else) soon. |
|
Thank you for your PR. I have just a few comments below. -S-awaiting-review +S-needs-code-changes Reviewed 4 of 8 files at r1, 1 of 1 files at r2. components/script/dom/htmlelement.rs, line 139 [r2] (raw file): components/script/dom/webidls/Window.webidl, line 100 [r2] (raw file): tests/wpt/mozilla/tests/css/computedstyle_on_element.html, line 13 [r2] (raw file): Comments from the review on Reviewable.io |
|
Reviewed 1 of 8 files at r1, 5 of 5 files at r3. tests/wpt/mozilla/tests/mozilla/element_getcomputedstyle.html, line 1 [r3] (raw file): <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>(You'll need to regenerate the manifest again.) Comments from the review on Reviewable.io |
|
Looking good! All you'll need to do now is squash the four commits into one, and update the commit message to include "fixes #7268" (literally, so github picks it up when we merge). -S-awaiting-review +S-needs-squash Reviewed 2 of 2 files at r4. Comments from the review on Reviewable.io |
|
I'm not sure if I have done it correctly, do I have to create another pull request with only one commit? Like this: https://github.com/mdibaiee/servo/tree/computedstyle |
|
You can delete your |
207a428 to
8a3775b
Compare
|
@Ms2ger Oh right, done. |
There was a problem hiding this comment.
I'm afraid we introduced a new lint about sorting use statements that decided to bite you; sorry about that. Merging those two use lines should make it happy.
8a3775b to
b7d2515
Compare
|
@Ms2ger: Right, that's fixed now! Thanks for reviewing my PR. |
|
Thank you! @bors-servo r+ |
|
📌 Commit b7d2515 has been approved by |
Fix #7268 - getComputedStyle should take `Element`, not `HTMLElement` This is my first patch, I hope I'm doing it right. About the test, do you think this is enough and reliable? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7288) <!-- Reviewable:end -->
|
💔 Test failed - linux2 |
|
💔 Test failed - linux2 |
Fix #7268 - getComputedStyle should take `Element`, not `HTMLElement` This is my first patch, I hope I'm doing it right. About the test, do you think this is enough and reliable? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7288) <!-- Reviewable:end -->
This is my first patch, I hope I'm doing it right.
About the test, do you think this is enough and reliable?