Skip to content
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

dom: getElementsFromPoint does the hit testing on viewport coordinates. #12813

Merged
merged 1 commit into from Aug 12, 2016

Conversation

@emilio
Copy link
Member

emilio commented Aug 11, 2016


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • There are tests for these changes OR

We got this wrong (I think it wasn't my fault actually), I was just writing a test for #12777 when I found this.


This change is Reviewable

@highfive
Copy link

highfive commented Aug 11, 2016

Heads up! This PR modifies the following files:

  • @KiChjang: components/script/dom/document.rs
@emilio
Copy link
Member Author

emilio commented Aug 11, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Aug 11, 2016

Trying commit db3e9f1 with merge 94b0df6...

bors-servo added a commit that referenced this pull request Aug 11, 2016
dom: getElementsFromPoint does the hit testing on viewport coordinates.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

We got this wrong (I think it wasn't my fault actually), I was just writing a test for #12777 when I found this.
@notriddle
Copy link
Contributor

notriddle commented Aug 11, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Aug 11, 2016

📌 Commit db3e9f1 has been approved by notriddle

@bors-servo
Copy link
Contributor

bors-servo commented Aug 11, 2016

💔 Test failed - linux-rel

@notriddle
Copy link
Contributor

notriddle commented Aug 11, 2016

@emilio emilio force-pushed the emilio:hit-test branch from db3e9f1 to ffe656c Aug 11, 2016
We got this wrong, I was just writing a test for #12777 when I found this.
@emilio emilio force-pushed the emilio:hit-test branch from ffe656c to f9c0f2d Aug 11, 2016
@emilio
Copy link
Member Author

emilio commented Aug 11, 2016

@bors-servo: r=notriddle

  • I had mistyped the vh unit. The test worked fine because of the fallback. Correcting it shows another issue (I'll fill an issue about that now), so I left the vh declaration commented.
@bors-servo
Copy link
Contributor

bors-servo commented Aug 11, 2016

📌 Commit f9c0f2d has been approved by notriddle

@bors-servo
Copy link
Contributor

bors-servo commented Aug 11, 2016

Testing commit f9c0f2d with merge 324c5c2...

bors-servo added a commit that referenced this pull request Aug 11, 2016
dom: getElementsFromPoint does the hit testing on viewport coordinates.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

We got this wrong (I think it wasn't my fault actually), I was just writing a test for #12777 when I found this.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12813)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 11, 2016

💔 Test failed - linux-rel

@highfive
Copy link

highfive commented Aug 11, 2016

  ▶ FAIL [expected PASS] /css-transforms-1_dev/html/transform-abspos-007.htm
  └   → /css-transforms-1_dev/html/transform-abspos-007.htm 71f0313eedfbfcce0b0fcc5ae55f34b1daa3b8d8
/css-transforms-1_dev/html/reference/transform-abspos-ref.htm 78d197606924062e8dd2a773c977afcecf8940f8
Testing 71f0313eedfbfcce0b0fcc5ae55f34b1daa3b8d8 == 78d197606924062e8dd2a773c977afcecf8940f8
@emilio
Copy link
Member Author

emilio commented Aug 11, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Aug 11, 2016

Testing commit f9c0f2d with merge 4cefbcc...

bors-servo added a commit that referenced this pull request Aug 11, 2016
dom: getElementsFromPoint does the hit testing on viewport coordinates.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

We got this wrong (I think it wasn't my fault actually), I was just writing a test for #12777 when I found this.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12813)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 11, 2016

💔 Test failed - linux-rel

@highfive
Copy link

highfive commented Aug 11, 2016

  ▶ FAIL [expected PASS] /css-transforms-1_dev/html/transform-table-007.htm
  └   → /css-transforms-1_dev/html/transform-table-007.htm a5c014b20ef1363bea6f24eda28c7efb7c45698a
/css-transforms-1_dev/html/reference/transform-blank-ref.htm fa6407b1acbbfea27e27061e7d1bdeca98e4a728
Testing a5c014b20ef1363bea6f24eda28c7efb7c45698a == fa6407b1acbbfea27e27061e7d1bdeca98e4a728
@emilio
Copy link
Member Author

emilio commented Aug 11, 2016

@bors-servo: retry

@bors-servo
Copy link
Contributor

bors-servo commented Aug 11, 2016

Previous build results for arm32, arm64, linux-dev, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows-dev are reusable. Rebuilding only linux-rel...

@bors-servo
Copy link
Contributor

bors-servo commented Aug 12, 2016

@bors-servo bors-servo merged commit f9c0f2d into servo:master Aug 12, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@emilio emilio deleted the emilio:hit-test branch Aug 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.