mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Auto merge of #12813 - emilio:hit-test, r=notriddle
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 -->
This commit is contained in:
commit
4cefbcc949
4 changed files with 56 additions and 6 deletions
|
@ -6660,6 +6660,12 @@
|
|||
"url": "/_mozilla/mozilla/global.html"
|
||||
}
|
||||
],
|
||||
"mozilla/hit_test_pos_fixed.html": [
|
||||
{
|
||||
"path": "mozilla/hit_test_pos_fixed.html",
|
||||
"url": "/_mozilla/mozilla/hit_test_pos_fixed.html"
|
||||
}
|
||||
],
|
||||
"mozilla/htmlcollection.html": [
|
||||
{
|
||||
"path": "mozilla/htmlcollection.html",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue